-
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
support gradient merge with recompute, test=develop #27834
Conversation
Thanks for your contribution! |
@@ -17,20 +17,26 @@ | |||
|
|||
class GradientMergeOptimizer(MetaOptimizerBase): | |||
def __init__(self, optimizer): | |||
print("init Meta GradientMergeOptimizer with {}".format(optimizer)) |
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.
remove this print?
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.
thx, I will remove this soon.
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
* support gradient merge with recompute, test=develop test=develop
PR types
Bug fixes
PR changes
APIs
Describe
support gradient merge with recompute
usage: