-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[MoE] Optimizer parameter broadcast #8810
Conversation
…nto update_predict_new
Thanks for your contribution! |
…nto update_predict_new
fbe4c4e
to
1fa180f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8810 +/- ##
===========================================
+ Coverage 55.47% 55.51% +0.04%
===========================================
Files 631 631
Lines 98466 98488 +22
===========================================
+ Hits 54621 54677 +56
+ Misses 43845 43811 -34 ☔ View full report in Codecov by Sentry. |
@@ -115,7 +115,7 @@ def unwrap_optimizer(optimizer, optimizer_instances=()): | |||
|
|||
from paddlenlp.utils.safetensors import fast_load_file as safe_load_file | |||
|
|||
if sys.platform.startswith("cpu"): |
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.
原来是“cpu” ?
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.
有个合入PR我改错了
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
Function optimization
PR changes
Others
Description
Optimize
broadcast_moe_optimizer
to avoid out-of-memory situations.