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

[Dynamic Shape]Fix SubstituteDimExprBasedOnConstraintsPass invalid bug #62570

Merged
merged 3 commits into from
Mar 10, 2024

Conversation

jiahy0825
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Description

pcard-76996

修复 SubstituteDimExprBasedOnConstraintsPass 未生效的 bug。现在 SubstituteDimExprBasedOnConstraintsPass 被移到了 ApplyGroupOpPass 函数内,因此 CanApplyOn 应该匹配 GroupOp 而非原来的 ModuleOp

Fix the bug that SubstituteDimExprBasedOnConstraintsPass does not take effect. SubstituteDimExprBasedOnConstraintsPass is now moved inside the ApplyGroupOpPass function, so CanApplyOn should match GroupOp instead of the original ModuleOp

Copy link

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

tc20042008
tc20042008 previously approved these changes Mar 8, 2024
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Mar 10, 2024
@PaddlePaddle PaddlePaddle unlocked this conversation Mar 10, 2024
@jiahy0825 jiahy0825 merged commit 00266ae into PaddlePaddle:develop Mar 10, 2024
30 checks passed
hitywt pushed a commit to hitywt/Paddle that referenced this pull request Mar 11, 2024
PaddlePaddle#62570)

* [Dynamic Shape]Fix SubstituteDimExprBasedOnConstraintsPass invalid bug

* simplify substituted dim_expr
hitywt pushed a commit to hitywt/Paddle that referenced this pull request Mar 11, 2024
PaddlePaddle#62570)

* [Dynamic Shape]Fix SubstituteDimExprBasedOnConstraintsPass invalid bug

* simplify substituted dim_expr
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