Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lower memory consumption in Colab demo #126

Merged
merged 7 commits into from
Sep 15, 2021

Conversation

vfbd
Copy link
Contributor

@vfbd vfbd commented Sep 14, 2021

This pull request includes a new implementation of read_ckpt, named read_ckpt_lowmem, in checkpoint.py that uses less system RAM and more device RAM so that the Colab demo will work correctly on all current TPU Colab instances. The original implementation will crash TPU Colab instances that don't have at least 13-14 GiB of system RAM.

@kingoflolz kingoflolz merged commit 8f071d0 into kingoflolz:master Sep 15, 2021
@kingoflolz
Copy link
Owner

Thanks!

@vfbd vfbd deleted the patch branch September 15, 2021 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants