arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2612.04762cs.DCcs.NI
收藏

ScaleWeave:适用于扩展域大模型训练的统一二维缩放方案

ScaleWeave: Unified 2D Scaling for Large Model Training in Scale-up Domains

College of Future Information Technology, Fudan University(复旦大学未来信息技术学院);College of Computer Science and Artificial Intelligence, Fudan University(复旦大学计算机科学与人工智能学院)

Zhiyi Yao, Leyi Ye, Yuedong Xu, Zizhong Chen

AI总结:

针对扩展域大模型训练中现有并行策略通信效率低的问题,提出 ScaleWeave 框架,引入 2D ETP 等机制,在 64-GPU 环境下可提升吞吐量最高 1.53 倍、减少迭代时间最高 40.6%。

摘要:

扩展域正成为大模型开发的重要基础,它通过超高速带宽 fabric 将数十到数百个 GPU 互连。然而,现有的扩展域内并行策略(如 TP 和 EP)存在通信效率低下的问题,导致随着扩展域内 GPU 数量增加,其扩展性变差。通过对二维 TP 的分析,研究人员发现,在小 GPU 域中吸引力较低的二维并行,由于其通信扩展优势,在大型扩展域中可能成为最具扩展性的选择。基于这一见解,本文提出 ScaleWeave,这是一种适用于扩展域内现代大模型训练的统一二维缩放框架。为高效支持 MoE 等稀疏模型,ScaleWeave 引入了 2D ETP,这是一种新型二维并行机制,将二维缩放扩展到稀疏模型之外。为使二维并行在自动化训练系统中实用,ScaleWeave 进一步提出了一种基于 mesh 布局、数据流和嵌套组合的统一抽象,并采用通信驱动的缩减策略,使现有并行搜索框架能兼容更丰富的二维配置空间。此外,ScaleWeave 利用二维执行的结构特性,通过依赖解耦的通信重叠和跨行 MoE 重新平衡来提高运行时效率。在 64-GPU 扩展域上的实验结果表明,ScaleWeave 在密集和稀疏模型上均可将训练吞吐量提升最高 1.53 倍,并将迭代时间减少最高 40.6%。

英文摘要:

Scale-up domains are emerging as a promising foundation for large model development, as they interconnect tens to hundreds of GPUs through ultra-high-bandwidth fabrics. However, existing intra-scale-up parallel strategies, like TP and EP, suffer from communication inefficiency, which makes them scale poorly as the GPU count grows in scale-up domains. Through analysis of 2D TP, we find that the 2D parallelisms, which seem less attractive in small GPU domains, can potentially become the most scalable choices in large scale-up domains due to their communication scaling advantages. Based on this insight, we present ScaleWeave, a unified two-dimensional scaling framework for modern large model training in the scale-up domain. To efficiently support sparse models like MoE, ScaleWeave introduces 2D ETP, novel 2D parallel mechanisms that extend 2D scaling beyond dense models. To make 2D parallelism practical in automated training systems, ScaleWeave further proposes a unified abstraction over mesh layout, dataflow, and nested composition, with a communication-driven reduction policy that makes existing parallel search frameworks compatible with a much richer 2D configuration space. Furthermore, ScaleWeave leverages the structural properties of 2D execution to improve runtime efficiency by dependency-decoupled communication overlap and cross-row MoE rebalancing. Experimental results on a 64-GPU scale-up domain show that ScaleWeave can improve training throughput by up to 1.53 times and reduce iteration time by up to 40.6% across both dense and sparse models.

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

↑