#1320 ValueError: Requested float16 compute type, but the target device or backend do not support efficient float16 computatio

2401:c080* Posted at: 3 hours ago 👁5

Traceback (most recent call last):
File "videotrans\process\_overall.py", line 45, in run
File "faster_whisper\transcribe.py", line 675, in init
ValueError: Requested float16 compute type, but the target device or backend do not support efficient float16 computation.


=
system:Windows-10-10.0.22621-SP0
version:v3.84
frozen:True
language:zh
root_dir:D:/win-videotrans-v3.84

1 Replies

这个错误是由于您的硬件或CUDA环境不支持 float16 计算类型导致的。请按以下步骤解决:

  1. 取消勾选 CUDA 加速

    • 在主界面右上角,取消勾选 "CUDA加速" 选项。
    • 这将强制软件使用 CPU 进行计算,虽然速度会慢一些,但可以解决兼容性问题。
  2. 如果希望继续使用 GPU 加速

    • 更新您的 NVIDIA 显卡驱动到最新版本。
    • 确保安装了与您显卡兼容的 CUDA 工具包(建议 CUDA 12.x)。
    • 如果更新后问题依旧,说明您的显卡可能确实不支持 float16 计算,建议使用第一步的 CPU 方案。

完成设置后,请重新尝试处理视频。

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

Trending Questions