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

您好,ubuntu16使用paddle_inference c++推理库,开启mkldnn会出现RuntimeError: could not execute a primitive的报错,目前可以解决吗 #9527

Closed
cdycdycdy opened this issue Mar 24, 2023 · 5 comments
Assignees
Labels

Comments

@cdycdycdy
Copy link

您好,ubuntu16使用paddle_inference c++推理库,开启mkldnn会出现RuntimeError: could not execute a primitive的报错,目前可以解决吗

@cdycdycdy
Copy link
Author

报错:terminate called after throwing an instance of 'dnnl::error'
what(): could not execute a primitive

@bxjxxyy
Copy link

bxjxxyy commented Mar 29, 2023

我之前遇到过这问题,你应该是直接调用的,而不是部署后运行的吧。初始化一次调用多次就会这样,每次都重新初始化就不会这样。pdserving部署后也不会这样

@cdycdycdy
Copy link
Author

我之前遇到过这问题,你应该是直接调用的,而不是部署后运行的吧。初始化一次调用多次就会这样,每次都重新初始化就不会这样。pdserving部署后也不会这样

每次重新初始化再推理就不会出现报错,但这样每次都要重新初始化,比较耗时

@bxjxxyy
Copy link

bxjxxyy commented Mar 29, 2023

那就得部署pdserving或者hub部署 我现在用的pdserving,但是会内存溢出,不一定什么时间就会内存100%,然后程序被kill掉

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants