-
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
add adaptivelsgd in meta_optimizer #27289
Conversation
Thanks for your contribution! |
a477f3e
to
3b2a282
Compare
@@ -24,7 +24,7 @@ def __init__(self, optimizer): | |||
self.meta_optimizers_white_list = [ | |||
"LarsOptimizer", "LambOptimizer", "RecomputeOptimizer", | |||
"LocalSGDOptimizer", "GradientMergeOptimizer", | |||
"GraphExecutionOptimizer" | |||
"GraphExecutionOptimizer", "AdaptiveLocalSGDOptimizer" |
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.
新建一行,且用逗号结束,避免未来出现冲突
@@ -25,7 +25,9 @@ def __init__(self, optimizer): | |||
super(LocalSGDOptimizer, self).__init__(optimizer) | |||
self.inner_opt = optimizer | |||
self.meta_optimizers_white_list = [] | |||
self.meta_optimizers_black_list = ["GraphExecutionOptimizer"] | |||
self.meta_optimizers_black_list = [ | |||
"GraphExecutionOptimizer", "AdaptiveLocalSGDOptimizer" |
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.
新建一行,且用逗号结束
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
Others
Describe
add adaptivelsgd in meta_optimizer.