arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.11096cs.DCcs.ARcs.LG
收藏

Sparse-DySta:面向稀疏多DNN工作负载的稀疏感知动态与静态调度

Sparse-DySta: Sparsity-Aware Dynamic and Static Scheduling for Sparse Multi-DNN Workloads

Samsung AI Center(三星人工智能中心);University of Cambridge(剑桥大学);Flower Labs(Flower实验室)

Hongxiang Fan, Stylianos I. Venieris, Alexandros Kouris, Nicholas D. Lane

AI总结:

本文提出Sparse-DySta,一种联合静态稀疏模式与动态稀疏信息的软硬件双层调度器,用于优化稀疏多DNN工作负载调度,在延迟和周转时间上显著优于现有方法。

摘要:

并行运行多个深度神经网络(DNN)已成为边缘设备和数据中心中新兴的工作负载,例如在手机上多个任务为单个用户的日常活动服务,以及在数据中心中处理来自数百万用户的各种请求(如大型语言模型)。为了降低这些工作负载高昂的计算和内存需求,人们引入了各种高效的稀疏化方法,导致不同类型的DNN模型中普遍存在稀疏性。在此背景下,调度稀疏多DNN工作负载的需求日益显现,而这一问题在以往文献中很大程度上未被探索。本文系统分析了多个稀疏DNN的用例,并研究了优化机会。基于这些发现,我们提出了Dysta,一种新颖的双层动态与静态调度器,它同时利用静态稀疏模式和动态稀疏信息进行稀疏多DNN调度。Dysta的静态和动态组件分别在软件和硬件层面进行联合设计,以改进和优化调度方法。为了促进此类工作负载研究的未来进展,我们构建了一个公开基准,其中包含跨越不同部署场景的稀疏多DNN工作负载,涵盖手机、AR/VR可穿戴设备以及数据中心。在稀疏多DNN基准上的综合评估表明,我们提出的方法优于现有最先进方法,延迟约束违规率降低高达10%,平均归一化周转时间减少近4倍。我们的工件和代码公开可用:https://github.com/SamsungLabs/Sparse-Multi-DNN-Scheduling。

英文摘要:

Running multiple deep neural networks (DNNs) in parallel has become an emerging workload in both edge devices, such as mobile phones where multiple tasks serve a single user for daily activities, and data centers, where various requests are raised from millions of users, as seen with large language models. To reduce the costly computational and memory requirements of these workloads, various efficient sparsification approaches have been introduced, resulting in widespread sparsity across different types of DNN models. In this context, there is an emerging need for scheduling sparse multi-DNN workloads, a problem that is largely unexplored in previous literature. This paper systematically analyses the use-cases of multiple sparse DNNs and investigates the opportunities for optimizations. Based on these findings, we propose Dysta, a novel bi-level dynamic and static scheduler that utilizes both static sparsity patterns and dynamic sparsity information for the sparse multi-DNN scheduling. Both static and dynamic components of Dysta are jointly designed at the software and hardware levels, respectively, to improve and refine the scheduling approach. To facilitate future progress in the study of this class of workloads, we construct a public benchmark that contains sparse multi-DNN workloads across different deployment scenarios, spanning from mobile phones and AR/VR wearables to data centers. A comprehensive evaluation on the sparse multi-DNN benchmark demonstrates that our proposed approach outperforms the state-of-the-art methods with up to 10% decrease in latency constraint violation rate and nearly 4X reduction in average normalized turnaround time. Our artifacts and code are publicly available at: https://github.com/SamsungLabs/Sparse-Multi-DNN-Scheduling.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑