arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.03414cs.DCcs.LG
收藏

DREAM:面向动态实时多模型机器学习负载的动态调度器

DREAM: A Dynamic Scheduler for Dynamic Real-time Multi-model ML Workloads

UC Berkeley(加州大学伯克利分校);UC Irvine(加州大学欧文分校);Meta

Seah Kim, Hyoukjun Kwon, Jinook Song, Jihyuck Jo, Yu-Hsin Chen, Liangzhen Lai, Vikas Chandra

AI总结:

本文提出面向多加速器系统的动态调度器DREAM,通过量化RTMM负载需求并利用可调参数适应动态变化,在五个场景中将总体UXCost几何平均降低32.2%至50.0%。

摘要:

新兴的实时多模型机器学习(RTMM)负载,如AR/VR和无人机控制,在任务、模型以及模型内部各层等不同粒度上表现出动态行为。与传统机器学习负载不同,这类动态行为给机器学习系统中的系统软件带来了新的挑战,因为整体系统负载并非完全可预测。此外,RTMM负载需要实时处理,涉及高度异构的模型,并面向资源受限的设备。在这种情况下,考虑到RTMM负载的独特特性,开发有效的调度器对于更好地利用底层硬件变得更加重要。因此,我们提出了一种新的调度器DREAM,它面向多加速器系统,能够有效处理RTMM负载中的各种动态性。DREAM量化了RTMM负载的独特需求,并利用量化得分来驱动调度决策,同时考虑当前系统负载以及不同模型和输入帧上的其他推理作业。DREAM利用可调参数,能够快速有效地适应动态负载变化。在我们对RTMM负载的五个场景进行评估时,与最先进的基线相比,DREAM将总体UXCost(本文定义的RTMM等效于能量延迟积(EDP)的指标)在几何平均值上降低了32.2%和50.0%(最高可达80.8%和97.6%),这证明了我们调度方法的有效性。

英文摘要:

Emerging real-time multi-model ML (RTMM) workloads such as AR/VR and drone control involve dynamic behaviors in various granularity; task, model, and layers within a model. Such dynamic behaviors introduce new challenges to the system software in an ML system since the overall system load is not completely predictable, unlike traditional ML workloads. In addition, RTMM workloads require real-time processing, involve highly heterogeneous models, and target resource-constrained devices. Under such circumstances, developing an effective scheduler gains more importance to better utilize underlying hardware considering the unique characteristics of RTMM workloads. Therefore, we propose a new scheduler, DREAM, which effectively handles various dynamicity in RTMM workloads targeting multi-accelerator systems. DREAM quantifies the unique requirements for RTMM workloads and utilizes the quantified scores to drive scheduling decisions, considering the current system load and other inference jobs on different models and input frames. DREAM utilizes tunable parameters that provide fast and effective adaptivity to dynamic workload changes. In our evaluation of five scenarios of RTMM workload, DREAM reduces the overall UXCost, which is an equivalent metric of the energy-delay product (EDP) for RTMM defined in the paper, by 32.2% and 50.0% in the geometric mean (up to 80.8% and 97.6%) compared to state-of-the-art baselines, which shows the efficacy of our scheduling methodology.

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

↑