torchgpipe: On-the-fly Pipeline Parallelism for Training Giant Models

By Chiheon Kim, Heungsub Lee, Myungryong Jeong, Woonhyuk Baek, Boogeon Yoon, Ildoo Kim, Sungbin Lim, Sungwoong Kim. 2020

63 citations recorded by the source corpus.

We design and implement a ready-to-use library in PyTorch for performing micro-batch pipeline parallelism with checkpointing proposed by GPipe (Huang et al., 2019). In particular, we develop a set of design components to enable pipeline-parallel gradient computation in PyTorch's define-by-run and eager execution environment. We show that each component is necessary to fully benefit from pipeline parallelism in such environment, and demonstrate the efficiency of the library by applying it to various network architectures including AmoebaNet-D and U-Net. Our library is available at this https URL .

Subfields: Computer Vision and Pattern Recognition, 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 Computer Vision and Pattern Recognition

  1. Sam Shleifer
  2. S. Avestimehr
  3. Chien-chin Huang
  4. Chuan Wu
  5. Min Xu
  6. M. Soltanolkotabi
  7. Alban Desmaison
  8. Chaoyang He

In Efficiency & Compression

  1. S. Avestimehr
  2. Chien-chin Huang
  3. Chuan Wu
  4. M. Soltanolkotabi
  5. Chaoyang He
  6. Myle Ott
  7. Sam Shleifer

Citations in the corpus