We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
torch.cuda.amp.autocast
torch.amp.autocast('cuda',...)
Fix the warning:
FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
by replacing everywhere in the codebase:
- torch.cuda.amp.autocast(... + torch.amp.autocast("cuda", ...
The text was updated successfully, but these errors were encountered:
Hey 👋, I've just created a thread for this issue on PyTorch-Ignite Discord where you can quickly talk to the community on the topic.
🤖 This comment was automatically posted by Discuss on Discord
Sorry, something went wrong.
Hi, @vfdev-5 , could you please assign me to this issue?
@Gulin7 you can start working on it
@vfdev-5 I searched for the use of torch.cuda.amp.autocast(... and found nothing, except a reference in some mock tests.
You should search for autocast, for example: https://github.com/pytorch/ignite/blob/master/ignite/engine/__init__.py#L188
autocast
Gulin7
Successfully merging a pull request may close this issue.
Fix the warning:
by replacing everywhere in the codebase:
The text was updated successfully, but these errors were encountered: