-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[AutoParallel] Fix problems of sequence parallel in dynamic mode. #59766
[AutoParallel] Fix problems of sequence parallel in dynamic mode. #59766
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
… fix_backward_reshard
… fix_backward_reshard
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
int split_axis = GetSplitAxisWithDimsMapping(in_dims_mapping).begin()->first; | ||
int64_t num_of_process = in_process_mesh.size(); | ||
if (in.initialized()) { |
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还是应该改回原来的写法
dist_tensor->initialized(), | ||
false, | ||
phi::errors::InvalidArgument("Only " | ||
"``phi::distributed::DistTensor``. " |
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.
确实是少了,我之后的PR再修一下
PR types
Others
PR changes
Others
Description
Pcard-73145
Fix problems of sequence parallel in dynamic mode.