扩展训练工作负载的能力一直是深度学习的关键性能推动因素之一。主要的扩展方法是基于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.
LoDAdaC: a unified local training-based decentralized framework with adaptive gradients and compressed communication
Rensselaer Polytechnic Institute(伦斯勒理工学院);IBM T. J. Watson Research Center(IBM T. J. Watson 研究中心);MIT-IBM Watson AI Lab, IBM Research(MIT-IBM Watson AI 实验室,IBM 研究院)
Enhancing Communication Efficiency in FL with Adaptive Gradient Quantization and Communication Frequency Optimization
College of Information Technology, United Arab Emirates University, Al Ain, Abu Dhabi, UAE(信息科技学院,阿拉伯联合酋长国大学,阿因,阿布扎比,阿联酋);College of Computing and Informatics, University of Sharjah, Sharjah, UAE(计算与信息学院,谢尔杰大学,谢尔杰,阿联酋);College of Technological Innovation, Zayed University, Abu Dhabi.UAE(技术创新学院,扎耶德大学,阿布扎比,阿联酋)
RailWave: Adaptive Spatial and Temporal Scheduling for Expert-Parallel Communication
Sun Yat-sen University(中山大学);Southeast University(东南大学);Monash University(蒙纳士大学);National University of Singapore(新加坡国立大学);Shenzhen University of Advanced Technology(深圳先进技术研究院);Renmin University of China(中国人民大学)