Duix.Heygem icon indicating copy to clipboard operation
Duix.Heygem copied to clipboard

5070Ti提示出错no kernel image is available for execution on the device CUDA kernel errors might be asynchronously

Open DavidLiu0536 opened this issue 9 months ago • 6 comments

显卡:5070Ti提示出错: 音频特征提取失败,异常信息:[CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions. 然后看到英伟达官网有个解决方案,但是自己不会设置 https://forums.developer.nvidia.com/t/cuda-error-no-kernel-image-is-available-for-execution-on-the-device/296095

DavidLiu0536 avatar Mar 23 '25 05:03 DavidLiu0536

也看到这个,是不是需要重新编译docker呀。https://heary.cn/posts/PyTorch%E6%8A%A5CUDA-error-no-kernel-image-is-available-for-execution-on-the-device%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3/

DavidLiu0536 avatar Mar 23 '25 05:03 DavidLiu0536

好像就是因为pytorch和cuda的版本不匹配,只能等官方更新了。

DavidLiu0536 avatar Mar 23 '25 09:03 DavidLiu0536

然后参考这个https://github.com/comfyanonymous/ComfyUI/issues/7127 好像最后一个可以实现,但是好像在docker内修改

Image

DavidLiu0536 avatar Mar 23 '25 11:03 DavidLiu0536

然后我参考了这个https://blog.csdn.net/su_he_xiang/article/details/146114383 这个是Windows的,docker是Linux的,所以版本要换下,目前我还没搞成功

DavidLiu0536 avatar Mar 23 '25 14:03 DavidLiu0536

一样的问题,大哥解决了吗

Tianlucy avatar Mar 24 '25 14:03 Tianlucy

一样的问题,大哥解决了吗

没有,cu128下载不了,而且好像这个里面很多用的是python3.8编写的文件,只能等官方更新了

DavidLiu0536 avatar Mar 25 '25 00:03 DavidLiu0536