mlsanityData to 7 Oct 2026

Amazon SageMaker Model Parallelism: A General and Flexible Framework for Large Model Training

arXiv 2111.05972 ↗First posted 10 Nov 2021cs.LG cs.AI cs.DCcited by 11

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  6. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  7. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  8. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  9. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  10. 2017Neural Collaborative Filteringcited by 1,108
  11. 2018Regularized Evolution for Image Classifier Architecture Searchcited by 902
  12. 2016Training Deep Nets with Sublinear Memory Costcited by 825
7 more
  1. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
  2. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
  3. 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
  4. 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 133
  5. 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 109
  6. 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 74
  7. 2018Efficient and Robust Parallel DNN Training through Model Parallelism on Multi-GPU Platformcited by 28

Built on by

Cited by year

Citing papers per year: 2022: 3; 2023: 6; 2024: 2.

11 papers.