Skip to content
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.3】 reg c_allreduce_min #60584

Merged
merged 7 commits into from
Jan 24, 2024

Conversation

enkilee
Copy link
Contributor

@enkilee enkilee commented Jan 5, 2024

PR types

Others

PR changes

Others

Description

Copy link

paddle-bot bot commented Jan 5, 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.

@paddle-bot paddle-bot bot added the contributor External developers label Jan 5, 2024
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Jan 5, 2024
@xingmingyyj
Copy link
Contributor

可以rerun一下CI,应该可以合入了

@enkilee
Copy link
Contributor Author

enkilee commented Jan 24, 2024

可以rerun一下CI,应该可以合入了

already done. thanks

Comment on lines +116 to +117
'c_allreduce_min',
'c_allreduce_min_',
Copy link
Contributor

Choose a reason for hiding this comment

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

这些算子名单可以考虑优化下,多处黑白名单不利于长期维护

Copy link
Contributor

@kangguangli kangguangli Jan 24, 2024

Choose a reason for hiding this comment

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

这两处的用途不一样,名单也不完全重合,第二类主要是针对struct kernel,我觉得可能可以优化,之后研究下。

@@ -55,6 +55,7 @@ const std::unordered_set<std::string> LegacyOpList = {
CReduceSumOp::name(),
CReduceSum_Op::name(),
CAllreduceMax_Op::name(),
CAllreduceMin_Op::name(),
Copy link
Contributor

Choose a reason for hiding this comment

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

同上

@@ -55,6 +55,7 @@ const std::unordered_set<std::string> LegacyOpList = {
CReduceSumOp::name(),
CReduceSum_Op::name(),
CAllreduceMax_Op::name(),
CAllreduceMin_Op::name(),
Copy link
Contributor

Choose a reason for hiding this comment

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

这里为什么没有CAllreduceMinOp::name()?

Copy link
Contributor

Choose a reason for hiding this comment

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

@enkilee 这里可以提个补充PR,这个PR我先合入吧

@kangguangli kangguangli merged commit 50dcf27 into PaddlePaddle:develop Jan 24, 2024
29 checks passed
eee4017 pushed a commit to eee4017/Paddle that referenced this pull request Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants