"src/vscode:/vscode.git/clone" did not exist on "5ce4814af1de6d2dc2cc67a46d3862ce62261e2b"
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 c9d7ccfaf0c4387187b0841694f01ec0ffd5f4ba. * reset loss at each logging step * keep track of total loss with _total_loss_scalar * add remaining tr_loss at the end
Showing
Please register or sign in to comment