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

[PIR & Inference] constant_folding_pass support place #59430

Merged
merged 5 commits into from
Nov 29, 2023

Conversation

yuanlehome
Copy link
Contributor

@yuanlehome yuanlehome commented Nov 28, 2023

PR types

Others

PR changes

Others

Description

  • 由于auto_mixed_precision_pass需要constant_folding_pass具备折叠混合精度模型中的算子的能力,而混合精度模型中算子kernel的选择与place强相关,因此这个PR将constant_folding_pass支持传入place,在指定place中进行常量折叠。
  • 删除pattern_rewrite_test里无关的code

Others

Pcard-71500

Copy link

paddle-bot bot commented Nov 28, 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.

@yuanlehome yuanlehome force-pushed the cf_pass_support_place branch from bf52d33 to 477e5a4 Compare November 28, 2023 09:09
@yuanlehome yuanlehome merged commit 363795b into PaddlePaddle:develop Nov 29, 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.

2 participants