Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerialization

By Paras Jain, Ajay Jain, Aniruddha Nrusimha, A. Gholami, Pieter Abbeel, Kurt Keutzer, Ion Stoica, Joseph E. Gonzalez. 2019

244 citations recorded by the source corpus.

We formalize the problem of trading-off DNN training time and memory requirements as the tensor rematerialization optimization problem, a generalization of prior checkpointing strategies. We introduce Checkmate, a system that solves for optimal rematerialization schedules in reasonable times (under an hour) using off-the-shelf MILP solvers or near-optimal schedules with an approximation algorithm, then uses these schedules to accelerate millions of training iterations. Our method scales to complex, realistic architectures and is hardware-aware through the use of accelerator-specific, profile-based cost models. In addition to reducing training cost, Checkmate enables real-world networks to be trained with up to 5.1x larger input sizes. Checkmate is an open-source project, available at this https URL.

Subfields: Artificial Intelligence, Computational Mathematics, Hardware and Architecture, Efficiency & Compression, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Quoc V. Le
  2. Mohit Bansal
  3. Jianfeng Gao
  4. Yoshua Bengio
  5. Luke S. Zettlemoyer
  6. Percy Liang
  7. Ruslan Salakhutdinov
  8. Graham Neubig

In Computational Mathematics

  1. Kurt Keutzer
  2. Shaden Smith
  3. Xing Liu
  4. Sheng Shen
  5. Kenji Kawaguchi
  6. Quoc V. Le
  7. Adams Wei Yu

In Hardware and Architecture

  1. Mohammad Shoeybi
  2. Bryan Catanzaro
  3. Jared Casper
  4. Vijay Anand Korthikanti
  5. Yuxiong He
  6. D. Narayanan
  7. Amar Phanishayee
  8. Matei A. Zaharia

In Efficiency & Compression

  1. Quoc V. Le
  2. Yuxiong He
  3. Matei A. Zaharia
  4. Samyam Rajbhandari
  5. Bryan Catanzaro
  6. Mohammad Shoeybi
  7. Kurt Keutzer
  8. Hanxiao Liu

In Optimization & Training

  1. Torsten Hoefler
  2. Tal Ben-Nun
  3. Yuxiong He
  4. Samyam Rajbhandari
  5. Kurt Keutzer
  6. Mingxing Tan
  7. Quoc V. Le
  8. Olatunji Ruwase

Citations in the corpus