CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Merge comm into develop #57897
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
Merge comm into develop #57897
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
4602d7c
to
04aabd8
Compare
fix compile tinyfix
0c0041e
to
6fde730
Compare
|
||
#if defined(PADDLE_WITH_RCCL) | ||
#include "paddle/phi/backends/dynload/rccl.h" | ||
#else |
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.
@@ -163,7 +166,7 @@ class ProcessGroup { | |||
phi::DenseTensor* out_tensor UNUSED, | |||
const phi::DenseTensor& in_tensor UNUSED, | |||
const BroadcastOptions& opts UNUSED, | |||
bool sync_op UNUSED) { | |||
bool sync_op UNUSED UNUSED) { |
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.
这里为啥用了两次UNUSED?
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.
这里为啥用了两次UNUSED?
已修复
@@ -294,7 +297,7 @@ class ProcessGroup { | |||
const phi::DenseTensor& in_tensor UNUSED, | |||
const BroadcastOptions& opts UNUSED, | |||
bool sync_op UNUSED, | |||
bool use_calc_stream UNUSED) { | |||
bool use_calc_stream) { |
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.
这里的UNUSED是不是还得加上?后面报错了"ProcessGroup does not support broadcast with sync_op and use_calc_stream flag."
后面的Broadcast
看着是支持sync_op
参数的,需要把sync_op
的UNUSED
删除吗?
其他的通信函数的sync_op
好像也有一样的问题
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.
这里的UNUSED是不是还得加上?后面报错了
"ProcessGroup does not support broadcast with sync_op and use_calc_stream flag."
后面的Broadcast
看着是支持sync_op
参数的,需要把sync_op
的UNUSED
删除吗?其他的通信函数的
sync_op
好像也有一样的问题
UNUSED是在基类上加的,实例找不到实现时才会报错。这几个UNUSED这是develop分支加的,后续确认一下
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
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
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
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
* fix merge conflicts fix compile tinyfix * fix * format code style * fix code style * fix PR-CI-APPROVAL problems * fix PR-CI-APPROVAL problems * fix PR-CI-Py3 * fix PR-CI-Codestyle-Check * fix PR-CI-Codestyle-Check * fix PR-CI-Kunlun-R200 * fix PR-CI-Codestyle-Check * update * fix ci-compile * fix PR-CI-Coverage * fix PR-CI-Coverage * fix code style * fix PR-CI-Kunlun-R200 * fix conflicts * fix PR-CI-Kunlun-R200 * fix PR-CI-Py3 * fix PR-CI-Static-Check * update trace func * fix code style * update * fix compile * fix compile * cherry pick (PaddlePaddle#57260) * tiny update * tiny fix
* fix merge conflicts fix compile tinyfix * fix * format code style * fix code style * fix PR-CI-APPROVAL problems * fix PR-CI-APPROVAL problems * fix PR-CI-Py3 * fix PR-CI-Codestyle-Check * fix PR-CI-Codestyle-Check * fix PR-CI-Kunlun-R200 * fix PR-CI-Codestyle-Check * update * fix ci-compile * fix PR-CI-Coverage * fix PR-CI-Coverage * fix code style * fix PR-CI-Kunlun-R200 * fix conflicts * fix PR-CI-Kunlun-R200 * fix PR-CI-Py3 * fix PR-CI-Static-Check * update trace func * fix code style * update * fix compile * fix compile * cherry pick (PaddlePaddle#57260) * tiny update * tiny fix
* fix merge conflicts fix compile tinyfix * fix * format code style * fix code style * fix PR-CI-APPROVAL problems * fix PR-CI-APPROVAL problems * fix PR-CI-Py3 * fix PR-CI-Codestyle-Check * fix PR-CI-Codestyle-Check * fix PR-CI-Kunlun-R200 * fix PR-CI-Codestyle-Check * update * fix ci-compile * fix PR-CI-Coverage * fix PR-CI-Coverage * fix code style * fix PR-CI-Kunlun-R200 * fix conflicts * fix PR-CI-Kunlun-R200 * fix PR-CI-Py3 * fix PR-CI-Static-Check * update trace func * fix code style * update * fix compile * fix compile * cherry pick (PaddlePaddle#57260) * tiny update * tiny fix
PR types
Others
PR changes
Others
Description
Pcard-70448
merge distributed communication related functions into develop