DeepSpeed: System Optimizations Enable Training Deep Learning Models with Over 100 Billion Parameters

By Jeff Rasley, Samyam Rajbhandari, Olatunji Ruwase, Yuxiong He. 2020

2,160 citations recorded by the source corpus.

Explore new techniques in Microsoft's open source library called DeepSpeed, which advances large model training by improving scale, speed, cost, and usability, unlocking the ability to train 100-billion-parameter models. DeepSpeed is compatible with PyTorch. One piece of our library, called ZeRO, is a new parallelized optimizer that greatly reduces the resources needed for model and data parallelism while massively increasing the number of parameters that can be trained. Researchers have used these breakthroughs to create Turing Natural Language Generation (Turing-NLG), which at the time of its release was the largest publicly known language model at 17 billion parameters. In addition we will also go over our latest transformer kernel advancements that led the DeepSpeed team to achieve the world fastest BERT pretraining record. The Zero Redundancy Optimizer (ZeRO) is a novel memory optimization technology for large-scale distributed deep learning. ZeRO can train deep learning models with over 100 billion parameters on the current generation of GPU clusters at three to five times the throughput of the current best system. It also presents a clear path to training models with trillions of parameters, demonstrating an unprecedented leap in deep learning system technology. DeepSpeed brings state-of-the-art training techniques, such as ZeRO, optimized kernels, distributed training, mixed precision, and checkpointing, through lightweight APIs compatible with PyTorch. With just a few lines of code changes to your PyTorch model, you can leverage DeepSpeed to address underlying performance challenges and boost the speed and scale of your training.

Subfields: Artificial Intelligence, Computer Networks and Communications, Hardware and Architecture, Efficiency & Compression, Optimization & Training

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. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Percy Liang
  4. Jianfeng Gao
  5. Yejin Choi
  6. Graham Neubig
  7. Hannaneh Hajishirzi
  8. Noah A. Smith

In Computer Networks and Communications

  1. Dan Hendrycks
  2. Dawn Song
  3. Jie Tang
  4. Carole-Jean Wu
  5. Jacob Steinhardt
  6. Wenhu Chen
  7. Percy Liang
  8. Tri Dao

In Hardware and Architecture

  1. Quoc V. Le
  2. Jared Casper
  3. Mohammad Shoeybi
  4. Bryan Catanzaro
  5. Vijay Anand Korthikanti
  6. Tri Dao
  7. Jie Tang
  8. Xinlong Wang

In Efficiency & Compression

  1. Tri Dao
  2. Alexander M. Rush
  3. Joseph Dean
  4. Barret Zoph
  5. Yuxiong He
  6. Minjia Zhang
  7. Quoc V. Le
  8. Zi-Mei Yao

In Optimization & Training

  1. Quoc V. Le
  2. Barret Zoph
  3. Tri Dao
  4. Andrea Gesmundo
  5. Yuxiong He
  6. Samyam Rajbhandari
  7. Bryan Catanzaro
  8. Ruoming Pang

Citations in the corpus