-
Notifications
You must be signed in to change notification settings - Fork 358
moe_lb_loss should be divided by gradient_accumulation_steps for reporting. #1483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
you are right for loss calculation but not for moe lb loss logging on tensorboard. Lines 468 to 486 in db89bbb
in L485, current code provides Line 456 in db89bbb
so need to fixed as suggested above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
maxtext/MaxText/train.py
Line 468 in db89bbb
moe_lb_loss should be divided by gradient_accumulation_steps for reporting.
The text was updated successfully, but these errors were encountered: