Amazon SageMaker Model Parallelism: A General and Flexible Framework for Large Model Training
Not on the map. Why?
Abstract (arXiv)
With deep learning models rapidly growing in size, systems-level solutions for large-model training are required. We present Amazon SageMaker model parallelism, a software library that integrates with PyTorch, and enables easy training of large models using model parallelism and other memory-saving features. In contrast to existing solutions, the implementation of the SageMaker library is much more generic and flexible, in that it can automatically partition and run pipeline parallelism over arbitrary model architectures with minimal code change, and also offers a general and extensible framework for tensor parallelism, which supports a wider range of use cases, and is modular enough to be easily applied to new training scripts. The library also preserves the native PyTorch user experience to a much larger degree, supporting module re-use and dynamic graphs, while giving the user full control over the details of the training step. We evaluate performance over GPT-3, RoBERTa, BERT, and neural collaborative filtering, and demonstrate competitive performance over existing solutions.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 19 of its 32 references that are in the map. First posted on arXiv 10 Nov 2021.
Builds on
19 of 32 references.
References · 19
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 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
- 2017Neural Collaborative Filteringcited by 1,108
- 2018Regularized Evolution for Image Classifier Architecture Searchcited by 902
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
7 more
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
- 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
- 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 74
- 2018Efficient and Robust Parallel DNN Training through Model Parallelism on Multi-GPU Platformcited by 28
Built on by
Citing papers per year: 2022: 3; 2023: 6; 2024: 2.
11 papers.
- 2023BloombergGPT: A Large Language Model for Financecited by 923
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2024Recurrent Drafter for Fast Speculative Decoding in Large Language Modelscited by 35
- 2023CASSINI: Network-Aware Job Scheduling in Machine Learning Clusterscited by 26
- 2023Unicron: Economizing Self-Healing LLM Training at Scalecited by 16
- 2022Merak: An Efficient Distributed DNN Training Framework with Automated 3D Parallelism for Giant Foundation Modelscited by 11
- 2022OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networkscited by 6
- 2023Pipeline MoE: A Flexible MoE Implementation with Pipeline Parallelismcited by 4
- 2023Baechi: Fast Device Placement of Machine Learning Graphscited by 2
- 2023Partitioning Distributed Compute Jobs with Reinforcement Learning and Graph Neural Networkscited by 0
- 2024Comparative Analysis of AWS Model Deployment Servicescited by 0
- 2024Comparative Analysis of AWS Model Deployment Services13 May 2024
- 2024Recurrent Drafter for Fast Speculative Decoding in Large Language Models14 Mar 2024
- 2023Unicron: Economizing Self-Healing LLM Training at Scale30 Dec 2023
- 2023CASSINI: Network-Aware Job Scheduling in Machine Learning Clusters1 Aug 2023
- 2023Pipeline MoE: A Flexible MoE Implementation with Pipeline Parallelism22 Apr 2023
- 2023BloombergGPT: A Large Language Model for Finance30 Mar 2023
- 2023Partitioning Distributed Compute Jobs with Reinforcement Learning and Graph Neural Networks31 Jan 2023
- 2023Baechi: Fast Device Placement of Machine Learning Graphs20 Jan 2023
- 2022OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networks24 Oct 2022
- 2022Merak: An Efficient Distributed DNN Training Framework with Automated 3D Parallelism for Giant Foundation Models10 Jun 2022
- 2022Reducing Activation Recomputation in Large Transformer Models10 May 2022