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
Reset loss to zero on logging in Trainer to avoid bfloat16 issues (#8561)
* make tr_loss regular float
* Revert "make tr_loss regular float"
This reverts commit c9d7ccf.
* reset loss at each logging step
* keep track of total loss with _total_loss_scalar
* add remaining tr_loss at the end
0 commit comments