README

See the paper! https://arxiv.org/abs/1910.02653arrow-up-right

checkmate breaks the GPU memory wall by enabling researchers to train large state-of-the-art models that do not fit in GPU memory. Checkmate applies optimal tensor rematerialization (as detailed in our paper at MLSys 2020) to trade off space and time.

At the moment, Checkmate only supports TensorFlow 2.0. PyTorch support is coming soon!

IF YOU ARE TRYING TO REPLICATE OUR MLSYS 2020 PAPER, USE THE mlsys20_artifact BRANCH!

Installation

Checkmate depends on:

Once TensorFlow 2.0 and CyLP are installed, Checkmate can be installed using pip via pip install "https://github.com/parasj/checkmate/archive/master.zip#egg=checkmate".

Quick start

Get started in 5m with our TF2.0 quickstart tutorialarrow-up-right

Adapt your Keras model to fit within the memory constraints of a single GPU:

Key ideas

From our paper at MLSys 2020arrow-up-right:

Citation

If you use Checkmate in your work, please cite us with:

Last updated