You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awaelchli
changed the title
gradient value should be unscaled when preciosn=16 on v1.4.x
gradient value should be unscaled when precision=16
Aug 31, 2021
🐛 Bug
On 1.4.x, when track_grad_norm=2 and precision=16, the logged gradient value is the scaled value.
To Reproduce
https://colab.research.google.com/drive/1kV3wP8HmprPVflKXfY5eMdqIOar8reKk?usp=sharing
Expected behavior
The gradient value should be unscaled when preciosn=16
Environment
Additional context
On v1.3.8, the behavior is normal, see https://colab.research.google.com/drive/1AXMhr1gPll5ZPDTphQqAOJlI_9iEMISU?usp=sharing
@carmocca
The text was updated successfully, but these errors were encountered: