A Thread-level Stream Scheduling Method for Accelerating LVMs' Inference on a Resource-constrained Platform
As a new generation of edge devices, the integrated CPU/GPU architecture has opened up new opportunities for deploying different scale vision models. In order to reduce models’ inference time on the integrated devices, this paper first compresses deep learning models using model quantization. The quantization process greatly reduces the computation requirements of a model, which enables its deployment on embedded development boards. However, quantization also leads to lower GPU resource utilization during inference on integrated devices. This insufficient utilization results in slower inference speed. To address this problem, this paper first depicts the data flow of model inference within an integrated device. Secondly, this paper implements a unified memory management between the CPU and GPU based on managed memory strategy. Finally, this paper designs a thread-level stream scheduling method to improve GPU utilization and throughput during model inference in a pipeline way. Experimental results show that the proposed method achieves a 2x-10x improvement in throughput compared to the TensorRT’s default scheduling method, which is crucial for realizing real-time inference tasks on edge devices.
Authors
- Rongyu Dou
- Jiaqi Han
- Z. Q. Hu (ORCID: https://orcid.org/0009-0007-1683-1676)
- Keqin Li (ORCID: https://orcid.org/0000-0001-5224-4048)
- Bin Liu (ORCID: https://orcid.org/0000-0001-9388-0198)
- Yijie Chen (ORCID: https://orcid.org/0000-0003-4791-9762)
- Xuannan Zhang (ORCID: https://orcid.org/0009-0009-1321-7288)
Institutions
- SUNY New Paltz (US)
- Northwest A&F University (CN)
Publication Details
- Journal
- ACM Transactions on Embedded Computing Systems
- Published
- 2025-10-09
- DOI
- https://doi.org/10.1145/3771550
- Primary Topic
- Scheduling and Optimization Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00