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

Singularity:AI工作负载的行星级、抢先式和弹性调度

Singularity: Planet-Scale, Preemptive and Elastic Scheduling of AI Workloads

Microsoft(微软)
Dharma Shukla, Muthian Sivathanu, Srinidhi Viswanatha, Bhargav Gulavani, Rimma Nehme, Amey Agrawal, Chen Chen, Nipun Kwatra, Ramachandran Ramjee, Pankaj Sharma,… 展开作者

Dharma Shukla, Muthian Sivathanu, Srinidhi Viswanatha, Bhargav Gulavani, Rimma Nehme, Amey Agrawal, Chen Chen, Nipun Kwatra, Ramachandran Ramjee, Pankaj Sharma, Atul Katiyar, Vipul Modi, Vaibhav Sharma, Abhishek Singh, Shreshth Singhal, Kaustubh Welankar, Lu Xun, Ravi Anupindi, Karthik Elangovan, Hasibur Rahman, Zhou Lin, Rahul Seetharaman, Cheng Xu, Eddie Ailijiang, Suresh Krishnappa, Mark Russinovich

摘要:

通过推动深度学习工作负载的高利用率来降低成本是云提供商的关键杠杆。我们介绍了Singularity,这是微软的全球分布式调度服务,用于高效可靠地执行深度学习训练和推理工作负载。Singularity的核心是一种新颖的工作负载感知调度器,可以透明地抢占和弹性地扩展深度学习工作负载,以提高利用率,而不会影响其正确性或性能,跨全球人工智能加速器(例如,GPU、FPGA)。默认情况下,Singularity中的所有作业都是可抢占的,可迁移的,并且可以动态调整大小(弹性):实时作业可以动态和透明地(a)抢占并迁移到不同的节点,集群,数据中心或区域集合,并从执行被抢占的点恢复,以及(b)调整大小(即,弹性地按比例放大/缩小)。我们的机制是透明的,因为它们不需要用户对其代码进行任何更改,也不需要使用任何可能限制灵活性的自定义库。此外,我们的方法显著提高了深度学习工作负载的可靠性。我们表明,由此产生的效率和可靠性增益与奇异性的稳态性能的影响可以忽略不计。最后,我们的设计方法与DNN架构无关,并处理各种并行策略(例如,数据/流水线/模型并行)。

英文摘要:

Lowering costs by driving high utilization across deep learning workloads is a crucial lever for cloud providers. We present Singularity, Microsoft's globally distributed scheduling service for highly-efficient and reliable execution of deep learning training and inference workloads. At the heart of Singularity is a novel, workload-aware scheduler that can transparently preempt and elastically scale deep learning workloads to drive high utilization without impacting their correctness or performance, across a global fleet of AI accelerators (e.g., GPUs, FPGAs). All jobs in Singularity are preemptable, migratable, and dynamically resizable (elastic) by default: a live job can be dynamically and transparently (a) preempted and migrated to a different set of nodes, cluster, data center or a region and resumed exactly from the point where the execution was preempted, and (b) resized (i.e., elastically scaled-up/down) on a varying set of accelerators of a given type. Our mechanisms are transparent in that they do not require the user to make any changes to their code or require using any custom libraries that may limit flexibility. Additionally, our approach significantly improves the reliability of deep learning workloads. We show that the resulting efficiency and reliability gains with Singularity are achieved with negligible impact on the steady-state performance. Finally, our design approach is agnostic of DNN architectures and handles a variety of parallelism strategies (e.g., data/pipeline/model parallelism).

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

↑