在GPU集群上优化分布式DNN训练的网络性能:1.5分钟内完成ImageNet/AlexNet训练
Optimizing Network Performance for Distributed DNN Training on GPU Clusters: ImageNet/AlexNet Training in 1.5 Minutes
摘要:
扩展深度神经网络(DNN)训练对于减少模型训练时间非常重要。高通信开销是多GPU分布式DNN训练的主要性能瓶颈之一。我们的调查表明,流行的开源DNN系统只能在56 Gbps网络连接的64个GPU上实现2.5的加速比。为了解决这个问题,我们提出了一个名为AdmisentFlow的通信后端,用于分布式DNN训练,并采用了一组网络优化技术。首先,我们将基于环的allreduce,混合精度训练和计算/通信重叠集成到ConcurrentFlow中。其次,我们提出了懒惰的allreduce通过融合多个通信操作到一个单一的,以提高网络吞吐量,并设计粗粒度稀疏通信,以减少网络流量,通过只传输重要的梯度块。当在512个GPU上训练ImageNet/AlexNet时,我们的方法实现了410.2的加速比,并在1.5分钟内完成了95个epoch的训练,优于现有的方法。
英文摘要:
It is important to scale out deep neural network (DNN) training for reducing model training time. The high communication overhead is one of the major performance bottlenecks for distributed DNN training across multiple GPUs. Our investigations have shown that popular open-source DNN systems could only achieve 2.5 speedup ratio on 64 GPUs connected by 56 Gbps network. To address this problem, we propose a communication backend named GradientFlow for distributed DNN training, and employ a set of network optimization techniques. First, we integrate ring-based allreduce, mixed-precision training, and computation/communication overlap into GradientFlow. Second, we propose lazy allreduce to improve network throughput by fusing multiple communication operations into a single one, and design coarse-grained sparse communication to reduce network traffic by only transmitting important gradient chunks. When training ImageNet/AlexNet on 512 GPUs, our approach achieves 410.2 speedup ratio and completes 95-epoch training in 1.5 minutes, which outperforms existing approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。