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
SpearmanCorrCoef does not work with deepspeed strategy when precision is 16. I believe this is related to a unexpected type conversion from 32 to 16. Spearman logging works as expected when precision is set to 32. This seems to be nearly the exact issue as #1561 except I'm using SpearmanCorrCoef instead of PearsonCorrCoef.
🐛 Bug
SpearmanCorrCoef
does not work with deepspeed strategy when precision is 16. I believe this is related to a unexpected type conversion from 32 to 16. Spearman logging works as expected when precision is set to 32. This seems to be nearly the exact issue as #1561 except I'm usingSpearmanCorrCoef
instead ofPearsonCorrCoef
.To Reproduce
See modified code example from #1561
Code sample
My output
Expected behavior
Expecting metrics to be of type float32 when precision set to 16 and logging of metrics to be non-zero.
Environment
Output of torch.utils.collect_env
Additional context
All tests run within a VSCode devcontainer
The text was updated successfully, but these errors were encountered: