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

[checkpointing] import async checkpoint with pinned memory only when needed #333

Merged
merged 1 commit into from
May 15, 2024

Conversation

tianyu-l
Copy link
Contributor

@tianyu-l tianyu-l commented May 15, 2024

Stack from ghstack (oldest at bottom):

"Async checkpointing with pinned memory" requires a very recent pytorch nightly. Since we don't want to fix a nightly in requirements.txt, and this checkpointing option is not the default one, let's not import it under all circumstances.

tianyu-l added a commit that referenced this pull request May 15, 2024
…needed

ghstack-source-id: e460a8d6458f191f7f589fc908974f896b514690
Pull Request resolved: #333
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 15, 2024
@tianyu-l tianyu-l requested review from fegin and wanchaol May 15, 2024 04:04
@tianyu-l tianyu-l mentioned this pull request May 15, 2024
@tianyu-l tianyu-l merged commit 20cf1e0 into gh/tianyu-l/12/base May 15, 2024
4 checks passed
tianyu-l added a commit that referenced this pull request May 15, 2024
…needed

ghstack-source-id: e460a8d6458f191f7f589fc908974f896b514690
Pull Request resolved: #333
@tianyu-l tianyu-l deleted the gh/tianyu-l/12/head branch May 15, 2024 22:36
tianyu-l added a commit that referenced this pull request May 28, 2024
…needed

ghstack-source-id: e460a8d6458f191f7f589fc908974f896b514690
Pull Request resolved: #333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants