-
-
Notifications
You must be signed in to change notification settings - Fork 132
Refactor deprecated torch.cuda.amp.autocast #521
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
Conversation
This PR is only for torch>=2.4, so hold it here for future merge. |
Pull Request Test Coverage Report for Build 13460517510Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
This pull request had no activity for 14 days. It will be closed in 1 week unless there is some new activity. |
This pull request had no activity for 14 days. It will be closed in 1 week unless there is some new activity. |
I am still getting the deprecation warning. I believe the version comparison is inverted. The condition should read |
Right, we have fixed it in this commit ff94813. Thanks for reminding us, Jesse. We will release new version 0.12 with known bug fixes and new features later this week. |
What does this PR do?
torch.cuda.amp.autocast(args...)
is deprecated since torch 2.4 #520;Before submitting