arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.12169cs.NIcs.AIcs.LG
收藏

Rail-only:一种用于训练万亿参数大语言模型的低成本高性能网络

Rail-only: A Low-Cost High-Performance Network for Training LLMs with Trillion Parameters

Meta

Weiyang Wang, Manya Ghobadi, Kayvon Shakeri, Ying Zhang, Naader Hasani

AI总结:

针对万亿参数LLM超大规模训练的网络成本问题,提出移除传统GPU集群脊层的Rail-only网络,在保持训练性能的同时大幅降低成本与功耗,还支持MoE模型并具备故障鲁棒性。

摘要:

本文提出了一种用于超大规模训练大语言模型(LLM)的低成本网络架构。我们研究了LLM的最优并行策略,并针对LLM独特的通信模式设计了一种新型数据中心网络。我们发现,LLM训练会在网络中产生稀疏通信模式,因此不需要任意到任意的全二分网络即可高效完成训练。基于此,我们的设计移除了传统GPU集群中的脊层,将该设计命名为Rail-only网络。实验表明,与传统GPU数据中心相比,该网络在保持同等训练性能的同时,可将网络成本降低38%至77%,网络功耗降低37%至75%。该架构还支持带全对全通信的混合专家(Mixture-of-Expert, MoE)模型,通过转发实现全对全流量,仅带来8.2%至11.2%的完成时间开销。我们还研究了Rail-only网络的故障鲁棒性,并分析了不同网络和训练参数对性能的影响。

英文摘要:

This paper presents a low-cost network architecture for training large language models (LLMs) at hyperscale. We study the optimal parallelization strategy of LLMs and propose a novel datacenter network design tailored to LLM's unique communication pattern. We show that LLM training generates sparse communication patterns in the network and, therefore, does not require any-to-any full-bisection network to complete efficiently. As a result, our design eliminates the spine layer in traditional GPU clusters. We name this design a Rail-only network and demonstrate that it achieves the same training performance while reducing the network cost by 38% to 77% and network power consumption by 37% to 75% compared to a conventional GPU datacenter. Our architecture also supports Mixture-of-Expert (MoE) models with all-to-all communication through forwarding, with only 8.2% to 11.2% completion time overhead for all-to-all traffic. We study the failure robustness of Rail-only networks and provide insights into the performance impact of different network and training parameters.

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

↑