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

Fix lite-subgraph xpu inference error #54607

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

chalsliu
Copy link
Contributor

@chalsliu chalsliu commented Jun 13, 2023

PR types

Others

PR changes

Others

Description

Fix xpu inference check option error

card-72030

@paddle-bot
Copy link

paddle-bot bot commented Jun 13, 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 Jun 13, 2023
@chalsliu
Copy link
Contributor Author

chalsliu commented Jun 13, 2023

修复lite子图xpu推理错误:

[03:08:55][Step 4/6] --------------------------------------
[03:08:55][Step 4/6] C++ Traceback (most recent call last):
[03:08:55][Step 4/6] --------------------------------------
[03:08:55][Step 4/6] 0   paddle::AnalysisConfig::EnableXpu(int, bool, bool, std::string const&, std::string const&, bool, bool)
[03:08:55][Step 4/6] 1   phi::enforce::EnforceNotMet::EnforceNotMet(phi::ErrorSummary const&, char const*, int)
[03:08:55][Step 4/6] 2   phi::enforce::GetCurrentTraceBackString(bool)
[03:08:55][Step 4/6] 
[03:08:55][Step 4/6] ----------------------
[03:08:55][Step 4/6] Error Message Summary:
[03:08:55][Step 4/6] ----------------------
[03:08:55][Step 4/6] PreconditionNotMetError: To use XPU inference, please compile with option 'WITH_XPU' first. (at /home/disk1/teamcity/work/35d35f7d19925f81/Paddle/paddle/fluid/inference/api/analysis_config.cc:201)
[03:08:55][Step 4/6] 

#54342

@chalsliu chalsliu changed the title Fix xpu inference check option error Fix lite-subgraph xpu inference error Jun 14, 2023
Copy link
Contributor

@zhupengyang zhupengyang left a comment

Choose a reason for hiding this comment

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

LGTM

@chalsliu chalsliu merged commit d325990 into PaddlePaddle:develop Jun 14, 2023
@paddle-bot
Copy link

paddle-bot bot commented Jun 14, 2023

你的PR已合入Paddle库,请关注后续测试结果。
Your PR has been merged into the repository. An official integration test will be conducted later. Stay tuned.

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.

None yet

2 participants