-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix optimizer_hooks.GradientHardClipping
for scalar array
#7760
Fix optimizer_hooks.GradientHardClipping
for scalar array
#7760
Conversation
1fca7d5
to
1ee51c1
Compare
optimizer_hooks_tests
optimizer_hooks.GradientHardClipping
for scalar array
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.
Approach LGTM, but fix CI issues first
The bug-fix is pretty small and related to the tests. |
1ee51c1
to
f03d5ba
Compare
Fixed errors. |
Jenkins, test this please. |
Jenkins CI test (for commit 40f2aef, target branch master) failed with status FAILURE. |
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
Jenkins, test this please. |
Jenkins CI test (for commit 40f2aef, target branch master) failed with status FAILURE. |
Jenkins, test this please. |
Jenkins CI test (for commit 40f2aef, target branch master) failed with status FAILURE. |
CI unrelated |
@emcastillo |
@emcastillo This pull-request is marked as |
3 similar comments
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
@emcastillo Can you make a backport? |
@emcastillo This pull-request is marked as |
10 similar comments
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
@emcastillo This pull-request is marked as |
…test Fix `optimizer_hooks.GradientHardClipping` for scalar array
…test Fix `optimizer_hooks.GradientHardClipping` for scalar array
Fixes #7759
This PR was originally intended to refactor the tests (#7759) but I found a bug in
optimizer_hooks.GradientHardClipping
. I can split the PR if it's preferable.