arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2111.04007cs.DC
收藏

Varuna:大规模深度学习模型的可扩展、低成本训练

Varuna: Scalable, Low-cost Training of Massive Deep Learning Models

Sanjith Athlur, Nitika Saran, Muthian Sivathanu, Ramachandran Ramjee, Nipun Kwatra

摘要:

如今,用于训练大规模深度学习模型(数十亿个参数)的系统假设并需要专门的“超级集群”:数百或数千个GPU与专门的高带宽互连(如NV-Link和Infiniband)相连。除了昂贵之外,这种对超级集群和自定义高速互连的依赖限制了这种集群的大小,从而产生(a)对作业并行性的可扩展性限制;(b)跨超级集群的资源碎片。在本文中,我们介绍了Varuna,这是一个新系统,可以在商品网络上训练大量深度学习模型。Varuna可以节约使用网络资源,并自动配置用户的培训工作,以有效地使用任何给定的资源集。因此,Varuna能够利用“低优先级”虚拟机,其成本比专用GPU便宜约5倍,从而显著降低了训练大规模模型的成本。我们通过在5倍便宜的“点虚拟机”上训练大量模型(包括2000亿个参数模型),同时保持高训练吞吐量,证明了Varuna的有效性。与其他模型并行方法相比,Varuna将端到端训练时间提高了18倍,与其他管道并行方法相比提高了26%。Varuna的代码可在https://github.com/microsoft/varuna上获得。

英文摘要:

Systems for training massive deep learning models (billions of parameters) today assume and require specialized "hyper-clusters": hundreds or thousands of GPUs wired with specialized high-bandwidth interconnects such as NV-Link and Infiniband. Besides being expensive, such dependence on hyper-clusters and custom high-speed inter-connects limits the size of such clusters, creating (a) scalability limits on job parallelism; (b) resource fragmentation across hyper-clusters. In this paper, we present Varuna, a new system that enables training massive deep learning models on commodity networking. Varuna makes thrifty use of networking resources and automatically configures the user's training job to efficiently use any given set of resources. Therefore, Varuna is able to leverage "low-priority" VMs that cost about 5x cheaper than dedicated GPUs, thus significantly reducing the cost of training massive models. We demonstrate the efficacy of Varuna by training massive models, including a 200 billion parameter model, on 5x cheaper "spot VMs", while maintaining high training throughput. Varuna improves end-to-end training time by up to 18x compared to other model-parallel approaches and up to 26% compared to other pipeline parallel approaches. The code for Varuna is available at https://github.com/microsoft/varuna.

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

↑