arrow
返回

TOP: Task-Based Operator Parallelism for Asynchronous Deep Learning Inference on GPU

delete2025-02-01
delete0
PRE
AI
C
Changyao Lin
陈振明 封面图
陈振明 (Zhenming Chen)
Z
Ziyang Zhang
刘
刘洁 (Jie Liu) *
DOI:10.1109/TPDS.2024.3511543delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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.
Keyword:
Computational modeling
Processor scheduling
Optimization
Parallel processing
Hardware
Graphics processing units
Deep learning
Schedules
Multitasking
Artificial intelligence
Multi-task inference
operator scheduling
reinforcement learning

期刊

IEEE Transactions on Parallel and Distributed Systems 封面图
IEEE Transactions on Parallel and Distributed Systems
IF:
6
论文数:
5.2K
被引数:
1.1W

机构

暂无机构信息
引用论文

引用论文

Major Adverse Limb Events and Mortality in Patients With Peripheral Artery Disease
err2018-05-01
err0
errOAAI
errSonia S. Anand; Francois Caron; John W. Eikelboom; Jackie Bosch; Leanne Dyal; Victor Aboyans; Maria Teresa Abola; Kelley R.H. Branch; Katalin Keltai; Deepak L. Bhatt; Peter Verhamme; Keith A.A. Fox; Nancy Cook-Bruns; Vivian Lanius; Stuart J. Connolly; Salim Yusuf
err分享
err收藏
EyeLoop: An open-source, high-speed eye-tracker designed for dynamic experiments
err
IF0
err2020-07-04
err0
errOAAI
errSimon Arvin; Rune Rasmussen; Keisuke Yonehara
err分享
err收藏
Epoxidation of olefins catalyzed by manganese(III) salen complexes grafted to porous heterostructured clays
err2011-08-01
err0
PREAI
errIwona Kuźniarska-Biernacka; Clara Pereira; Ana P. Carvalho; João Pires; Cristina Freire
err分享
err收藏
err分享
err收藏
学者 查看更多内容