Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix bn performance degradation #50287

Merged
merged 2 commits into from
Feb 8, 2023
Merged

Fix bn performance degradation #50287

merged 2 commits into from
Feb 8, 2023

Conversation

zkh2016
Copy link
Contributor

@zkh2016 zkh2016 commented Feb 7, 2023

PR types

Others

PR changes

Others

Describe

修复 #48563 导致ResNet50训练性能下降问题。
4维的输入全部走了自定义kernel,在shape不大的时候走cudnn会比较快,因此添加shape大小判断,达到阈值才走自定义kernel。

@paddle-bot
Copy link

paddle-bot bot commented Feb 7, 2023

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

@zkh2016 zkh2016 requested a review from AnnaTrainingG February 7, 2023 07:11
@zkh2016 zkh2016 merged commit 6f1ec93 into PaddlePaddle:develop Feb 8, 2023
zkh2016 pushed a commit to zkh2016/Paddle that referenced this pull request Feb 9, 2023
* fix bn performance degradation
lanxianghit pushed a commit that referenced this pull request Feb 10, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants