-
Notifications
You must be signed in to change notification settings - Fork 5.9k
add update_loss_scaling npu min value #35270
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
add update_loss_scaling npu min value #35270
Conversation
|
Thanks for your contribution! |
b5dabf7 to
72e331f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这些值要显式的赋值一下。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
72e331f to
20cd051
Compare
20cd051 to
aa09ab3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
修改一下PR的标题,cherrypick到ascendrelease分支!
aa09ab3 to
7db514d
Compare
zhiqiu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
New features
PR changes
OPs
Describe
Add npu LossScaling min value
We added an environment variable "FLAGS_min_loss_scaling" to set the minimum value of updated loss scaling tensor.
If you want to use, you can export FLAGS_min_loss_scaling=xxx before your run program.