GSPMD: General and Scalable Parallelization for ML Computation Graphs
Not on the map. Why?
Abstract (arXiv)
We present GSPMD, an automatic, compiler-based parallelization system for common machine learning computations. It allows users to write programs in the same way as for a single device, then give hints through a few annotations on how to distribute tensors, based on which GSPMD will parallelize the computation. Its representation of partitioning is simple yet general, allowing it to express different or mixed paradigms of parallelism on a wide variety of models. GSPMD infers the partitioning for every operator based on limited user annotations, making it convenient to scale existing single-device programs. It solves several technical challenges for production usage, allowing GSPMD to achieve 50% to 62% compute utilization on up to 2048 Cloud TPUv3 cores for models with up to one trillion parameters.
Key facts. Cited by 109 papers in the map (data through 7 Oct 2026). Builds on 21 of its 44 references that are in the map. First posted on arXiv 10 May 2021.
Builds on
21 of 44 references.
References · 21
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
- 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
- 20163D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotationcited by 1,471
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
9 more
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
- 2020DAPPLE: A Pipelined Data Parallel Approach for Training Large Modelscited by 100
- 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 74
- 2018Glow: Graph Lowering Compiler Techniques for Neural Networkscited by 73
- 2018Supporting Very Large Models using Automatic Dataflow Graph Partitioningcited by 43
- 2020Automatic Cross-Replica Sharding of Weight Update in Data-Parallel Trainingcited by 30
- 2018Relay: A New IR for Machine Learning Frameworkscited by 24
- 2020Efficient Algorithms for Device Placement of DNN Graph Operatorscited by 24
Built on by
Citing papers per year: 2021: 11; 2022: 17; 2023: 25; 2024: 19; 2025: 21; 2026: 16.
109 papers.
Sort:
By area:
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2025Gemma 3 Technical Reportcited by 1,686
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2023PaLM 2 Technical Reportcited by 1,154
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
- 2022Mixture-of-Experts with Expert Choice Routingcited by 611
- 2022Efficiently Scaling Transformer Inferencecited by 529
38 more
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2025MAGI-1: Autoregressive Video Generation at Scalecited by 262
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2022Unified Scaling Laws for Routed Language Modelscited by 249
- 2023Google USM: Scaling Automatic Speech Recognition Beyond 100 Languagescited by 228
- 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 198
- 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
- 2026Gemma 4 Technical Reportcited by 187
- 2024OpenMoE: An Early Effort on Open Mixture-of-Experts Language Modelscited by 185
- 2021Combined Scaling for Zero-shot Transfer Learningcited by 182
- 2023Noise2Music: Text-conditioned Music Generation with Diffusion Modelscited by 173
- 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 125
- 2025Cambrian-S: Towards Spatial Supersensing in Videocited by 123
- 2021Large-Scale Differentially Private BERTcited by 117
- 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 103
- 2024DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Modelscited by 98
- 2021BigSSL: Exploring the Frontier of Large-Scale Semi-Supervised Learning for Automatic Speech Recognitioncited by 88
- 2022Decentralized Training of Foundation Models in Heterogeneous Environmentscited by 87
- 2022Zeus: Understanding and Optimizing GPU Energy Consumption of DNN Trainingcited by 78
- 2023Deep Learning for Day Forecasts from Sparse Observationscited by 70
- 2022When does dough become a bagel? Analyzing the remaining mistakes on ImageNetcited by 60
- 2022Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelismcited by 51
- 2024On Scaling Up 3D Gaussian Splatting Trainingcited by 49
- 2023AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Servingcited by 31
- 2025MegaScale-Infer: Serving Mixture-of-Experts at Scale with Disaggregated Expert Parallelismcited by 31
- 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 25
- 2024AsyncDiff: Parallelizing Diffusion Models by Asynchronous Denoisingcited by 22
- 2021Skillful Twelve Hour Precipitation Forecasts using Large Context Neural Networkscited by 20
- 2022Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learningcited by 20
- 2022On Optimizing the Communication of Model Parallelismcited by 19
- 2023IRGen: Generative Modeling for Image Retrievalcited by 18
- 2024ORBIT: Oak Ridge Base Foundation Model for Earth System Predictabilitycited by 17
- 2023MAD Max Beyond Single-Node: Enabling Large Machine Learning Model Acceleration on Distributed Systemscited by 14
- 2023Improving Automatic Parallel Training via Balanced Memory Workload Optimizationcited by 13
- 2026Scaling Mixture-of-Experts Video Pretraining for Embodied Intelligencecited by 13
- 2021Automap: Towards Ergonomic Automated Parallelism for ML Modelscited by 12
- 2023Blockwise Parallel Transformer for Large Context Modelscited by 12
- 2021Amazon SageMaker Model Parallelism: A General and Flexible Framework for Large Model Trainingcited by 11
50 most cited of 109 All 109 (JSON)
- 2026Accelerator Choice Is Not Enough: AlphaFold2 Inference on Cloud TPUs28 Sep 2026
- 2026The Life of a Token: from Words to Bits on the Wire17 Sep 2026
- 2026vidax: A Unified JAX Framework for Video Generative Models on Accelerator Meshes16 Sep 2026
- 2026FlashRT: Agent Harness for Guiding Agents to Deploy Real-Time Multimodal Applications20 Jul 2026
- 2026Scaling Mixture-of-Experts Video Pretraining for Embodied Intelligence8 Jul 2026
- 2026Gemma 4 Technical Report2 Jul 2026
- 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetry25 Jun 2026
- 2026AoiZora: Topology-Aware Auto-Parallel Optimization for Inference of Diffusion Transformers16 Jun 2026
- 2026A Scalable PyTorch Abstraction for Multi-GPU Gaussian Splatting9 Jun 2026
- 2026Piper: A Programmable Distributed Training System9 Jun 2026
- 2026PARCEL: Pool-Anchored Resampling with Conditioned Elastic Queries for Efficient Vision-Language Understanding28 May 2026
- 2026The Quantization Benefits of Residual-Free Transformers25 May 2026
38 more
- 2026AutoSP: Unlocking Long-Context LLM Training Via Compiler-Based Sequence Parallelism29 Apr 2026
- 2026veScale-FSDP: Flexible and High-Performance FSDP at Scale25 Feb 2026
- 2026Performance of Small Language Model Pretraining on FABRIC: An Empirical Study2 Feb 2026
- 2026Axe: A Simple Unified Layout Abstraction for Machine Learning Compilers27 Jan 2026
- 2025nncase: An End-to-End Compiler for Efficient LLM Deployment on Heterogeneous Storage Architectures25 Dec 2025
- 2025Cornfigurator: Automated Planning for Any-to-Any Multimodal Model Serving16 Dec 2025
- 2025BOOST: BOttleneck-Optimized Scalable Training Framework for Low-Rank Large Language Models13 Dec 2025
- 2025Cambrian-S: Towards Spatial Supersensing in Video6 Nov 2025
- 2025From Score Distributions to Balance: Plug-and-Play Mixture-of-Experts Routing29 Sep 2025
- 2025Dato: A Task-Based Programming Model for Dataflow Accelerators8 Sep 2025
- 2025veScale: Consistent and Efficient Tensor Programming with Eager-Mode SPMD5 Sep 2025
- 2025Learning to Shard: RL for Co-optimizing the Parallelism Degrees and Per-operator Sharding Dimensions in Distributed LLM Inference29 Aug 2025
- 2025TOAST: Fast and scalable auto-partitioning based on principled static analysis20 Aug 2025
- 2025An End-to-End DNN Inference Framework for the SpiNNaker2 Neuromorphic MPSoC18 Jul 2025
- 2025AXLearn: Modular, Hardware-Agnostic Large Model Training7 Jul 2025
- 2025Large-Area Fabrication-Aware Computational Diffractive Optics28 May 2025
- 2025MAGI-1: Autoregressive Video Generation at Scale19 May 2025
- 2025HessFormer: Hessians at Foundation Scale16 May 2025
- 2025You Don't Need All Attentions: Distributed Dynamic Fine-Tuning for Foundation Models16 Apr 2025
- 2025Lumos: Efficient Performance Modeling and Estimation for Large-scale LLM Training12 Apr 2025
- 2025MegaScale-Infer: Serving Mixture-of-Experts at Scale with Disaggregated Expert Parallelism3 Apr 2025
- 2025Gemma 3 Technical Report25 Mar 2025
- 2025Automatic Operator-level Parallelism Planning for Distributed Deep Learning -- A Mixed-Integer Programming Approach12 Mar 2025
- 2025StagFormer: Time Staggering Transformer Decoding for RunningLayers In Parallel26 Jan 2025
- 2025MixGCN: Scalable GCN Training by Mixture of Parallelism and Mixture of Accelerators3 Jan 2025
- 2024Scaling Deep Learning Training with MPMD Pipeline Parallelism18 Dec 2024
- 2024NeuralDEM -- Real-time Simulation of Industrial Particulate Flows14 Nov 2024
- 2024Accelerating Large Language Model Training with 4D Parallelism and Memory Consumption Estimator10 Nov 2024
- 2024SimpleFSDP: Simpler Fully Sharded Data Parallel with torch.compile1 Nov 2024
- 2024ACER: Automatic Language Model Context Extension via Retrieval11 Oct 2024
- 2024Cross-Domain Content Generation with Domain-Specific Small Language Models19 Sep 2024
- 2024Scaling Deep Learning Computation over the Inter-Core Connected Intelligence Processor with T109 Aug 2024
- 2024Gemma 2: Improving Open Language Models at a Practical Size31 Jul 2024
- 2024On Scaling Up 3D Gaussian Splatting Training26 Jun 2024
- 2024ProTrain: Efficient LLM Training via Memory-Aware Techniques12 Jun 2024
- 2024AsyncDiff: Parallelizing Diffusion Models by Asynchronous Denoising11 Jun 2024
- 2024Revisiting MoE and Dense Speed-Accuracy Comparisons for LLM Training23 May 2024
- 2024ORBIT: Oak Ridge Base Foundation Model for Earth System Predictability23 Apr 2024
50 newest of 109 All 109 (JSON)
- 2022Mixture-of-Experts with Expert Choice Routingcited by 611
- 2024OpenMoE: An Early Effort on Open Mixture-of-Experts Language Modelscited by 185
- 2025MegaScale-Infer: Serving Mixture-of-Experts at Scale with Disaggregated Expert Parallelismcited by 31
- 2026Scaling Mixture-of-Experts Video Pretraining for Embodied Intelligencecited by 13
- 2024Revisiting MoE and Dense Speed-Accuracy Comparisons for LLM Trainingcited by 8
- 2025From Score Distributions to Balance: Plug-and-Play Mixture-of-Experts Routingcited by 5
- 2025HessFormer: Hessians at Foundation Scalecited by 4
- 2026Scaling Mixture-of-Experts Video Pretraining for Embodied Intelligence8 Jul 2026
- 2025From Score Distributions to Balance: Plug-and-Play Mixture-of-Experts Routing29 Sep 2025
- 2025HessFormer: Hessians at Foundation Scale16 May 2025
- 2025MegaScale-Infer: Serving Mixture-of-Experts at Scale with Disaggregated Expert Parallelism3 Apr 2025
- 2024Revisiting MoE and Dense Speed-Accuracy Comparisons for LLM Training23 May 2024
- 2024OpenMoE: An Early Effort on Open Mixture-of-Experts Language Models29 Jan 2024
- 2022Mixture-of-Experts with Expert Choice Routing18 Feb 2022
- 2023Noise2Music: Text-conditioned Music Generation with Diffusion Modelscited by 173
- 2024DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Modelscited by 98
- 2024AsyncDiff: Parallelizing Diffusion Models by Asynchronous Denoisingcited by 22
- 2026AoiZora: Topology-Aware Auto-Parallel Optimization for Inference of Diffusion Transformerscited by 0
- 2026AoiZora: Topology-Aware Auto-Parallel Optimization for Inference of Diffusion Transformers16 Jun 2026
- 2024AsyncDiff: Parallelizing Diffusion Models by Asynchronous Denoising11 Jun 2024
- 2024DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Models29 Feb 2024
- 2023Noise2Music: Text-conditioned Music Generation with Diffusion Models8 Feb 2023
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2025MAGI-1: Autoregressive Video Generation at Scalecited by 262
- 2025Cambrian-S: Towards Spatial Supersensing in Videocited by 123
- 2025Cambrian-S: Towards Spatial Supersensing in Video6 Nov 2025
- 2025MAGI-1: Autoregressive Video Generation at Scale19 May 2025
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Experts13 Dec 2021
- 2023PaLM 2 Technical Reportcited by 1,154
- 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 103
- 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generation28 Jul 2023
- 2023PaLM 2 Technical Report17 May 2023
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2025Gemma 3 Technical Reportcited by 1,686
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2022Unified Scaling Laws for Routed Language Modelscited by 249
12 most cited of 90 All 90 (JSON)
- 2026Accelerator Choice Is Not Enough: AlphaFold2 Inference on Cloud TPUs28 Sep 2026
- 2026The Life of a Token: from Words to Bits on the Wire17 Sep 2026
- 2026vidax: A Unified JAX Framework for Video Generative Models on Accelerator Meshes16 Sep 2026
- 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetry25 Jun 2026
- 2026A Scalable PyTorch Abstraction for Multi-GPU Gaussian Splatting9 Jun 2026
- 2026Piper: A Programmable Distributed Training System9 Jun 2026
- 2026The Quantization Benefits of Residual-Free Transformers25 May 2026
- 2026AutoSP: Unlocking Long-Context LLM Training Via Compiler-Based Sequence Parallelism29 Apr 2026
- 2026veScale-FSDP: Flexible and High-Performance FSDP at Scale25 Feb 2026
- 2026Performance of Small Language Model Pretraining on FABRIC: An Empirical Study2 Feb 2026
- 2026Axe: A Simple Unified Layout Abstraction for Machine Learning Compilers27 Jan 2026
- 2025nncase: An End-to-End Compiler for Efficient LLM Deployment on Heterogeneous Storage Architectures25 Dec 2025
12 newest of 90 All 90 (JSON)