-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Auto Parallel] add align_mode supporting #68354
Conversation
b181202
to
34a9ca9
Compare
Sorry to inform you that 34a9ca9's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
@@ -338,6 +338,10 @@ def reduce_gradients(self, parameter_list, hcg): | |||
) | |||
g_var.scale_(1.0 / sharding_nrank) | |||
reduce_op = ReduceOp.SUM | |||
|
|||
if paddle.distributed.in_auto_parallel_align_mode(): |
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.
同样建议加一下NOTE注释
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 Category
Auto Parallel
PR Types
Others
Description
add align_mode supporting
Pcard-76459