Skip to content

add device judge when export model #9263

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

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

LielinJiang
Copy link
Contributor

模型中有一些判断是根据设备来的,export中会将设备设置为cpu。这样这些判断就失效了,导致模型推理出错

@nemonameless nemonameless merged commit bcf2baa into PaddlePaddle:develop Jan 3, 2025
4 checks passed
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.

4 participants