xla
f5c00624
- Make clip_grad_norm_ follow the input's dtype (#7205)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
1 year ago
Make clip_grad_norm_ follow the input's dtype (#7205) Summary: The correct clipped value uses fp32 regardless of the input dtype. Let's make it follow the input dtype. Test Plan: python test/test_operations.py -v -k test_clip_grad_norm_
References
#7205 - Make clip_grad_norm_ follow the input's dtype
Author
alanwaketan
Parents
676853f2
Loading