-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix broken TF DistributedOptimizer with Keras 2.11+ #3822
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
Conversation
|
There are some tests failing. For example: |
|
But I like this fix. Should land as soon as all tests pass. |
|
Thanks @chongxiaoc Yes I need to update the different tests/examples. Since with Keras >= 2.11 we were not always using the legacy optimizers. |
Unit Test Results (with flaky tests)0 files - 1 164 0 suites - 1 164 0s ⏱️ - 13h 10m 40s Results for commit 7230379. ± Comparison against base commit 5266a29. ♻️ This comment has been updated with latest results. |
|
some missing examples and tests: |
cd54140 to
48628e9
Compare
|
Thank you both, @chongxiaoc and @nvcastet. This is an important fix for TensorFlow! |
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
Signed-off-by: Nicolas Castet <ncastet@nvidia.com>
674c551 to
7230379
Compare
|
@chongxiaoc Finally, we should be good. |
chongxiaoc
left a comment
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 for fixing it.
Signed-off-by: Nicolas Castet ncastet@nvidia.com
Checklist before submitting
Description
Horovod was only checking for
tf.keras.optimizers.OptimizerinDistributedOptimizerbut supported optimizers are undertf.keras.optimizers.legacy.Optimizerfor Keras 2.11+.