Zero Bubble Pipeline Parallelism
Not on the map. Why?
Abstract (arXiv)
Pipeline parallelism is one of the key components for large-scale distributed training, yet its efficiency suffers from pipeline bubbles which were deemed inevitable. In this work, we introduce a scheduling strategy that, to our knowledge, is the first to successfully achieve zero pipeline bubbles under synchronous training semantics. The key idea behind this improvement is to split the backward computation into two parts, one that computes gradient for the input and another that computes for the parameters. Based on this idea, we handcraft novel pipeline schedules that significantly outperform the baseline methods. We further develop an algorithm that automatically finds an optimal schedule based on specific model configuration and memory limit. Additionally, to truly achieve zero bubble, we introduce a novel technique to bypass synchronizations during the optimizer step. Experimental evaluations show that our method outperforms the 1F1B schedule up to 23% in throughput under a similar memory limit. This number can be further pushed to 31% when the memory constraint is relaxed. We believe our results mark a major step forward in harnessing the true potential of pipeline parallelism. We open sourced our implementation based on the popular Megatron-LM repository on https://github.com/sail-sg/zero-bubble-pipeline-parallelism.
Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). Builds on 11 of its 21 references that are in the map. First posted on arXiv 30 Nov 2023.
Builds on
11 of 21 references.
References · 11
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2017Mixed Precision Trainingcited by 1,135
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2018PipeDream: Fast and Efficient Pipeline Parallel DNN Trainingcited by 116
- 2020DAPPLE: A Pipelined Data Parallel Approach for Training Large Modelscited by 100
- 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 64
- 2019PipeMare: Asynchronous Pipeline Parallel DNN Trainingcited by 54
- 2018Relay: A New IR for Machine Learning Frameworkscited by 24
Built on by
Citing papers per year: 2024: 12; 2025: 14; 2026: 13.
39 papers.
Sort:
By area:
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2024DeepSeek-V3 Technical Reportcited by 724
- 2025Kimi K2: Open Agentic Intelligencecited by 523
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 502
- 2025Defeating the Training-Inference Mismatch via FP16cited by 62
- 2024Optimizing RLHF Training for Large Language Models with Stage Fusioncited by 41
- 2025Sailor2: Sailing in South-East Asia with Inclusive Multilingual LLMscited by 17
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Corecited by 16
- 2024Pipeline Parallelism with Controllable Memorycited by 11
- 2024Fire-Flyer AI-HPC: A Cost-Effective Software-Hardware Co-Design for Deep Learningcited by 8
- 2025Nesterov Method for Asynchronous Pipeline Parallel Optimizationcited by 6
- 2025PipeOffload: Improving Scalability of Pipeline Parallelism with Memory Optimizationcited by 5
27 more
- 2024MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Trainingcited by 4
- 2025Ferret: An Efficient Online Continual Learning Framework under Varying Memory Constraintscited by 4
- 2024Data movement limits to frontier model trainingcited by 3
- 2024Improving training time and GPU utilization in geo-distributed language model trainingcited by 3
- 2025A Review of DeepSeek Models' Key Innovative Techniquescited by 3
- 2025DeepSeek: Paradigm Shifts and Technical Evolution in Large AI Modelscited by 3
- 2024Model Agnostic Hybrid Sharding For Heterogeneous Distributed Inferencecited by 2
- 2024Echo: Simulating Distributed Training At Scalecited by 2
- 2025CSGO: Generalized Optimization for Cold Start in Wireless Collaborative Edge LLM Systemscited by 2
- 2025BOOST: BOttleneck-Optimized Scalable Training Framework for Low-Rank Large Language Modelscited by 2
- 2026AsyncMesh: Fully Asynchronous Optimization for Data and Pipeline Parallelismcited by 2
- 2025Fine-grained MoE Load Balancing with Linear Programmingcited by 1
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Designcited by 1
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpoweredcited by 1
- 20242BP: 2-Stage Backpropagationcited by 0
- 2024FreeRide: Harvesting Bubbles in Pipeline Parallelismcited by 0
- 2025A Scalable Distributed Framework for Multimodal GigaVoxel Image Registrationcited by 0
- 2025OptPipe: Memory- and Scheduling-Optimized Pipeline Parallelism for LLM Trainingcited by 0
- 2025AsyncHZP: Hierarchical ZeRO Parallelism with Asynchronous Scheduling for Scalable LLM Trainingcited by 0
- 2026TimelyFreeze: Adaptive Parameter Freezing Mechanism for Pipeline Parallelismcited by 0
- 2026Piper: Efficient Large-Scale MoE Training via Resource Modeling and Pipelined Hybrid Parallelismcited by 0
- 2026BigMac: Breaking the Pareto Frontier of Compute and Memory in Multimodal LLM Trainingcited by 0
- 2026Breaking the Bubble: Asynchronous Pipeline Parallel Training with Bounded Weight Inconsistencycited by 0
- 2026The Hitchhiker's Guide to Agentic AI: From Foundations to Systemscited by 0
- 2026One-Step Gradient Delay is Not a Barrier for Large-Scale Asynchronous Pipeline Parallel LLM Pretrainingcited by 0
- 2026WavePP: High-Throughput Pipeline Parallel LLM Prefill under Prefix Reusecited by 0
- 2026SOLO: Pretraining Billion-Parameter Language Models with Shared-Output Local Learningcited by 0
- 2026SOLO: Pretraining Billion-Parameter Language Models with Shared-Output Local Learning28 Sep 2026
- 2026WavePP: High-Throughput Pipeline Parallel LLM Prefill under Prefix Reuse28 Sep 2026
- 2026One-Step Gradient Delay is Not a Barrier for Large-Scale Asynchronous Pipeline Parallel LLM Pretraining29 Jun 2026
- 2026The Hitchhiker's Guide to Agentic AI: From Foundations to Systems22 Jun 2026
- 2026Breaking the Bubble: Asynchronous Pipeline Parallel Training with Bounded Weight Inconsistency5 Jun 2026
- 2026BigMac: Breaking the Pareto Frontier of Compute and Memory in Multimodal LLM Training25 May 2026
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpowered15 May 2026
- 2026Piper: Efficient Large-Scale MoE Training via Resource Modeling and Pipelined Hybrid Parallelism6 May 2026
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Design14 Apr 2026
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Core8 Mar 2026
- 2026GLM-5: from Vibe Coding to Agentic Engineering17 Feb 2026
- 2026TimelyFreeze: Adaptive Parameter Freezing Mechanism for Pipeline Parallelism5 Feb 2026
27 more
- 2026AsyncMesh: Fully Asynchronous Optimization for Data and Pipeline Parallelism30 Jan 2026
- 2025BOOST: BOttleneck-Optimized Scalable Training Framework for Low-Rank Large Language Models13 Dec 2025
- 2025Fine-grained MoE Load Balancing with Linear Programming21 Nov 2025
- 2025Defeating the Training-Inference Mismatch via FP1630 Oct 2025
- 2025AsyncHZP: Hierarchical ZeRO Parallelism with Asynchronous Scheduling for Scalable LLM Training23 Oct 2025
- 2025OptPipe: Memory- and Scheduling-Optimized Pipeline Parallelism for LLM Training6 Oct 2025
- 2025A Scalable Distributed Framework for Multimodal GigaVoxel Image Registration29 Sep 2025
- 2025CSGO: Generalized Optimization for Cold Start in Wireless Collaborative Edge LLM Systems15 Aug 2025
- 2025Kimi K2: Open Agentic Intelligence28 Jul 2025
- 2025DeepSeek: Paradigm Shifts and Technical Evolution in Large AI Models14 Jul 2025
- 2025Nesterov Method for Asynchronous Pipeline Parallel Optimization2 May 2025
- 2025Ferret: An Efficient Online Continual Learning Framework under Varying Memory Constraints15 Mar 2025
- 2025A Review of DeepSeek Models' Key Innovative Techniques14 Mar 2025
- 2025PipeOffload: Improving Scalability of Pipeline Parallelism with Memory Optimization3 Mar 2025
- 2025Sailor2: Sailing in South-East Asia with Inclusive Multilingual LLMs18 Feb 2025
- 2024DeepSeek-V3 Technical Report27 Dec 2024
- 2024Echo: Simulating Distributed Training At Scale17 Dec 2024
- 2024Improving training time and GPU utilization in geo-distributed language model training16 Nov 2024
- 2024Data movement limits to frontier model training2 Nov 2024
- 2024Optimizing RLHF Training for Large Language Models with Stage Fusion20 Sep 2024
- 2024FreeRide: Harvesting Bubbles in Pipeline Parallelism11 Sep 2024
- 2024Fire-Flyer AI-HPC: A Cost-Effective Software-Hardware Co-Design for Deep Learning26 Aug 2024
- 2024MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training8 Aug 2024
- 2024Model Agnostic Hybrid Sharding For Heterogeneous Distributed Inference29 Jul 2024
- 20242BP: 2-Stage Backpropagation28 May 2024
- 2024Pipeline Parallelism with Controllable Memory24 May 2024
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model7 May 2024
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Corecited by 16
- 2024MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Trainingcited by 4
- 2025DeepSeek: Paradigm Shifts and Technical Evolution in Large AI Modelscited by 3
- 2025Fine-grained MoE Load Balancing with Linear Programmingcited by 1
- 2025AsyncHZP: Hierarchical ZeRO Parallelism with Asynchronous Scheduling for Scalable LLM Trainingcited by 0
- 2026Piper: Efficient Large-Scale MoE Training via Resource Modeling and Pipelined Hybrid Parallelismcited by 0
- 2026Piper: Efficient Large-Scale MoE Training via Resource Modeling and Pipelined Hybrid Parallelism6 May 2026
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Core8 Mar 2026
- 2025Fine-grained MoE Load Balancing with Linear Programming21 Nov 2025
- 2025AsyncHZP: Hierarchical ZeRO Parallelism with Asynchronous Scheduling for Scalable LLM Training23 Oct 2025
- 2025DeepSeek: Paradigm Shifts and Technical Evolution in Large AI Models14 Jul 2025
- 2024MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training8 Aug 2024
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model7 May 2024
- 2024DeepSeek-V3 Technical Reportcited by 724
- 2025A Review of DeepSeek Models' Key Innovative Techniquescited by 3
- 2026The Hitchhiker's Guide to Agentic AI: From Foundations to Systemscited by 0
- 2026The Hitchhiker's Guide to Agentic AI: From Foundations to Systems22 Jun 2026
- 2025A Review of DeepSeek Models' Key Innovative Techniques14 Mar 2025
- 2024DeepSeek-V3 Technical Report27 Dec 2024
- 2025Kimi K2: Open Agentic Intelligencecited by 523
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 502
- 2026GLM-5: from Vibe Coding to Agentic Engineering17 Feb 2026
- 2025Kimi K2: Open Agentic Intelligence28 Jul 2025
- 2025Defeating the Training-Inference Mismatch via FP16cited by 62
- 2025Sailor2: Sailing in South-East Asia with Inclusive Multilingual LLMscited by 17
- 2024Pipeline Parallelism with Controllable Memorycited by 11
- 2024Fire-Flyer AI-HPC: A Cost-Effective Software-Hardware Co-Design for Deep Learningcited by 8
- 2025Nesterov Method for Asynchronous Pipeline Parallel Optimizationcited by 6
- 2025PipeOffload: Improving Scalability of Pipeline Parallelism with Memory Optimizationcited by 5
- 2025Ferret: An Efficient Online Continual Learning Framework under Varying Memory Constraintscited by 4
- 2024Data movement limits to frontier model trainingcited by 3
- 2024Improving training time and GPU utilization in geo-distributed language model trainingcited by 3
- 2024Model Agnostic Hybrid Sharding For Heterogeneous Distributed Inferencecited by 2
- 2024Echo: Simulating Distributed Training At Scalecited by 2
- 2025CSGO: Generalized Optimization for Cold Start in Wireless Collaborative Edge LLM Systemscited by 2
12 most cited of 25 All 25 (JSON)
- 2026SOLO: Pretraining Billion-Parameter Language Models with Shared-Output Local Learning28 Sep 2026
- 2026WavePP: High-Throughput Pipeline Parallel LLM Prefill under Prefix Reuse28 Sep 2026
- 2026One-Step Gradient Delay is Not a Barrier for Large-Scale Asynchronous Pipeline Parallel LLM Pretraining29 Jun 2026
- 2026Breaking the Bubble: Asynchronous Pipeline Parallel Training with Bounded Weight Inconsistency5 Jun 2026
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpowered15 May 2026
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Design14 Apr 2026
- 2026TimelyFreeze: Adaptive Parameter Freezing Mechanism for Pipeline Parallelism5 Feb 2026
- 2026AsyncMesh: Fully Asynchronous Optimization for Data and Pipeline Parallelism30 Jan 2026
- 2025BOOST: BOttleneck-Optimized Scalable Training Framework for Low-Rank Large Language Models13 Dec 2025
- 2025Defeating the Training-Inference Mismatch via FP1630 Oct 2025
- 2025OptPipe: Memory- and Scheduling-Optimized Pipeline Parallelism for LLM Training6 Oct 2025
- 2025A Scalable Distributed Framework for Multimodal GigaVoxel Image Registration29 Sep 2025
12 newest of 25 All 25 (JSON)