NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Exploiting Input Tensor Dynamics in Activation Checkpointing for Efficient Training on GPU

Jianjin Liao, Mingzhen Li, Hailong Yang, Qingxiao Sun, Biao Sun, Jiwei Hao, Tianyu Feng, Fengwei Yu, Shengdong Chen, Ye Tao, Zicheng Zhang, Zhongzhi Luan, Depei QianIPDPS 2023

Abstract

Larger deep learning models usually lead to higher model quality, however with an ever-increasing GPU memory footprint. Although several tensor checkpointing techniques have been proposed to enable training under a restricted GPU memory budget, they fail to exploit the input tensor dynamics due to diverse datasets and subsequent data augmentation, and thus leave the training optimization on table. In this paper, we propose Mimose, an input-aware tensor checkpointing planner respecting the memory budget while enabling efficient model training on GPU. Mimose builds a lightweight but accurate prediction model of GPU memory usage online, without pre-analyzing the model. It generates a tensor checkpointing plan based on per-layer memory prediction and applies it to the training process on the fly. Our experiments show that Mimose achieves superior training throughput compared to state-of-the-art checkpointing frameworks under the same GPU memory budgets.
BibTeX
@inproceedings{liao2023exploiting,
  author = {Jianjin Liao and Mingzhen Li and Hailong Yang and Qingxiao Sun and Biao Sun and Jiwei Hao and Tianyu Feng and Fengwei Yu and Shengdong Chen and Ye Tao and Zicheng Zhang and Zhongzhi Luan and Depei Qian},
  title = {{Exploiting Input Tensor Dynamics in Activation Checkpointing for Efficient Training on GPU}},
  booktitle = {IPDPS},
  year = {2023},
  url = {https://openreview.net/forum?id=CFSGNP9s6M},
}

Loading related content...

Figure