ZeRO-Offload: Democratizing Billion-Scale Model Training

By Jie Ren, Samyam Rajbhandari, Reza Yazdani Aminabadi, Olatunji Ruwase, Shuangyang Yang, Minjia Zhang, Yuxiong He. 2021

618 citations recorded by the source corpus.

Large-scale model training has been a playing ground for a limited few requiring complex model refactoring and access to prohibitively expensive GPU clusters. ZeRO-Offload changes the large model training landscape by making large model training accessible to nearly everyone. It can train models with over 13 billion parameters on a single GPU, a 10x increase in size compared to popular framework such as PyTorch, and it does so without requiring any model change from the data scientists or sacrificing computational efficiency. ZeRO-Offload enables large model training by offloading data and compute to CPU. To preserve compute efficiency, it is designed to minimize the data movement to/from GPU, and reduce CPU compute time while maximizing memory savings on GPU. As a result, ZeRO-Offload can achieve 40 TFlops/GPU on a single NVIDIA V100 GPU for 10B parameter model compared to 30TF using PyTorch alone for a 1.4B parameter model, the largest that can be trained without running out of memory. ZeRO-Offload is also designed to scale on multiple-GPUs when available, offering near linear speedup on up to 128 GPUs. Additionally, it can work together with model parallelism to train models with over 70 billion parameters on a single DGX-2 box, a 4.5x increase in model size compared to using model parallelism alone. By combining compute and memory efficiency with ease-of-use, ZeRO-Offload democratizes large-scale model training making it accessible to even data scientists with access to just a single GPU.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, 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. Mohit Bansal
  2. Graham Neubig
  3. Luke S. Zettlemoyer
  4. Quoc V. Le
  5. Jianfeng Gao
  6. Percy Liang
  7. Yejin Choi
  8. Kyunghyun Cho

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Andrew Zisserman
  5. Jitendra Malik
  6. Ming-Hsuan Yang
  7. Xiaogang Wang
  8. Cordelia Schmid

In Hardware and Architecture

  1. Mohammad Shoeybi
  2. Bryan Catanzaro
  3. Jared Casper
  4. Vijay Anand Korthikanti
  5. Yi Tay
  6. Jie Tang
  7. Xiao Liu
  8. Lawrence C. McAfee

In Efficiency & Compression

  1. Yuxiong He
  2. Samyam Rajbhandari
  3. Barret Zoph
  4. Mohammad Shoeybi
  5. Matei A. Zaharia
  6. Joseph Dean
  7. Bryan Catanzaro
  8. Yi Tay

In Optimization & Training

  1. Yuxiong He
  2. Samyam Rajbhandari
  3. Olatunji Ruwase
  4. Bryan Catanzaro
  5. Mohammad Shoeybi
  6. Jeff Rasley
  7. Behnam Neyshabur
  8. Jie Tang

Citations in the corpus