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

[Prim][Pir] Fix the bug in test_sub_graph73 when open prim setting #63276

Merged
merged 4 commits into from
Apr 8, 2024

Conversation

zeroRains
Copy link
Contributor

@zeroRains zeroRains commented Apr 7, 2024

PR Category

Others

PR Types

Bug fixes

Description

修复在开启with_prim=True时在test_sub_graph73 的bug

但当开启with_cinn=True时,仍然会出现下图的报错

image

原因是:

在开启cinn后,如果program里有动态shape,就会触发跑相关的动态shape pass,pass里要求每个算子有动态shape的推导规则

Copy link

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

@paddle-bot paddle-bot bot added the contributor External developers label Apr 7, 2024
@cyber-pioneer cyber-pioneer merged commit a76e7ed into PaddlePaddle:develop Apr 8, 2024
30 checks passed
co63oc pushed a commit to co63oc/Paddle that referenced this pull request Apr 9, 2024
…addlePaddle#63276)

* fix the bug in test_sub_graph_73

* fix typo

* fix the bug in test_sub_graph_73 when set with_prim=True
co63oc pushed a commit to co63oc/Paddle that referenced this pull request Apr 10, 2024
…addlePaddle#63276)

* fix the bug in test_sub_graph_73

* fix typo

* fix the bug in test_sub_graph_73 when set with_prim=True
@zeroRains zeroRains deleted the sub_graph_73 branch April 19, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants