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

add group_norm_silu_xpu_fuse #62689

Merged
merged 5 commits into from
Apr 7, 2024

Conversation

linkk08
Copy link
Contributor

@linkk08 linkk08 commented Mar 13, 2024

PR Category

Custom Device

PR Types

New features

Description

新增融合算子,将group_norm和silu进行了融合。在xpu平台上,经过实测,性能提升了约10%。

Copy link

paddle-bot bot commented Mar 13, 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 Mar 13, 2024
Copy link

paddle-bot bot commented Mar 13, 2024

❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

paddle/fluid/framework/ir/pass.cc Outdated Show resolved Hide resolved
paddle/fluid/framework/ir/xpu/gn_silu_xpu_fuse_pass.cc Outdated Show resolved Hide resolved
paddle/fluid/framework/ir/xpu/gn_silu_xpu_fuse_pass.cc Outdated Show resolved Hide resolved
paddle/phi/api/yaml/fused_ops.yaml Outdated Show resolved Hide resolved
paddle/phi/infermeta/fusion.cc Outdated Show resolved Hide resolved
paddle/phi/kernels/fusion/xpu/gn_silu_xpu_kernel.cc Outdated Show resolved Hide resolved
zhupengyang
zhupengyang previously approved these changes Mar 29, 2024
Copy link
Contributor

@zhupengyang zhupengyang left a comment

Choose a reason for hiding this comment

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

LGTM

@linkk08 linkk08 changed the title add gn_silu_xpu_fuse (#62682) add gn_silu_xpu_fuse Apr 1, 2024
@linkk08 linkk08 changed the title add gn_silu_xpu_fuse add group_norm_silu_xpu_fuse Apr 1, 2024
@zhupengyang zhupengyang merged commit 49c7cc7 into PaddlePaddle:develop Apr 7, 2024
30 checks passed
co63oc pushed a commit to co63oc/Paddle that referenced this pull request Apr 9, 2024
co63oc pushed a commit to co63oc/Paddle that referenced this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants