Skip to content

Correct occurences of autocast in amp recipe #2238

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

Merged
merged 2 commits into from
Mar 6, 2023
Merged

Correct occurences of autocast in amp recipe #2238

merged 2 commits into from
Mar 6, 2023

Conversation

eliphatfs
Copy link
Contributor

Replace the incorrect occurences of torch.cuda.amp.autocast with torch.autocast.

Related issues and PRs in the pytorch repository:
pytorch/pytorch#95547
pytorch/pytorch#95760

Replace the incorrect occurences of `torch.cuda.amp.autocast` with `torch.autocast`.
@netlify
Copy link

netlify bot commented Mar 5, 2023

Deploy Preview for pytorch-tutorials-preview ready!

Name Link
🔨 Latest commit 1cbbf79
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/6406146fe865d300082b5e56
😎 Deploy Preview https://deploy-preview-2238--pytorch-tutorials-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@svekars svekars requested a review from ezyang March 6, 2023 16:26
@ezyang ezyang merged commit 33492c7 into pytorch:main Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants