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

Change torch.cuda.amp.GradScaler() to torch.GradScaler("cuda") #2684

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

V-kr0pt
Copy link
Contributor

@V-kr0pt V-kr0pt commented Jan 30, 2025

"torch.cuda.amp.GradScaler(args...) will be deprecated using torch.GradScaler("cuda", args...) instead "

pytorch documentation

@FabianIsensee FabianIsensee self-assigned this Jan 30, 2025
@FabianIsensee
Copy link
Member

thank you!

@FabianIsensee FabianIsensee merged commit cd6b24f into MIC-DKFZ:master Feb 5, 2025
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