-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add Gradient scaler #832
Comments
Posting pytorch documentation here: https://pytorch.org/docs/stable/amp.html#gradient-scaling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the addition of
AMP<F>
dtype, we also need to add gradient scaling, which is commonly used with AMP training.I think the frontend interface could look something like:
We may have to add some methods to Gradients to support scaling them.
Originally posted by @coreylowman in #424 (comment)
The text was updated successfully, but these errors were encountered: