Lune

SC2021顶会

Chimera: efficiently training large-scale neural networks with bidirectional pipelines

Shigang Li, Torsten Hoefler

摘要

Training large deep learning models at scale is very challenging. This paper proposes Chimera, a novel pipeline parallelism scheme which combines bidirectional pipelines for efficiently training large-scale models. Chimera is a synchronous approach and therefore no loss of accuracy, which is more convergence-friendly than asynchronous approaches. Compared with the latest synchronous pipeline approach, Chimera reduces the number of bubbles by up to 50%; benefiting from the sophisticated scheduling of bidirectional pipelines, Chimera has a more balanced activation memory consumption. Evaluations are conducted on Transformer based language models. For a GPT-2 model with 1.3 billion parameters running on 2,048 GPU nodes of the Piz Daint supercomputer, Chimera improves the training throughput by 1.16x-2.34x over the state-of-the-art synchronous and asynchronous pipeline approaches.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 48 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Near-optimal sparse allreduce for distributed deep learning 引用了 Large Batch Optimization for Deep Learning: Training BERT in 76 minutes
  • Near-optimal sparse allreduce for distributed deep learning 引用了 Language Models are Few-Shot Learners
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Generative Pretraining From Pixels
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
  • Extending the limit of molecular dynamics with ab initio accuracy to 10 billion atoms 引用了 ZeRO: memory optimizations toward training trillion parameter models
  • SmartMoE: Efficiently Training Sparsely-Activated Models through Combining Offline and Online Parallelization 引用了 ZeRO: memory optimizations toward training trillion parameter models
  • SmartMoE: Efficiently Training Sparsely-Activated Models through Combining Offline and Online Parallelization 引用了 Language Models are Few-Shot Learners
  • EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D Parallelism 引用了 Language Models are Few-Shot Learners
  • Optimizing RLHF Training for Large Language Models with Stage Fusion 引用了 ZeRO: memory optimizations toward training trillion parameter models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper48

  1. SmartMoE: Efficiently Training Sparsely-Activated Models through Combining Offline and Online ParallelizationMingshu Zhai, Jiaao He, Zixuan Ma, Zan Zong 等USENIX ATC 2023 · 96 次引用
  2. EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D ParallelismYanxi Chen, Xuchen Pan, Yaliang Li, Bolin Ding 等ICML 2024 · 73 次引用
  3. Optimizing RLHF Training for Large Language Models with Stage FusionYinmin Zhong, Zili Zhang, Bingyang Wu, Shengyu Liu 等NSDI 2025 · 64 次引用
  4. Near-optimal sparse allreduce for distributed deep learningShigang Li, Torsten HoeflerPPoPP 2022 · 57 次引用
  5. Extending the limit of molecular dynamics with ab initio accuracy to 10 billion atomsZhuoqiang Guo, Denghui Lu, Yujin Yan, Siyu Hu 等PPoPP 2022 · 50 次引用

它引用的 Paper13

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  3. Generative Pretraining From PixelsMark Chen, Alec Radford, Rewon Child, Jeffrey Wu 等ICML 2020 · 1,773 次引用
  4. Large Batch Optimization for Deep Learning: Training BERT in 76 minutesYang You, Jing Li, Sashank J. Reddi, Jonathan Hseu 等ICLR 2020 · 1,170 次引用
  5. ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 次引用

相关 Paper

  1. MixPipe: Efficient Bidirectional Pipeline Parallelism for Training Large-Scale ModelsWeigang Zhang, Biyu Zhou, Xuehai Tang, Zhaoxing Wang 等DAC 2023 · 9 次引用
  2. Hanayo: Harnessing Wave-like Pipeline Parallelism for Enhanced Large Model Training EfficiencyZiming Liu, Shenggan Cheng, Haotian Zhou, Yang YouSC 2023 · 35 次引用
  3. Mario: Near Zero-cost Activation Checkpointing in Pipeline ParallelismWeijian Liu, Mingzhen Li, Guangming Tan, Weile JiaPPoPP 2025 · 4 次引用
  4. Efficient large-scale language model training on GPU clusters using megatron-LMDeepak Narayanan, Mohammad Shoeybi, Jared Casper, Patrick LeGresley 等SC 2021 · 576 次引用
  5. BPipe: Memory-Balanced Pipeline Parallelism for Training Large Language ModelsTaebum Kim, Hyoungjoo Kim, Gyeong-In Yu, Byung-Gon ChunICML 2023 · 34 次引用
黄昏的海面,两侧是细线勾勒的悬崖