arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.09910cs.DCcs.LG

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

Kakao Brain;UNIST(蔚山科学技术院)

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

英文摘要:

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 https://github.com/kakaobrain/torchgpipe .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑