Skip to content

Conversation

@Difers
Copy link
Contributor

@Difers Difers commented Mar 10, 2024

PR types

Others

PR changes

Others

Description

@paddle-bot
Copy link

paddle-bot bot commented Mar 10, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@Difers Difers changed the title 【PIR Dist Op Reg No.13】reg_pir_send_and_recv 【PIR Dist Op Reg No.14】reg_pir_send_and_recv Mar 11, 2024
@kangguangli kangguangli requested a review from zyfncg March 11, 2024 08:55
@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Mar 18, 2024

Sorry to inform you that 304be96's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@Difers Difers force-pushed the reg_pir_send_recv branch 2 times, most recently from 0d6efa4 to 726e361 Compare March 26, 2024 02:24
func: seed

- op : send_and_recv
args : (Tensor x, str message_name, str[] send_var_name, str[] recv_var_name, int trainer_id = 0, str mode="forward", str[] endpoints={"127.0.0.1:6164"}, str[] next_endpoints={"127.0.0.1:6164"}, str[] previous_endpoints={"127.0.0.1:6164"})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的x和out根据旧IR下的定义

 void Make() override { AddInput("X", "Tensor Input variable to be sent").AsDuplicable(); AddOutput("Out", "Tensor Output variable to be recv").AsDuplicable();

应该收Tensor[]类型。

@Difers Difers force-pushed the reg_pir_send_recv branch from 726e361 to cfd8beb Compare April 1, 2024 02:22
@luotao1
Copy link
Contributor

luotao1 commented Apr 9, 2024

需要解决下冲突


- op : send_and_recv
args : (Tensor[] x, str message_name, str[] send_var_name, str[] recv_var_name, int trainer_id = 0, str mode="forward", str[] endpoints={"127.0.0.1:6164"}, str[] next_endpoints={"127.0.0.1:6164"}, str[] previous_endpoints={"127.0.0.1:6164"})
output : Tensor[](out)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
output : Tensor[](out)
output : Tensor[](out){x.size()}

这里需要加上{x.size()},代码生成脚本如果发现没有x.size()会使用None填充,导致编译错误

args : (Tensor[] x, str message_name, str[] send_var_name, str[] recv_var_name, int trainer_id = 0, str mode="forward", str[] endpoints={"127.0.0.1:6164"}, str[] next_endpoints={"127.0.0.1:6164"}, str[] previous_endpoints={"127.0.0.1:6164"})
output : Tensor[](out)
infer_meta :
func : UnchangedInferMeta
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
func : UnchangedInferMeta
func : UnchangedVectorInferMeta
@Difers Difers closed this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants