GPipe
GPipe: Efficient Training of Giant Neural Networks using Pipeline Parallelism
Yanping Huang et al. · NeurIPS 2019
Partition layers across devices and split batches into microbatches for pipelined execution with gradient accumulation.
What you will implement
A CPU model of equal-duration stages and synchronous updates, with linear regression; communication, BatchNorm and rematerialization are outside this kernel.
- 154. GPipe Fill-Drain Scheduling and Microbatch Gradients
Build fill-drain events and preserve full-batch mean gradients under microbatching.
A CPU model of equal-duration stages and synchronous updates, with linear regression; communication, BatchNorm and rematerialization are outside this kernel.