Pipeline Parallelism with Controllable Memory
Not on the map. Why?
Abstract (arXiv)
Pipeline parallelism has been widely explored, but most existing schedules lack a systematic methodology. In this paper, we propose a framework to decompose pipeline schedules as repeating a building block, and show that the lifespan of the building block decides the peak activation memory of the pipeline schedule. Guided by the observations, we find that almost all existing pipeline schedules, to the best of our knowledge, are memory inefficient. To address this, we introduce a family of memory efficient building blocks with controllable activation memory, which can reduce the peak activation memory to 1/2 of 1F1B without sacrificing efficiency, and even to 1/3 with comparable throughput. We can also achieve almost zero pipeline bubbles while maintaining the same activation memory as 1F1B. Our evaluations demonstrate that in pure pipeline parallelism settings, our methods outperform 1F1B by from 7% to 55% in terms of throughput. When employing a grid search over hybrid parallelism hyperparameters in practical scenarios, our methods demonstrate a 16% throughput improvement over the 1F1B baseline for large language models. The implementation is open-sourced at https://github.com/sail-sg/zero-bubble-pipeline-parallelism.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 17 of its 24 references that are in the map. First posted on arXiv 24 May 2024.
Builds on
17 of 24 references.
References · 17
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2017Asynchronous Decentralized Parallel Stochastic Gradient Descentcited by 159
- 2018PipeDream: Fast and Efficient Pipeline Parallel DNN Trainingcited by 116
- 2020DAPPLE: A Pipelined Data Parallel Approach for Training Large Modelscited by 100
- 2021Chimera: Efficiently Training Large-Scale Neural Networks with Bidirectional Pipelinescited by 68
5 more
- 2019PipeMare: Asynchronous Pipeline Parallel DNN Trainingcited by 54
- 2023Zero Bubble Pipeline Parallelismcited by 39
- 2023Hanayo: Harnessing Wave-like Pipeline Parallelism for Enhanced Large Model Training Efficiencycited by 20
- 2022On Optimizing the Communication of Model Parallelismcited by 19
- 2017AMPNet: Asynchronous Model-Parallel Training for Dynamic Neural Networkscited by 12
Built on by
Citing papers per year: 2025: 6; 2026: 5.
11 papers.
- 2025LongCat-Flash Technical Reportcited by 54
- 2026LongCat-Next: Lexicalizing Modalities as Discrete Tokenscited by 30
- 2025LongCat-Flash-Omni Technical Reportcited by 23
- 2025Sailor2: Sailing in South-East Asia with Inclusive Multilingual LLMscited by 17
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Corecited by 16
- 2026Training LLMs with Fault Tolerant HSDP on 100,000 GPUscited by 6
- 2025PipeOffload: Improving Scalability of Pipeline Parallelism with Memory Optimizationcited by 5
- 2025A Survey on Memory-Efficient Transformer-Based Model Training in AI for Sciencecited by 3
- 2025OptPipe: Memory- and Scheduling-Optimized Pipeline Parallelism for LLM Trainingcited by 0
- 2026TimelyFreeze: Adaptive Parameter Freezing Mechanism for Pipeline Parallelismcited by 0
- 2026The Life of a Token: from Words to Bits on the Wirecited by 0
- 2026The Life of a Token: from Words to Bits on the Wire17 Sep 2026
- 2026LongCat-Next: Lexicalizing Modalities as Discrete Tokens29 Mar 2026
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Core8 Mar 2026
- 2026TimelyFreeze: Adaptive Parameter Freezing Mechanism for Pipeline Parallelism5 Feb 2026
- 2026Training LLMs with Fault Tolerant HSDP on 100,000 GPUs30 Jan 2026
- 2025LongCat-Flash-Omni Technical Report31 Oct 2025
- 2025OptPipe: Memory- and Scheduling-Optimized Pipeline Parallelism for LLM Training6 Oct 2025
- 2025LongCat-Flash Technical Report1 Sep 2025
- 2025PipeOffload: Improving Scalability of Pipeline Parallelism with Memory Optimization3 Mar 2025
- 2025Sailor2: Sailing in South-East Asia with Inclusive Multilingual LLMs18 Feb 2025
- 2025A Survey on Memory-Efficient Transformer-Based Model Training in AI for Science21 Jan 2025