-
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
【PIR Dist Op Reg No.13】 reg partial_send #60484
【PIR Dist Op Reg No.13】 reg partial_send #60484
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
该算子只在with_distribute开启的情况下编译,因此需要修改 |
55d37d2
to
b1ac26b
Compare
set(DISTRIBUTED_OP_TRANSLATION_TEST test_c_reduce_min_translate) | ||
set(DISTRIBUTED_OP_TRANSLATION_TEST test_partial_send_translate) |
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.
set(DISTRIBUTED_OP_TRANSLATION_TEST test_c_reduce_min_translate) | |
set(DISTRIBUTED_OP_TRANSLATION_TEST test_partial_send_translate) | |
list(APPEND DISTRIBUTED_OP_TRANSLATION_TEST test_partial_send_translate) |
应该这样改,之前的说法也有问题,删掉了
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.
set(DISTRIBUTED_OP_TRANSLATION_TEST test_c_reduce_min_translate) | |
set(DISTRIBUTED_OP_TRANSLATION_TEST test_partial_send_translate) | |
set(DISTRIBUTED_OP_TRANSLATION_TEST | |
test_c_reduce_min_translate | |
test_partial_send_translate) |
另一种改法是这样的
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.
收到
b1ac26b
to
4bb8ba6
Compare
@@ -4,7 +4,8 @@ file( | |||
"test_*.py") | |||
string(REPLACE ".py" "" TEST_INTERP_CASES "${TEST_INTERP_CASES}") | |||
|
|||
set(DISTRIBUTED_OP_TRANSLATOR_TEST test_c_reduce_min_translator) | |||
set(DISTRIBUTED_OP_TRANSLATION_TEST test_c_reduce_min_translator |
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.
set(DISTRIBUTED_OP_TRANSLATION_TEST test_c_reduce_min_translator | |
set(DISTRIBUTED_OP_TRANSLATOR_TEST test_c_reduce_min_translator |
这里写错了导致下面没生效
4bb8ba6
to
96c1f35
Compare
@Difers 可以解决下冲突,应该可以合入了 |
96c1f35
to
6789505
Compare
好的 |
麻烦修改一下PR描述,可以推进合入了 |
@@ -1565,6 +1565,16 @@ | |||
kernel: | |||
func: onednn_to_paddle_layout | |||
|
|||
- op: partial_send | |||
args: (Tensor x, int ring_id = 0, int peer = 0, bool use_calc_stream = false, int num = 1, int id = 0) | |||
output: Tensor(out) |
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.
output: Tensor(out) | |
output: |
这个算子是没有输出的,其他地方也需要相应修改
Sorry to inform you that 6789505's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
6789505
to
a58c1e6
Compare
@Difers 别忘了这个PR哈 |
a58c1e6
to
2117ed7
Compare
2117ed7
to
1e1f5fb
Compare
@kangguangli 辛苦有时间再review下~ |
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 for op_compat.yaml
PR types
Others
PR changes
Others
Description