FRED:面向 DNN 模型晶圆级分布式训练的灵活归约-分发互连与通信实现
FRED: Flexible REduction-Distribution Interconnect and Communication Implementation for Wafer-Scale Distributed Training of DNN Models
AI总结:
本文提出晶圆级互连 FRED,通过灵活支持多种并行通信模式并在交换机内执行集合通信,降低约一半网络流量,显著提升多类 DNN 的分布式训练性能。
摘要:
分布式深度神经网络(DNN)训练是一种根据并行化策略,将训练任务分配到多个加速器上以降低训练开销的技术。然而,要实现最大加速比和系统的线性扩展,需要高性能计算与互连。晶圆级系统是一项很有前景的技术,能够将高端加速器与高速晶圆级互连紧密集成,因此成为分布式训练的理想平台。不过,晶圆级互连必须为各种并行化策略提供高性能和灵活性,才能实现计算与内存使用的最大优化。本文提出 FRED,这是一种专为晶圆级网络的高带宽需求定制的晶圆级互连,能够高效执行不同并行化策略的通信模式。此外,FRED 支持交换机内集合通信执行,可将网络流量减少约 2 倍。结果表明,与基线晶圆级 2D-Mesh 网络相比,FRED 可将 ResNet-152、Transformer-17B、GPT-3 和 Transformer-1T 的平均端到端训练时间分别改善 1.76 倍、1.87 倍、1.34 倍和 1.4 倍。
英文摘要:
Distributed Deep Neural Network (DNN) training is a technique to reduce the training overhead by distributing the training tasks into multiple accelerators, according to a parallelization strategy. However, high-performance compute and interconnects are needed for maximum speed-up and linear scaling of the system. Wafer-scale systems are a promising technology that allows for tightly integrating high-end accelerators with high-speed wafer-scale interconnects, making it an attractive platform for distributed training. However, the wafer-scale interconnect should offer high performance and flexibility for various parallelization strategies to enable maximum optimizations for compute and memory usage. In this paper, we propose FRED, a wafer-scale interconnect that is tailored for the high-BW requirements of wafer-scale networks and can efficiently execute communication patterns of different parallelization strategies. Furthermore, FRED supports in-switch collective communication execution that reduces the network traffic by approximately 2X. Our results show that FRED can improve the average end-to-end training time of ResNet-152, Transformer-17B, GPT-3, and Transformer-1T by 1.76X, 1.87X, 1.34X, and 1.4X, respectively when compared to a baseline waferscale 2D-Mesh fabric.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。