Decentralized Training of Foundation Models in Heterogeneous Environments
Binhang Yuan, Yongjun He, Jared Quincy Davis, Tianyi Zhang, Tri Dao,, Beidi Chen, Percy Liang, Christopher Re, Ce Zhang

TL;DR
This paper explores decentralized training of large foundation models across heterogeneous, geo-distributed networks, proposing a scheduling algorithm that significantly improves training efficiency over traditional homogeneous data center setups.
Contribution
It introduces the first scheduling algorithm for large model training in decentralized, heterogeneous environments, optimizing task allocation across diverse GPU networks.
Findings
Achieves 4.8X faster training in geo-distributed settings compared to Megatron.
Develops a formal cost model and an evolutionary algorithm for optimal task scheduling.
Demonstrates effectiveness through extensive experiments on real-world network measurements.
Abstract
Training foundation models, such as GPT-3 and PaLM, can be extremely expensive, often involving tens of thousands of GPUs running continuously for months. These models are typically trained in specialized clusters featuring fast, homogeneous interconnects and using carefully designed software systems that support both data parallelism and model/pipeline parallelism. Such dedicated clusters can be costly and difficult to obtain. Can we instead leverage the much greater amount of decentralized, heterogeneous, and lower-bandwidth interconnected compute? Previous works examining the heterogeneous, decentralized setting focus on relatively small models that can be trained in a purely data parallel manner. State-of-the-art schemes for model parallel foundation model training, such as Megatron, only consider the homogeneous data center setting. In this paper, we present the first study of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsStochastic Gradient Optimization Techniques · Parallel Computing and Optimization Techniques · Advanced Neural Network Applications
MethodsAttention Is All You Need · Pathways Language Model · Linear Layer · Cosine Annealing · 15 Ways to Contact How can i speak to someone at Delta Airlines · Layer Normalization · Residual Connection · Dropout · Dense Connections · Multi-Head Attention
