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

[Cherry-Pick]Optimize performance of depthwise_conv #46896

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

ZzSean
Copy link
Contributor

@ZzSean ZzSean commented Oct 11, 2022

PR types

Performance optimization

PR changes

OPs

Describe

Optimize performance of depthwise_conv

Config: input[2048, 1024, 4, 4], filter[1024, 1, 4, 4], stride=1, pad=0, dilation=1

config pytorch paddle dev paddle this PR speedup
forward 0.4124ms 1.9699ms 0.375ms 5.25x
input backward 1.1070ms 2.9660ms 1.0798ms 2.75x
filter backward 4.9020ms 5.5454ms 1.1037ms 5.02x

Cherry-Pick:

@paddle-bot
Copy link

paddle-bot bot commented Oct 11, 2022

你的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.

@lanxianghit lanxianghit merged commit 976af0d into PaddlePaddle:release/2.4 Oct 17, 2022
@ZzSean ZzSean deleted the dwconv_r24 branch November 7, 2022 03:00
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.

2 participants