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

"addmm_impl_cpu_" not implemented for 'Half' #30

Open
tzwo opened this issue May 20, 2023 · 1 comment
Open

"addmm_impl_cpu_" not implemented for 'Half' #30

tzwo opened this issue May 20, 2023 · 1 comment

Comments

@tzwo
Copy link

tzwo commented May 20, 2023

在回车后使用文本时,触发"addmm_impl_cpu_" not implemented for 'Half'
输入图像后触发:"slow_conv2d_cpu" not implemented for 'Half'

@Sleepychord
Copy link
Contributor

cpu不支持半精度的卷积等操作,需要在模型加载后增加 model=model.float() 全精度推理,不过会很慢。建议使用显卡

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

No branches or pull requests

2 participants