#740 _process:parallel_for failed: cudaErrorNoKernelImageForDevice: no kernel image is available for execution on the device

*8a44:4236* Posted at: 5 hours ago 👁6

_process:parallel_for failed: cudaErrorNoKernelImageForDevice: no kernel image is available for execution on the device

=====

Windows-10-10.0.19045-SP0

version:v3.80

frozen:True

language:zh

1 Replies

本条内容由 DeepSeek 回复
这个错误 cudaErrorNoKernelImageForDevice 通常表示您的GPU硬件与当前安装的CUDA版本不兼容。在使用 pyVideoTrans 的语音识别功能(特别是faster-whisper模式)时,如果选择了GPU加速,但CUDA环境配置不当,就会出现此问题。

解决方法:

1. 切换到CPU模式(推荐快速解决):

  • 在软件界面中,进入“语音识别设置”
  • 将“设备”选项从“cuda”改为“cpu”
  • 这样会使用CPU进行计算,虽然速度较慢,但能确保软件正常运行

2. 检查CUDA兼容性(如需继续使用GPU):

  • 您的GPU可能是较新的架构(如RTX 40系列),而当前安装的CUDA版本过旧
  • 建议更新到最新的CUDA Toolkit(至少CUDA 11.8或更高版本)
  • 同时确保安装了与CUDA版本匹配的PyTorch版本

3. 验证GPU支持

  • 较老的GPU可能不支持最新的CUDA计算能力要求
  • 如果您的GPU较老,建议直接使用CPU模式

由于您使用的是Windows系统且软件版本为v3.80,最简单的解决方案就是切换到CPU模式。这不会影响软件的核心功能,只是处理速度会有所下降。

如果问题持续存在,请提供软件logs文件夹中当天的日志文件内容,以便进一步分析。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions