ScaleWeave: Unified 2D Scaling for Large Model Training in Scale-up Domains
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.DC, cs.NI
- Comments
- 14 pages
Related papers
SMART-Sharding: Scaling Per-tensor Sharding Search in LLM Training with Symbolic Dynamic Programming
Shared title terminologycs.DCKimia Noorbakhsh, Samuel Kushnir, Kavya Sreedhar et al.
UltraSim: Simulating Large-Scale AI Clusters at Packet Level on GPUs
Shared title terminologycs.DCMan-Kit Sit, Matej Sandor, Yi-Chieh Wang et al.
Clock-Variable Discrete Simulated Bifurcation: A GPU Algorithm for Large-Scale Discrete-Phase Optimization
Shared title terminologycs.DCYaocheng Chen, Jiapei Zhuang
Toward an Adaptive Optimizer for Generative Inference with Large Language Models
Shared title terminologycs.DCRuben Mayer, Nikita Agrawal, Alisa Pogodaeva
Rank Count, Placement and Decomposition: Strong Scaling of an Automotive RANS Case on the AMD EPYC 9655 Nodes of HoreKa 2
Shared title terminologycs.DCGregor Olenik
When Does a GPU Shorten All-Pairs Genome Comparison? End-to-End Modelling and Scaling with cuDDL
Shared title terminologycs.DCTim Dortmann, Markus Vieth, Bertil Schmidt