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

By Can Bülent Karakus, R. Huilgol, Fei Wu, Anirudh Subramanian, Cade Daniel, D. Çavdar, Teng Xu, Haohan Chen, Arash Rahnama, L. Quintela. 2021

32 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Hardware and Architecture, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohammad Shoeybi
  2. Sebastian Gehrmann
  3. Bryan Catanzaro
  4. Shijie Wu
  5. Mark Dredze
  6. James Hegarty
  7. David Stuart Rosenberg
  8. Gideon Mann

In Computer Vision and Pattern Recognition

  1. Mohammad Shoeybi
  2. Mark Dredze
  3. James Hegarty
  4. Prabhanjan Kambadur
  5. Mostafa Elhoushi
  6. Bryan Catanzaro
  7. Ozan Irsoy
  8. Vijay Anand Korthikanti

In Hardware and Architecture

  1. Mohammad Shoeybi
  2. Prabhanjan Kambadur
  3. Lawrence C. McAfee
  4. Bryan Catanzaro
  5. Vijay Anand Korthikanti
  6. Sebastian Gehrmann
  7. Sangkug Lym
  8. Jacob Kahn

In Efficiency & Compression

  1. Mohammad Shoeybi
  2. Bryan Catanzaro
  3. James Hegarty
  4. Lawrence C. McAfee
  5. Mostafa Elhoushi
  6. Vijay Anand Korthikanti
  7. Sebastian Gehrmann
  8. Benoit Steiner

Citations in the corpus