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

修复动态图O2模型修改为promote策略后引起的性能下降问题 #9772

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

zhangting2020
Copy link
Contributor

O2下因改为promote策略,会有一些算子原来使用fp16计算,在策略更新后选择了fp32计算,导致性能下降。

通过加入自定义白名单,模型算子运行的数量和类型和AMP升级前可达到一致,同时恢复到原始性能

@paddle-bot
Copy link

paddle-bot bot commented Apr 19, 2023

Thanks for your contribution!

@WenmuZhou WenmuZhou merged commit d496c8e into PaddlePaddle:dygraph Apr 20, 2023
TuanBC pushed a commit to TuanBC/PaddleOCR that referenced this pull request Apr 26, 2023
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.

None yet

2 participants