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

fix: don't attempt to clean gpu memory up when device is cpu #1191

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

booxter
Copy link
Contributor

@booxter booxter commented Feb 20, 2025

This is a follow up to:
#1140

Signed-off-by: Ihar Hrachyshka [email protected]

What does this PR do?

[Provide a short summary of what this PR does and why. Link to relevant issues if applicable.]

Avoid unnecessary GPU memory clean attempt when the GPU is not used for training.

Test Plan

TODO: update with output for CPU and GPU training runs.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 20, 2025
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.

2 participants