-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Move dygraph amp api to paddle-2.0 #27681
Move dygraph amp api to paddle-2.0 #27681
Conversation
Thanks for your contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
叫autocast是不是更好?(torch里是torch.cuda.amp.autocast)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
5a417cf
to
cbb6a7c
Compare
已线下讨论,使用auto_cast,更符合paddle的命名规范。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
New features
PR changes
APIs
Describe
Move dygraph amp api to paddle-2.0
As discussed,
paddle.fluid.dygraph.amp_guard
->paddle.amp.auto_cast
paddle.fluid.dygraph.AmpScaler
->paddle.amp.GradScaler