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

[Phi]Move bincount OP to phi #39947

Merged
merged 8 commits into from
Mar 7, 2022
Merged

Conversation

0x45f
Copy link
Contributor

@0x45f 0x45f commented Feb 25, 2022

PR types

Others

PR changes

Others

Describe

[Phi]Move bincount OP to phi
已添加benchmark脚本: PaddlePaddle/benchmark#1328

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.


if (has_weights) {
const T* weights_data = weights->data<T>();
if (weights->dtype() == DataType::INT32) {
Copy link
Contributor

Choose a reason for hiding this comment

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

看这里原来的判断逻辑是dtype是否等于FP32

Copy link
Contributor Author

Choose a reason for hiding this comment

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

是的应该判断FLOAT32,已经修改,感谢

YuanRisheng
YuanRisheng previously approved these changes Feb 28, 2022
Copy link
Contributor

@zyfncg zyfncg left a comment

Choose a reason for hiding this comment

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

这个有op-benchmark脚本吗

@0x45f 0x45f closed this Mar 1, 2022
@0x45f 0x45f reopened this Mar 1, 2022
@0x45f
Copy link
Contributor Author

0x45f commented Mar 1, 2022

这个有op-benchmark脚本吗

似乎是没有,要先添加脚本再合入代码是吗

@zyfncg
Copy link
Contributor

zyfncg commented Mar 1, 2022

这个有op-benchmark脚本吗

似乎是没有,要先添加脚本再合入代码是吗

按现在的规范得先加一下benchmark脚本了

@Aurelius84 Aurelius84 merged commit 1c29196 into PaddlePaddle:develop Mar 7, 2022
@0x45f 0x45f deleted the phi_bincount branch March 7, 2022 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants