Skip to content

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的推导规则

@paddle-bot
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
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