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

[SOT][dynamic shape] Fallback static shape all symvar #68113

Merged

Conversation

zrr1999
Copy link
Member

@zrr1999 zrr1999 commented Sep 9, 2024

PR Category

Execute Infrastructure

PR Types

Performance

Description

找不到对应的arg时fallback到全部symvar退化为const

Copy link

paddle-bot bot commented Sep 9, 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 Sep 11, 2024
Copy link

paddle-ci-bot bot commented Sep 17, 2024

Sorry to inform you that c807af6's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

逻辑上目测没啥问题,可以重新触发下 CI~

isinstance(arg, SymbolicVariable)
for arg in flatten_vars
):
# TODO(zrr1999): maybe we can continue to fallback to all args are constant.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 TODO 是不是可以删了?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这块应该是指 e.name in bound_arguments.arguments 但是依然报错了还是可以继续fallback,比如name有人手抖写成另一个参数了

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这块应该是指 e.name in bound_arguments.arguments 但是依然报错了还是可以继续fallback,比如name有人手抖写成另一个参数了。不过感觉加上会增加复杂性而且感觉好像也遇不到

@CLAassistant
Copy link

CLAassistant commented Sep 18, 2024

CLA assistant check
All committers have signed the CLA.

@SigureMo SigureMo changed the title [SOT][dynamic shape] Fallback static shape all symvar [Typing][SOT][dynamic shape] Fallback static shape all symvar Sep 25, 2024
Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMeow 🐾

@SigureMo SigureMo changed the title [Typing][SOT][dynamic shape] Fallback static shape all symvar [SOT][dynamic shape] Fallback static shape all symvar Sep 27, 2024
@SigureMo SigureMo merged commit 6acd02b into PaddlePaddle:develop Sep 27, 2024
26 of 27 checks passed
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.

3 participants