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

ForestColl:异构网络结构上的吞吐量最优集体通信

ForestColl: Throughput-Optimal Collective Communications on Heterogeneous Network Fabrics

University of Washington(华盛顿大学);Tsinghua University(清华大学);Microsoft Research(微软研究院);Microsoft(微软)

Liangyu Zhao, Saeed Maleki, Yuanhong Wang, Zezhou Wang, Ziyue Yang, Hossein Pourreza, Arvind Krishnamurthy

AI总结:

ForestColl 通过构建广播/聚合生成树,在多项式时间内为任意异构网络拓扑生成吞吐量最优的集体通信调度,并在 AMD 与 NVIDIA 集群及大语言模型训练中显著优于现有方案。

摘要:

随着现代深度神经网络模型规模不断增大,加速器之间的集体通信(如 allreduce 等)成为显著的性能瓶颈。在当今异构且多样化的网络结构下,设计高效的通信调度极具挑战性。我们提出 ForestColl,一个能够为任意网络拓扑生成吞吐量最优调度的工具。ForestColl 构建广播/聚合生成树作为通信调度,从而实现理论最优性。其调度生成在多项式时间内运行,并且具有高度可扩展性。ForestColl 支持任意网络结构,包括交换结构和加速器直连。我们在 AMD MI250 和 NVIDIA DGX A100 与 H100 集群上对 ForestColl 进行了评估。在各种设置以及大语言模型训练中,ForestColl 相比厂商自有的优化通信库均展现出显著改进。ForestColl 还优于其他最先进的调度生成技术,生成的调度更高效,且生成速度大幅提升。

英文摘要:

As modern DNN models grow ever larger, collective communications between the accelerators (allreduce, etc.) emerge as a significant performance bottleneck. Designing efficient communication schedules is challenging, given today's heterogeneous and diverse network fabrics. We present ForestColl, a tool that generates throughput-optimal schedules for any network topology. ForestColl constructs broadcast/aggregation spanning trees as the communication schedule, achieving theoretical optimality. Its schedule generation runs in polynomial time and is highly scalable. ForestColl supports any network fabric, including both switching fabrics and direct accelerator connections. We evaluated ForestColl on AMD MI250 and NVIDIA DGX A100 & H100 clusters. ForestColl showed significant improvements over the vendors' own optimized communication libraries across various settings and in LLM training. ForestColl also outperformed other state-of-the-art schedule generation techniques with both more efficient generated schedules and substantially faster generation speed.

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

↑