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

生成录音时报错, 系统使用的macos, CPU apple M3 #7

Open
jackeywooo opened this issue Oct 19, 2024 · 0 comments
Open

生成录音时报错, 系统使用的macos, CPU apple M3 #7

jackeywooo opened this issue Oct 19, 2024 · 0 comments

Comments

@jackeywooo
Copy link

RuntimeError: "addmm_impl_cpu_" not implemented for 'Half'

网上查了一下, 给到的说法是
RuntimeError: "addmm_impl_cpu_" not implemented for 'Half' 错误通常发生在尝试在半精度浮点数(half precision)上执行 addmm 操作时,但当前环境不支持该操作。

这个错误可能是由于你的代码中使用了半精度浮点数(half precision),但所使用的运行时环境(如 CPU)不支持对半精度浮点数的特定操作。

要解决这个问题,你可以尝试以下几个方法:

检查你的代码,确保在使用半精度浮点数之前,已经正确导入和设置了相应的库和环境。

如果你使用的是 PyTorch 或类似的深度学习框架,尝试将数据类型转换为其他支持的类型,如单精度浮点数(float)或双精度浮点数

想请教一下各位大佬, 是否是因为cosyVoice 不支持apple M3 的CPU?有什么解决办法吗? 不胜感激

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

1 participant