GPipe: Efficient Training of Giant Neural Networks using Pipeline Parallelism
Not on the map. Why?
Abstract (arXiv)
Scaling up deep neural network capacity has been known as an effective approach to improving model quality for several different machine learning tasks. In many cases, increasing model capacity beyond the memory limit of a single accelerator has required developing special algorithms or infrastructure. These solutions are often architecture-specific and do not transfer to other tasks. To address the need for efficient and task-independent model parallelism, we introduce GPipe, a pipeline parallelism library that allows scaling any network that can be expressed as a sequence of layers. By pipelining different sub-sequences of layers on separate accelerators, GPipe provides the flexibility of scaling a variety of different networks to gigantic sizes efficiently. Moreover, GPipe utilizes a novel batch-splitting pipelining algorithm, resulting in almost linear speedup when a model is partitioned across multiple accelerators. We demonstrate the advantages of GPipe by training large-scale neural networks on two different tasks with distinct network architectures: (i) Image Classification: We train a 557-million-parameter AmoebaNet model and attain a top-1 accuracy of 84.4% on ImageNet-2012, (ii) Multilingual Neural Machine Translation: We train a single 6-billion-parameter, 128-layer Transformer model on a corpus spanning over 100 languages and achieve better quality than all bilingual models.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 Nov 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 1; 2024: 4; 2025: 1; 2026: 2.
10 papers.
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,234
- 2023Efficient Large Language Models: A Surveycited by 186
- 2025Vchitect-2.0: Parallel Transformer for Scaling Up Video Diffusion Modelscited by 60
- 2022Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelismcited by 53
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2022Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learningcited by 20
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Corecited by 19
- 2024Advancing Deep Active Learning & Data Subset Selection: Unifying Principles with Information-Theory Intuitionscited by 7
- 2024E2GAN: Efficient Training of Efficient GANs for Image-to-Image Translationcited by 1
- 2026DySCo: Dynamic Sharding for Collaborative Edge-Cloud LLM Inference with Depth-Synchronized Batchingcited by 0
- 2026DySCo: Dynamic Sharding for Collaborative Edge-Cloud LLM Inference with Depth-Synchronized Batching6 Oct 2026
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Core8 Mar 2026
- 2025Vchitect-2.0: Parallel Transformer for Scaling Up Video Diffusion Models14 Jan 2025
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution18 Sep 2024
- 2024How Far Are We From AGI: Are LLMs All We Need?16 May 2024
- 2024E2GAN: Efficient Training of Efficient GANs for Image-to-Image Translation11 Jan 2024
- 2024Advancing Deep Active Learning & Data Subset Selection: Unifying Principles with Information-Theory Intuitions9 Jan 2024
- 2023Efficient Large Language Models: A Survey6 Dec 2023
- 2022Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelism25 Nov 2022
- 2022Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learning28 Jan 2022