MiCS: Near-linear Scaling for Training Gigantic Model on Public Cloud
Zhen Zhang, Shuai Zheng, Yida Wang, Justin Chiu, George Karypis, Trishul Chilimbi, Mu Li, Xin Jin
摘要
Existing general purpose frameworks for gigantic model training, i.e., dense models with billions of parameters, cannot scale efficiently on cloud environment with various networking conditions due to large communication overheads. In this paper, we propose MiCS, which Minimizes the Communication Scale to bring down communication overhead. Specifically, by decreasing the number of participants in a communication collective, MiCS can utilize heterogeneous network bandwidth, reduce network traffic over slower links, reduce the latency of communications for maintaining high network bandwidth utilization, and amortize expensive global gradient synchronization overhead. Our evaluation on AWS shows that the system throughput of MiCS is up to 2.89× that of the state-of-the-art large model training systems. MiCS achieves near-linear scaling efficiency, which is up to 1.27× that of DeepSpeed. MiCS allows us to train a proprietary model with 100 billion parameters on 512 GPUs with 99.4% weak-scaling efficiency, and it is able to saturate over 54.5% theoretical computation power of each GPU on a public cloud with less GPU memory and more restricted networks than DGX-A100 clusters.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CoAtNet: Marrying Convolution and Attention for All Data Sizes 引用了 Scaling Vision Transformers
- Scaling Vision Transformers 引用了 CoAtNet: Marrying Convolution and Attention for All Data Sizes
- CoAtNet: Marrying Convolution and Attention for All Data Sizes 引用了 Language Models are Few-Shot Learners
- How Large Language Models Will Disrupt Data Management 引用了 Language Models are Few-Shot Learners
- Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model Training 引用了 Language Models are Few-Shot Learners
- Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model Training 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model Training 引用了 Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learning
- Scaling Vision Transformers 引用了 Language Models are Few-Shot Learners
- Scaling Vision Transformers 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Flash-LLM: Enabling Low-Cost and Highly-Efficient Large Generative Model Inference With Unstructured Sparsity 引用了 Language Models are Few-Shot Learners
- Flash-LLM: Enabling Low-Cost and Highly-Efficient Large Generative Model Inference With Unstructured Sparsity 引用了 Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learning
- Rethinking Memory and Communication Costs for Efficient Data Parallel Training of Large Language Models 引用了 Language Models are Few-Shot Learners
- Rethinking Memory and Communication Costs for Efficient Data Parallel Training of Large Language Models 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Rethinking Memory and Communication Costs for Efficient Data Parallel Training of Large Language Models 引用了 Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learning
- GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding 引用了 Language Models are Few-Shot Learners
- Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learning 引用了 Language Models are Few-Shot Learners
- Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learning 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learning 引用了 ZeRO-Offload: Democratizing Billion-Scale Model Training
引用它的顶会 Paper8
- How Large Language Models Will Disrupt Data ManagementRaul Castro Fernandez, Aaron J. Elmore, Michael J. Franklin, Sanjay Krishnan 等VLDB 2023 · 127 次引用
- Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep LearningLianmin Zheng, Zhuohan Li, Hao Zhang, Yonghao Zhuang 等OSDI 2022 · 75 次引用
- Flash-LLM: Enabling Low-Cost and Highly-Efficient Large Generative Model Inference With Unstructured SparsityHaojun Xia, Zhen Zheng, Yuchao Li, Donglin Zhuang 等VLDB 2024 · 29 次引用
- Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model TrainingHongzheng Chen, Cody Hao Yu, Shuai Zheng, Zhen Zhang 等ASPLOS 2024 · 8 次引用
- Rethinking Memory and Communication Costs for Efficient Data Parallel Training of Large Language ModelsHanxiao Zhang, Lin Ju, Chan Wu, Jinjing Huang 等NeurIPS 2024 · 4 次引用
它引用的 Paper13
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
- CoAtNet: Marrying Convolution and Attention for All Data SizesZihang Dai, Hanxiao Liu, Quoc V. Le, Mingxing TanNeurIPS 2021 · 1,747 次引用
- Scaling Vision TransformersXiaohua Zhai, Alexander Kolesnikov, Neil Houlsby, Lucas BeyerCVPR 2022 · 767 次引用
- ZeRO-Offload: Democratizing Billion-Scale Model TrainingJie Ren, Samyam Rajbhandari, Reza Yazdani Aminabadi, Olatunji Ruwase 等USENIX ATC 2021 · 657 次引用
相关 Paper
- MAD-Max Beyond Single-Node: Enabling Large Machine Learning Model Acceleration on Distributed SystemsSamuel Hsia, Alicia Golden, Bilge Acun, Newsha Ardalani 等ISCA 2024 · 8 次引用
- JABAS: Joint Adaptive Batching and Automatic Scaling for DNN Training on Heterogeneous GPUsGyeongchan Yun, Junesoo Kang, Hyunjoon Jeong, Sanghyeon Eom 等EuroSys 2025 · 2 次引用
- Communication-Efficient Distributed Deep Learning with Merged Gradient Sparsification on GPUsShaohuai Shi, Qiang Wang, Xiaowen Chu, Bo Li 等INFOCOM 2020 · 66 次引用
- PipeComm: Maximizing Link Utilization Through Pipeline-Aware Collective Communication SynthesisRuifan Xu, Yuze Luo, Yuhao Meng, Size Zheng 等ISCA 2026
- Herring: rethinking the parameter server at scale for the cloudIndu Thangakrishnan, Derya Cavdar, Can Karakus, Piyush Ghai 等SC 2020 · 11 次引用
