Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learning
Lianmin Zheng, Zhuohan Li, Hao Zhang, Yonghao Zhuang, Zhifeng Chen, Yanping Huang, Yida Wang, Yuanzhong Xu, Danyang Zhuo, Eric P. Xing, Joseph E. Gonzalez, Ion Stoica
摘要
Alpa automates model-parallel training of large deep learning (DL) models by generating execution plans that unify data, operator, and pipeline parallelism. Existing model-parallel training systems either require users to manually create a parallelization plan or automatically generate one from a limited space of model parallelism configurations. They do not suffice to scale out complex DL models on distributed compute devices. Alpa distributes the training of large DL models by viewing parallelisms as two hierarchical levels: inter-operator and intra-operator parallelisms. Based on it, Alpa constructs a new hierarchical space for massive model-parallel execution plans. Alpa designs a number of compilation passes to automatically derive efficient parallel execution plans at each parallelism level. Alpa implements an efficient runtime to orchestrate the two-level parallel execution on distributed compute devices. Our evaluation shows Alpa generates parallelization plans that match or outperform hand-tuned model-parallel training systems even on models they are designed for. Unlike specialized systems, Alpa also generalizes to models with heterogeneous architectures and models without manuallydesigned plans. Alpa's source code is publicly available at https://github.com/alpa-projects/alpa .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 158 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 ZeRO: memory optimizations toward training trillion parameter models
- AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
- AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 Language Models are Few-Shot Learners
- AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 Language Models are Few-Shot Learners
- Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 ZeRO-Offload: Democratizing Billion-Scale Model Training
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU 引用了 Language Models are Few-Shot Learners
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU 引用了 ZeRO-Offload: Democratizing Billion-Scale Model Training
- Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
- Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU
- Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Language Models are Few-Shot Learners
- Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 ZeRO-Offload: Democratizing Billion-Scale Model Training
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 ZeRO: memory optimizations toward training trillion parameter models
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding 引用了 Language Models are Few-Shot Learners
- ZeRO-Offload: Democratizing Billion-Scale Model Training 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Characterization of Large Language Model Development in the Datacenter 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
- Characterization of Large Language Model Development in the Datacenter 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Characterization of Large Language Model Development in the Datacenter 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
- Characterization of Large Language Model Development in the Datacenter 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- Characterization of Large Language Model Development in the Datacenter 引用了 Language Models are Few-Shot Learners
- Characterization of Large Language Model Development in the Datacenter 引用了 ZeRO-Offload: Democratizing Billion-Scale Model Training
引用它的顶会 Paper158
- Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUYing Sheng, Lianmin Zheng, Binhang Yuan, Zhuohan Li 等ICML 2023 · 683 次引用
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model ServingYinmin Zhong, Shengyu Liu, Junda Chen, Jianbo Hu 等OSDI 2024 · 646 次引用
- AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning ServingZhuohan Li, Lianmin Zheng, Yinmin Zhong, Vincent Liu 等OSDI 2023 · 211 次引用
- Characterization of Large Language Model Development in the DatacenterQinghao Hu, Zhisheng Ye, Zerui Wang, Guoteng Wang 等NSDI 2024 · 192 次引用
它引用的 Paper19
- 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 次引用
- ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 次引用
- ZeRO-Offload: Democratizing Billion-Scale Model TrainingJie Ren, Samyam Rajbhandari, Reza Yazdani Aminabadi, Olatunji Ruwase 等USENIX ATC 2021 · 657 次引用
- Efficient large-scale language model training on GPU clusters using megatron-LMDeepak Narayanan, Mohammad Shoeybi, Jared Casper, Patrick LeGresley 等SC 2021 · 576 次引用
相关 Paper
- nnScaler: Constraint-Guided Parallelization Plan Generation for Deep Learning TrainingZhiqi Lin, Youshan Miao, Quanlu Zhang, Fan Yang 等OSDI 2024 · 38 次引用
- Metis: Fast Automatic Distributed Training on Heterogeneous GPUsTaegeon Um, Byungsoo Oh, Minyoung Kang, Woo-Yeon Lee 等USENIX ATC 2024 · 81 次引用
- Efficient Algorithms for Device Placement of DNN Graph OperatorsJakub Tarnawski, Amar Phanishayee, Nikhil R. Devanur, Divya Mahajan 等NeurIPS 2020 · 84 次引用
- UniAP: Unifying Inter- and Intra-Layer Automatic Parallelism by Mixed Integer Quadratic ProgrammingHao Lin, Ke Wu, Jie Li, Jun Li 等CVPR 2025
- Hetu v2: A General and Scalable Deep Learning System with Hierarchical and Heterogeneous Single Program Multiple Data AnnotationsHaoyang Li, Fangcheng Fu, Hao Ge, Sheng Lin 等OSDI 2026 · 7 次引用
