TOP: Task-Based Operator Parallelism for Asynchronous Deep Learning Inference on GPU
IEEE Transactions on Parallel and Distributed Systems · 2025-02 · 36 (2) · 266-281
DOI: 10.1109/tpds.2024.3511543 ↗Kurz gefasst
Fachartikel in der Zeitschrift IEEE Transactions on Parallel and Distributed Systems, 2025-02. Verfasst von Changyao Lin und 3 weiteren Autor:innen. Die Arbeit wurde bisher 6-mal zitiert (Crossref) und nennt 43 Literaturangaben. Gefördert von: National Natural Science Foundation of China, Science and Technology Plan Project of Shenzhen.
Abstract (Originalsprache)
Current deep learning compilers have made significant strides in optimizing computation graphs for single- and multi-model scenarios. However, they lack specific optimizations for asynchronous multi-task inference systems. In such systems, tasks arrive dynamically, leading to diverse inference progress for each model. This renders traditional optimization strategies based solely on the original computation graph suboptimal or even invalid. Furthermore, existing operator scheduling methods do not account for parallel task pipelines involving the same model. Task pipelines present additional opportunities for optimization. Therefore, we propose Task-based Operator Parallelism (TOP). TOP incorporates an understanding of the impact of task arrival patterns on the inference progress of each model. It leverages the multi-agent reinforcement learning algorithm MADDPG to cooperatively optimize the task launcher and model scheduler, generating an optimal pair of dequeue frequency and computation graph. The objective of TOP is to enhance resource utilization, increase throughput, and allocate resources judiciously to prevent task backlog. To expedite the optimization process in TOP, we introduce a novel stage partition method using the GNN-based Policy Gradient (GPG) algorithm. Through extensive experiments on various devices, we demonstrate the efficacy of TOP. It outperforms the state-of-the-art in operator scheduling for both single- and multi-model task processing scenarios. Benefiting from TOP, we can significantly enhance the throughput of a single model by increasing its concurrency or batch size, thereby achieving self-acceleration.
Förderung
- National Natural Science Foundation of China
- Science and Technology Plan Project of Shenzhen
Zitieren
APA
Lin, C., Chen, Z., Zhang, Z., & Liu, J. (2025). TOP: Task-Based Operator Parallelism for Asynchronous Deep Learning Inference on GPU. IEEE Transactions on Parallel and Distributed Systems, 36(2), 266-281. https://doi.org/10.1109/tpds.2024.3511543
Vancouver
Lin C, Chen Z, Zhang Z, Liu J. TOP: Task-Based Operator Parallelism for Asynchronous Deep Learning Inference on GPU. IEEE Transactions on Parallel and Distributed Systems. 2025;36(2):266-281. doi:10.1109/tpds.2024.3511543
BibTeX
@article{Lin2025,
author = {Lin, Changyao and Chen, Zhenming and Zhang, Ziyang and Liu, Jie},
title = {TOP: Task-Based Operator Parallelism for Asynchronous Deep Learning Inference on GPU},
journal = {IEEE Transactions on Parallel and Distributed Systems},
year = {2025},
volume = {36},
number = {2},
pages = {266--281},
doi = {10.1109/tpds.2024.3511543}
}
EUVIMED