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

[CINN]disable float auto simplify #64791

Merged
merged 6 commits into from
Jun 5, 2024

Conversation

phlrain
Copy link
Collaborator

@phlrain phlrain commented May 30, 2024

PR Category

CINN

PR Types

Others

Description

pcard-76996

禁用float类型的auto simplify,在gpu场景下(特备是低精度的情况下),并不满足auto simplify中实现的交换律,分配律,为了保障精度,禁用float 类型的auto simplify;

该禁用会影响部分常量相关的化简,从正确性 > 性能的角度出发,先禁用该策略

Copy link

paddle-bot bot commented May 30, 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.

zyfncg
zyfncg previously approved these changes May 30, 2024
@phlrain phlrain changed the title disable float auto simplify [CINN]disable float auto simplify Jun 5, 2024
@tc20042008 tc20042008 merged commit 64ba20d into PaddlePaddle:develop Jun 5, 2024
32 checks passed
phlrain added a commit to phlrain/Paddle that referenced this pull request Jun 12, 2024
* disable float auto simplify

* fix unit test bug

* fix unit tset bug
phlrain added a commit that referenced this pull request Jun 12, 2024
* disable float auto simplify

* fix unit test bug

* fix unit tset bug
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.

3 participants