README

See the paper! https://arxiv.org/abs/1910.02653
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:
TensorFlow 2.0, i.e.
pip install tensorfloworpip install tensorflow-gpu.
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 tutorial
Adapt your Keras model to fit within the memory constraints of a single GPU:
Key ideas
From our paper at MLSys 2020:
Citation
If you use Checkmate in your work, please cite us with:
Last updated