Search papers, labs, and topics across Lattice.
This paper analyzes the challenges of implementing 3D parallelism in heterogeneous GPU environments, focusing on symmetric tensor parallelism and efficient gradient synchronization in asymmetric pipeline parallelism. The authors introduce AutoHet, a system that automatically optimizes the parallelism plan for distributed training on heterogeneous GPUs by framing device grouping and load balancing as an optimization problem. Experiments on large-scale models with diverse GPU combinations demonstrate that AutoHet achieves up to 1.79x training throughput speedup compared to Megatron-LM and Whale, and a 4.38x speedup in recovery speed compared to a spot instance baseline.
Training LLMs on heterogeneous GPUs just got a whole lot faster: AutoHet achieves up to 1.79x speedup over Megatron-LM and Whale by automatically optimizing the 3D parallelism strategy.
The rapid growth of large language models (LLMs) and the continuous release of new GPU products have significantly increased the demand for distributed training across heterogeneous GPU environments. In this paper, we present a comprehensive analysis of the challenges involved in implementing 3D parallelism in such environments, addressing critical issues such as the need for symmetric tensor parallelism, efficient gradient synchronization in asymmetric pipeline parallelism, and the trade-offs between memory utilization and computational efficiency. Building upon these insights, we introduce AutoHet, a novel system that automatically identifies the optimal parallelism plan for distributed training on heterogeneous GPUs. AutoHet supports asymmetric 3D parallelism structures and facilitates fine-grained workload distribution. We propose a theoretical model that frames the device grouping and load balancing as an optimization problem to minimize per-iteration training time, thus effectively balancing computing power and memory usage across GPUs with diverse capabilities. To enable elastic training upon spot instance preemption, AutoHet presents an efficient recovery strategy that prioritizes to retrieve training states from local nodes, and only downloads the missing checkpoints from the cloud storage. Our extensive evaluation, conducted on three large-scale models and utilizing combinations of three different GPU types, demonstrates that AutoHet outperforms existing DNN training systems, achieving up to a 1.79$\times$ speedup in training throughput compared with Megatron-LM and Whale, and a 4.38$\times$ speedup of recovery speed compared to a spot instance baseline.