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

Actually use GPU before loading environment #1692

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Actually use GPU before loading environment #1692

merged 1 commit into from
Aug 22, 2024

Conversation

emailweixu
Copy link
Contributor

This was attempted in #1650. But it does not repliably use GPU. Adding cuda.synchronize() to actually use GPU.

This was attempted in #1650.
But it does not repliably use GPU. Adding cuda.synchronize() to
actually use GPU.
@emailweixu emailweixu requested a review from hnyu August 21, 2024 21:39
@emailweixu emailweixu merged commit 57f4be1 into pytorch Aug 22, 2024
2 checks passed
@emailweixu emailweixu deleted the PR_use_gpu branch August 22, 2024 05:32
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