On Optimizing the Communication of Model Parallelism
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
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2018Horovod: fast and easy distributed deep learning in TensorFlowcited by 275
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
- 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 133
- 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 109
13 more
- 2021U-Net Transformer: Self and Cross Attention for Medical Image Segmentationcited by 81
- 2022Pathways: Asynchronous Distributed Dataflow for MLcited by 81
- 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 74
- 2018Supporting Very Large Models using Automatic Dataflow Graph Partitioningcited by 43
- 2021Breaking the Computation and Communication Abstraction Barrier in Distributed Machine Learning Workloadscited by 40
- 2019Blink: Fast and Generic Collectives for Distributed MLcited by 34
- 2020Synthesizing Optimal Collective Algorithmscited by 30
- 2018TicTac: Accelerating Distributed Deep Learning with Communication Schedulingcited by 27
- 2019Priority-based Parameter Propagation for Distributed DNN Trainingcited by 21
- 2022GC3: An Optimizing Compiler for GPU Collective Communicationcited by 6
- 2020Hoplite: Efficient and Fault-Tolerant Collective Communication for Task-Based Distributed Systemscited by 4
- 2021Synthesizing Optimal Parallelism Placement and Reduction Strategies on Hierarchical Systems for Deep Learningcited by 4
- 2021Memory-efficient array redistribution through portable collective communicationcited by 3
Built on by
Citing papers per year: 2023: 4; 2024: 9; 2025: 4; 2026: 2.
19 papers.
Sort:
By area:
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024Optimizing RLHF Training for Large Language Models with Stage Fusioncited by 41
- 2024ReaL: Efficient RLHF Training of Large Language Models with Parameter Reallocationcited by 34
- 2024Pipeline Parallelism with Controllable Memorycited by 11
- 2023SuperScaler: Supporting Flexible DNN Parallelization via a Unified Abstractioncited by 5
- 2024Communication Compression for Tensor Parallel LLM Inferencecited by 5
- 2023Holmes: Towards Distributed Training Across Clusters with Heterogeneous NIC Environmentcited by 4
- 2024Communication Optimization for Distributed Training: Architecture, Advances, and Opportunitiescited by 3
- 2023Tessel: Boosting Distributed Execution of Large DNN Models via Flexible Schedule Searchcited by 2
- 2024Ravnest: Decentralized Asynchronous Training on Heterogeneous Devicescited by 2
- 2024Partitioned Neural Network Training via Synthetic Intermediate Labelscited by 1
7 more
- 2025Intra-DP: A High Performance Collaborative Inference System for Mobile Edge Computingcited by 1
- 2025CollaPipe: Adaptive Segment-Optimized Pipeline Parallelism for Collaborative LLM Training in Heterogeneous Edge Networkscited by 1
- 2026Layer-Parallel Training for Transformerscited by 1
- 2024GaNDLF-Synth: A Framework to Democratize Generative AI for (Bio)Medical Imagingcited by 0
- 2025Collaborative Inference Acceleration with Non-Penetrative Tensor Partitioningcited by 0
- 2025Slicing Is All You Need: Towards A Universal One-Sided Algorithm for Distributed Matrix Multiplicationcited by 0
- 2026Performance of Small Language Model Pretraining on FABRIC: An Empirical Studycited by 0
- 2026Performance of Small Language Model Pretraining on FABRIC: An Empirical Study2 Feb 2026
- 2026Layer-Parallel Training for Transformers13 Jan 2026
- 2025Slicing Is All You Need: Towards A Universal One-Sided Algorithm for Distributed Matrix Multiplication10 Oct 2025
- 2025CollaPipe: Adaptive Segment-Optimized Pipeline Parallelism for Collaborative LLM Training in Heterogeneous Edge Networks24 Sep 2025
- 2025Intra-DP: A High Performance Collaborative Inference System for Mobile Edge Computing8 Jul 2025
- 2025Collaborative Inference Acceleration with Non-Penetrative Tensor Partitioning8 Jan 2025
- 2024Communication Compression for Tensor Parallel LLM Inference14 Nov 2024
- 2024GaNDLF-Synth: A Framework to Democratize Generative AI for (Bio)Medical Imaging30 Sep 2024
- 2024Optimizing RLHF Training for Large Language Models with Stage Fusion20 Sep 2024
- 2024ReaL: Efficient RLHF Training of Large Language Models with Parameter Reallocation20 Jun 2024
- 2024Pipeline Parallelism with Controllable Memory24 May 2024
- 2024Partitioned Neural Network Training via Synthetic Intermediate Labels17 Mar 2024
7 more
- 2024Communication Optimization for Distributed Training: Architecture, Advances, and Opportunities12 Mar 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Models16 Jan 2024
- 2024Ravnest: Decentralized Asynchronous Training on Heterogeneous Devices3 Jan 2024
- 2023Efficient Large Language Models: A Survey6 Dec 2023
- 2023Holmes: Towards Distributed Training Across Clusters with Heterogeneous NIC Environment6 Dec 2023
- 2023Tessel: Boosting Distributed Execution of Large DNN Models via Flexible Schedule Search26 Nov 2023
- 2023SuperScaler: Supporting Flexible DNN Parallelization via a Unified Abstraction21 Jan 2023
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024Pipeline Parallelism with Controllable Memorycited by 11
- 2023SuperScaler: Supporting Flexible DNN Parallelization via a Unified Abstractioncited by 5
- 2024Communication Compression for Tensor Parallel LLM Inferencecited by 5
- 2023Holmes: Towards Distributed Training Across Clusters with Heterogeneous NIC Environmentcited by 4
- 2024Communication Optimization for Distributed Training: Architecture, Advances, and Opportunitiescited by 3
- 2023Tessel: Boosting Distributed Execution of Large DNN Models via Flexible Schedule Searchcited by 2
- 2024Ravnest: Decentralized Asynchronous Training on Heterogeneous Devicescited by 2
- 2024Partitioned Neural Network Training via Synthetic Intermediate Labelscited by 1
- 2025Intra-DP: A High Performance Collaborative Inference System for Mobile Edge Computingcited by 1
- 2025CollaPipe: Adaptive Segment-Optimized Pipeline Parallelism for Collaborative LLM Training in Heterogeneous Edge Networkscited by 1
12 most cited of 16 All 16 (JSON)
- 2026Performance of Small Language Model Pretraining on FABRIC: An Empirical Study2 Feb 2026
- 2026Layer-Parallel Training for Transformers13 Jan 2026
- 2025Slicing Is All You Need: Towards A Universal One-Sided Algorithm for Distributed Matrix Multiplication10 Oct 2025
- 2025CollaPipe: Adaptive Segment-Optimized Pipeline Parallelism for Collaborative LLM Training in Heterogeneous Edge Networks24 Sep 2025
- 2025Intra-DP: A High Performance Collaborative Inference System for Mobile Edge Computing8 Jul 2025
- 2024Communication Compression for Tensor Parallel LLM Inference14 Nov 2024
- 2024GaNDLF-Synth: A Framework to Democratize Generative AI for (Bio)Medical Imaging30 Sep 2024
- 2024Pipeline Parallelism with Controllable Memory24 May 2024
- 2024Partitioned Neural Network Training via Synthetic Intermediate Labels17 Mar 2024
- 2024Communication Optimization for Distributed Training: Architecture, Advances, and Opportunities12 Mar 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Models16 Jan 2024
- 2024Ravnest: Decentralized Asynchronous Training on Heterogeneous Devices3 Jan 2024
12 newest of 16 All 16 (JSON)