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

Support control flow for static build [Step 1: support subgraph] #56185

Merged
merged 13 commits into from
Aug 17, 2023

Conversation

AndSonder
Copy link
Contributor

@AndSonder AndSonder commented Aug 11, 2023

PR types

Performance optimization

PR changes

Others

Description

由于控制流算子会引入一个子图,当下 Static build 还不支持控制流算子的静态选Kernel。在确定子图的注册信息时,默认是关闭静态选Kernel的。本PR先将静态选Kernel在跑子图的时候打开,结合 CI 的情况对错误 case 进行修复,使得控制流算子的子图能够支持第一轮的静态选Kernel。 主要错误case如下:

  • 开启全静态选Kernel后 searchsorted 算子在跑 InferMeta 推导 dtype 信息时出错

相关Issue:

@paddle-bot
Copy link

paddle-bot bot commented Aug 11, 2023

你的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 contributor External developers status: proposed labels Aug 11, 2023
Copy link
Contributor

@From00 From00 left a comment

Choose a reason for hiding this comment

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

LGTM

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