mlsanityData to 7 Oct 2026

On Optimizing the Communication of Model Parallelism

arXiv 2211.05322 ↗First posted 10 Nov 2022cs.LG cs.DCcited by 19

Not on the map. Why?

Abstract (arXiv)

We study a novel and important communication pattern in large-scale model-parallel deep learning (DL), which we call cross-mesh resharding. This pattern emerges when the two paradigms of model parallelism - intra-operator and inter-operator parallelism - are combined to support large models on large clusters. In cross-mesh resharding, a sharded tensor needs to be sent from a source device mesh to a destination device mesh, on which the tensor may be distributed with the same or different layouts. We formalize this as a many-to-many multicast communication problem, and show that existing approaches either are sub-optimal or do not generalize to different network topologies or tensor layouts, which result from different model architectures and parallelism strategies. We then propose two contributions to address cross-mesh resharding: an efficient broadcast-based communication system, and an "overlapping-friendly" pipeline schedule. On microbenchmarks, our overall system outperforms existing ones by up to 10x across various tensor and mesh layouts. On end-to-end training of two large models, GPT-3 and U-Transformer, we improve throughput by 10% and 50%, respectively.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 25 of its 44 references that are in the map. First posted on arXiv 10 Nov 2022.

Builds on

25 of 44 references.

References · 25

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  4. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  5. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
  6. 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
  7. 2018Horovod: fast and easy distributed deep learning in TensorFlowcited by 275
  8. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
  9. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
  10. 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
  11. 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 133
  12. 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 109
13 more
  1. 2021U-Net Transformer: Self and Cross Attention for Medical Image Segmentationcited by 81
  2. 2022Pathways: Asynchronous Distributed Dataflow for MLcited by 81
  3. 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 74
  4. 2018Supporting Very Large Models using Automatic Dataflow Graph Partitioningcited by 43
  5. 2021Breaking the Computation and Communication Abstraction Barrier in Distributed Machine Learning Workloadscited by 40
  6. 2019Blink: Fast and Generic Collectives for Distributed MLcited by 34
  7. 2020Synthesizing Optimal Collective Algorithmscited by 30
  8. 2018TicTac: Accelerating Distributed Deep Learning with Communication Schedulingcited by 27
  9. 2019Priority-based Parameter Propagation for Distributed DNN Trainingcited by 21
  10. 2022GC3: An Optimizing Compiler for GPU Collective Communicationcited by 6
  11. 2020Hoplite: Efficient and Fault-Tolerant Collective Communication for Task-Based Distributed Systemscited by 4
  12. 2021Synthesizing Optimal Parallelism Placement and Reduction Strategies on Hierarchical Systems for Deep Learningcited by 4
  13. 2021Memory-efficient array redistribution through portable collective communicationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 4; 2024: 9; 2025: 4; 2026: 2.

19 papers.

Sort:

By area:

  1. 2023Efficient Large Language Models: A Surveycited by 183
  2. 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
  3. 2024Optimizing RLHF Training for Large Language Models with Stage Fusioncited by 41
  4. 2024ReaL: Efficient RLHF Training of Large Language Models with Parameter Reallocationcited by 34
  5. 2024Pipeline Parallelism with Controllable Memorycited by 11
  6. 2023SuperScaler: Supporting Flexible DNN Parallelization via a Unified Abstractioncited by 5
  7. 2024Communication Compression for Tensor Parallel LLM Inferencecited by 5
  8. 2023Holmes: Towards Distributed Training Across Clusters with Heterogeneous NIC Environmentcited by 4
  9. 2024Communication Optimization for Distributed Training: Architecture, Advances, and Opportunitiescited by 3
  10. 2023Tessel: Boosting Distributed Execution of Large DNN Models via Flexible Schedule Searchcited by 2
  11. 2024Ravnest: Decentralized Asynchronous Training on Heterogeneous Devicescited by 2
  12. 2024Partitioned Neural Network Training via Synthetic Intermediate Labelscited by 1
7 more
  1. 2025Intra-DP: A High Performance Collaborative Inference System for Mobile Edge Computingcited by 1
  2. 2025CollaPipe: Adaptive Segment-Optimized Pipeline Parallelism for Collaborative LLM Training in Heterogeneous Edge Networkscited by 1
  3. 2026Layer-Parallel Training for Transformerscited by 1
  4. 2024GaNDLF-Synth: A Framework to Democratize Generative AI for (Bio)Medical Imagingcited by 0
  5. 2025Collaborative Inference Acceleration with Non-Penetrative Tensor Partitioningcited by 0
  6. 2025Slicing Is All You Need: Towards A Universal One-Sided Algorithm for Distributed Matrix Multiplicationcited by 0
  7. 2026Performance of Small Language Model Pretraining on FABRIC: An Empirical Studycited by 0