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

CGX:自适应系统支持通信高效的深度学习

CGX: Adaptive System Support for Communication-Efficient Deep Learning

Institute of Science and Technology Austria(奥地利科学技术研究所);University of British Columbia(不列颠哥伦比亚大学)

Ilia Markov, Hamidreza Ramezanikebrya, Dan Alistarh

摘要:

扩展训练工作负载的能力一直是深度学习的关键性能推动因素之一。主要的扩展方法是基于GPU的数据并行训练,这是通过硬件和软件支持高效的点对点通信,特别是通过硬件带宽预留来推动的。过度配置是有代价的:相对于流行的“消费级”服务器,具有这种支持的“云级”服务器之间存在数量级的价格差异,尽管单个服务器级和消费级GPU可以具有类似的计算包络。在本文中,我们证明了昂贵的硬件过度配置方法可以通过算法和系统设计来取代,并提出了一个名为CGX的框架,该框架为ML应用程序中的压缩通信提供了有效的软件支持,用于多GPU单节点训练以及更大规模的多节点训练。CGX基于两项技术进步:\emph{At the system level},它依赖于重新开发的ML框架通信堆栈,为压缩通信提供灵活,高效的支持。\emph{At the application level},它提供了\emph{seamless, parameter-free}与流行框架的集成,因此最终用户不必修改培训食谱,也不必修改重要的培训代码。这由\emph{layer-wise adaptive compression}技术补充,该技术动态地平衡压缩增益与精度保持。CGX与流行的ML框架集成,为基于商用硬件的多GPU节点提供高达3倍的加速,并在多节点设置中进行了数量级改进,对准确性的影响可以忽略不计。

英文摘要:

The ability to scale out training workloads has been one of the key performance enablers of deep learning. The main scaling approach is data-parallel GPU-based training, which has been boosted by hardware and software support for highly efficient point-to-point communication, and in particular via hardware bandwidth overprovisioning. Overprovisioning comes at a cost: there is an order of magnitude price difference between "cloud-grade" servers with such support, relative to their popular "consumer-grade" counterparts, although single server-grade and consumer-grade GPUs can have similar computational envelopes. In this paper, we show that the costly hardware overprovisioning approach can be supplanted via algorithmic and system design, and propose a framework called CGX, which provides efficient software support for compressed communication in ML applications, for both multi-GPU single-node training, as well as larger-scale multi-node training. CGX is based on two technical advances: \emph{At the system level}, it relies on a re-developed communication stack for ML frameworks, which provides flexible, highly-efficient support for compressed communication. \emph{At the application level}, it provides \emph{seamless, parameter-free} integration with popular frameworks, so that end-users do not have to modify training recipes, nor significant training code. This is complemented by a \emph{layer-wise adaptive compression} technique which dynamically balances compression gains with accuracy preservation. CGX integrates with popular ML frameworks, providing up to 3X speedups for multi-GPU nodes based on commodity hardware, and order-of-magnitude improvements in the multi-node setting, with negligible impact on accuracy.

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

↑