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

refactor: handle deprecation of torch.cuda.amp.autocast #144

Merged
merged 1 commit into from
Nov 9, 2024
Merged

Conversation

eginhard
Copy link
Member

@eginhard eginhard commented Nov 8, 2024

torch.cuda.amp.autocast(args...) and torch.cpu.amp.autocast(args...) will be deprecated. Please use torch.autocast("cuda", args...) or torch.autocast("cpu", args...) instead.

https://pytorch.org/docs/stable/amp.html

torch.cuda.amp.autocast(args...) and torch.cpu.amp.autocast(args...) will be
deprecated. Please use torch.autocast("cuda", args...) or torch.autocast("cpu",
args...) instead.

https://pytorch.org/docs/stable/amp.html
@eginhard eginhard merged commit 2df9bfa into dev Nov 9, 2024
49 checks passed
@eginhard eginhard deleted the autocast branch November 9, 2024 17:37
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