Rematerialization saves memory during training by recomputing intermediate activations instead of storing them throughout the computation. Paired with model partitioning, it helped GPipe train models beyond the limits of a single device. section 6.3.2 section 6.3.2
Scaling a Transformer
With rematerialization and parameter partitioning, GPipe trained an 83.9-billion-parameter Transformer across 128 TPU partitions. section 6.3.2
