ETH: Data-Balanced Heterogeneous Pipeline Parallelism for Training Large Models
Mianjie Yu, Zhongmin Zhao, Zizhao Mo, Jianxiong Liao, Wenxuan Li, Yulin Qiao, Huanle Xu, Wenquan Yang, Yongqiang Yang, Zeren Li, Ruifeng Tang, Chengzhong Xu
Abstract
Current heterogeneity-aware training systems for large models balance workloads by assigning unequal numbers of layers across pipeline stages, a strategy aimed at equalizing execution time through a unique pipeline configuration. However, this approach fails to address critical memory constraints and suffers from inherently coarse balancing granularity. In this paper, we propose Heterogeneous Pipeline Parallelism (HPP), a novel approach enabling efficient and fine-grained data balance across heterogeneous pipelines. To address HPP's key challenges, prohibitive search overhead for optimal configurations and high communication overhead from asymmetric All-Reduce, we design the ETH training system. ETH employs a hierarchical workload balance framework that jointly optimizes balance across heterogeneous pipelines and within individual pipeline stages. To mitigate asymmetric communication costs, ETH implements block-wise gradient aggregation. Furthermore, it integrates specialized optimizations that dramatically reduce HPP configuration search overhead. Evaluations demonstrate ETH achieves up to 2x training speedup while reducing configuration generation overhead by up to 56x compared to state-of-the-art systems. The code is available at https://github.com/YuMJie/ETH.
Create a lesson
Related papers
GeoTrain: Energy-Aware Automatic Parallelism for Foundation Model Training on Heterogeneous Geo-Distributed Resources
Shared title terminology · Bui-Khanh Hoang, TianZhang He, Mohammad Goudarzi
SS-HSDP: Efficient and Flexible Sharded Data Parallelism via Runtime-Update Decoupling
Shared title terminology · Chendong Xiang, Pengle Zhang, Jinliang Li et al.
SubGPU Pipelining: Intra-GPU Fine-Grained Spatial Parallelism for LLM Inference
Shared title terminology · Muralidhar Andoorveedu, Marius Juston, Tingkai Liu et al.
Cross-Modal Data Co-Locality for Heterogeneous Storage Systems
Shared title terminology · Abdullah Al-Mamun
KVStream: Adaptive Parallel Storage Management for KV Caching in Large-Scale LLM Serving
Shared title terminology · Avinash Maurya, Jaiaid Mobin, Jie Ye et al.
GPU-Accelerated Construction of the Gabriel Graph: Parallelization Strategies and Applications to Large-Margin Classification and Graph-Based Clustering
Shared title terminology · Diego Sanches Nere dos Santos, Luiz Carlos Bambirra Torres