Dynamic Tensor Rematerialization
Kirisame, Marisa, Lyubomirsky, Steven, Haan, Altan, Brennan, Jennifer, He, Mike, Roesch, Jared, Chen, Tianqi, Tatlock, Zachary
As state-of-the-art deep learning (DL) models continue to grow, training them within the constraints of on-device memory becomes increasingly challenging. The memory demands of recent models prevent their training on memorylimited devices (such as specialized accelerators, low-powered embedded devices, or older GPUs) and limit researchers' ability to explore memory-intensive architectures or training techniques. Checkpointing enables training with models and batches that are larger than would otherwise fit in on-device memory without modifying the model's design. This is achieved by freeing some activations from memory and recomputing them on demand. Adapted from techniques in automatic differentiation [Baydin et al., 2015, Griewank and Walther, 2000, Siskind and Pearlmutter, 2018], checkpointing in the DL context exploits the fact that intermediate activations for backpropagation dominate memory usage during training [Sohoni et al., 2019] but can be easily recomputed by replaying parts of the forward pass.
Oct-12-2020
- Country:
- North America > United States
- Washington > King County
- Seattle (0.14)
- Pennsylvania > Allegheny County
- Pittsburgh (0.14)
- New York > New York County
- New York City (0.04)
- Washington > King County
- Asia > Middle East
- Jordan (0.04)
- North America > United States
- Genre:
- Research Report > New Finding (0.45)
- Technology: