Efficient Parallelization Layouts for Large-Scale Distributed Model Training
Not on the map. Why?
Abstract (arXiv)
Efficiently training large language models requires parallelizing across hundreds of hardware accelerators and invoking various compute and memory optimizations. When combined, many of these strategies have complex interactions regarding the final training efficiency. Prior work tackling this problem did not have access to the latest set of optimizations, such as FlashAttention or sequence parallelism. In this work, we conduct a comprehensive ablation study of possible training configurations for large language models. We distill this large study into several key recommendations for the most efficient training. For instance, we find that using a micro-batch size of 1 usually enables the most efficient training layouts. Larger micro-batch sizes necessitate activation checkpointing or higher degrees of model parallelism and also lead to larger pipeline bubbles. Our most efficient configurations enable us to achieve state-of-the-art training efficiency results over a range of model sizes, most notably a Model FLOPs utilization of 70.5% when training a Llama 13B model.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 18 of its 24 references that are in the map. First posted on arXiv 9 Nov 2023.
Builds on
18 of 24 references.
References · 18
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2020GLU Variants Improve Transformercited by 1,804
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2016Training Deep Nets with Sublinear Memory Costcited by 848
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
6 more
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
- 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 245
- 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 134
- 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 111
- 2023DISTFLASHATTN: Distributed Memory-efficient Attention for Long-context LLMs Trainingcited by 29
Built on by
Citing papers per year: 2024: 5; 2025: 2; 2026: 1.
8 papers.
- 2024Stable LM 2 1.6B Technical Reportcited by 90
- 2024OpenDiLoCo: An Open-Source Framework for Globally Distributed Low-Communication Trainingcited by 24
- 2025Distributed LLMs and Multimodal Large Language Models: A Survey on Advances, Challenges, and Future Directionscited by 10
- 2024Hardware Scaling Trends and Diminishing Returns in Large-Scale Distributed Trainingcited by 8
- 2024100K or 100 Days: Trade-offs when Pre-Training with Academic Resourcescited by 6
- 2025Video Killed the Energy Budget: Characterizing the Latency and Power Regimes of Open Text-to-Video Modelscited by 3
- 2024Language Adaptation on a Tight Academic Compute Budget: Tokenizer Swapping Works and Pure bfloat16 Is Enoughcited by 2
- 2026Geospatial Diffusion-based Evolution Synthesis (GeoDES) for Storm-Centered Weather Augmentationcited by 0
- 2026Geospatial Diffusion-based Evolution Synthesis (GeoDES) for Storm-Centered Weather Augmentation21 Jul 2026
- 2025Video Killed the Energy Budget: Characterizing the Latency and Power Regimes of Open Text-to-Video Models23 Sep 2025
- 2025Distributed LLMs and Multimodal Large Language Models: A Survey on Advances, Challenges, and Future Directions20 Mar 2025
- 2024Hardware Scaling Trends and Diminishing Returns in Large-Scale Distributed Training20 Nov 2024
- 2024100K or 100 Days: Trade-offs when Pre-Training with Academic Resources30 Oct 2024
- 2024Language Adaptation on a Tight Academic Compute Budget: Tokenizer Swapping Works and Pure bfloat16 Is Enough28 Aug 2024
- 2024OpenDiLoCo: An Open-Source Framework for Globally Distributed Low-Communication Training10 Jul 2024
- 2024Stable LM 2 1.6B Technical Report27 Feb 2024