#4446 TaskCfgVTT(is_cuda=True, uuid='751dcdeaaa', cache_folder='E:/win-pyvideotrans-v3.99-428/tmp/5212/751dcdeaaa', target_dir

240e:34f* Posted at: 2 hours ago 👁8

语音识别阶段出错 [faster-whisper(本地)] Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 471, in faster_whisper
File "faster_whisper\transcribe.py", line 1851, in restore_speech_timestamps
File "faster_whisper\transcribe.py", line 1279, in generate_segments
File "faster_whisper\transcribe.py", line 1590, in add_word_timestamps
File "faster_whisper\transcribe.py", line 1709, in find_alignment
RuntimeError: cuBLAS failed with status CUBLAS_STATUS_NOT_SUPPORTED

Traceback (most recent call last):
File "videotrans\task\job.py", line 105, in run
File "videotrans\task\trans_create.py", line 380, in recogn
File "videotrans\recognition\__init__.py", line 293, in run
File "videotrans\recognition\_base.py", line 143, in run
File "videotrans\recognition\_overall.py", line 33, in _exec
File "videotrans\recognition\_overall.py", line 105, in _faster
File "videotrans\configure\_base.py", line 289, in _new_process
RuntimeError: Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 471, in faster_whisper
File "faster_whisper\transcribe.py", line 1851, in restore_speech_timestamps
File "faster_whisper\transcribe.py", line 1279, in generate_segments
File "faster_whisper\transcribe.py", line 1590, in add_word_timestamps
File "faster_whisper\transcribe.py", line 1709, in find_alignment
RuntimeError: cuBLAS failed with status CUBLAS_STATUS_NOT_SUPPORTED
TaskCfgVTT(is_cuda=True, uuid='751dcdeaaa', cache_folder='E:/win-pyvideotrans-v3.99-428/tmp/5212/751dcdeaaa', target_dir='E:/22M/_video_out/22M-mp4', source_language='英语', source_language_code='en', source_sub='E:/22M/_video_out/22M-mp4/en.srt', source_wav='E:/win-pyvideotrans-v3.99-428/tmp/5212/751dcdeaaa/en.wav', source_wav_output='E:/22M/_video_out/22M-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='E:/22M/_video_out/22M-mp4/zh-cn.srt', target_wav='E:/win-pyvideotrans-v3.99-428/tmp/5212/751dcdeaaa/target.wav', target_wav_output='E:/22M/_video_out/22M-mp4/zh-cn.m4a', name='E:/22M/22M.mp4', noextname='22M', basename='22M.mp4', ext='mp4', dirname='E:/22M', shound_del_name=None, translate_type=1, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='tiqu', subtitles='', targetdir_mp4='E:/22M/_video_out/22M-mp4/22M.mp4', novoice_mp4='E:/win-pyvideotrans-v3.99-428/tmp/5212/751dcdeaaa/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='E:/win-pyvideotrans-v3.99-428/tmp/5212/751dcdeaaa/vocal.wav', back_audio='', clear_cache=True, background_music=None, subtitle_type=0, only_out_mp4=False, recogn2pass=True, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:zh
root_dir:E:/win-pyvideotrans-v3.99-428

1 Replies

该错误是由于您的 CUDA/cuBLAS 环境与当前使用的 faster-whisper 模型不兼容所致,常见于较新的 NVIDIA 50 系列显卡或 CUDA 版本不匹配。

解决方法:

  1. 更新 CUDA 与 cuDNN
    本软件内置支持 CUDA 12.8,请确保安装了匹配的 CUDA 12.8 和 cuDNN 9.11 以上版本。旧版 CUDA 或驱动可能导致 cuBLAS 返回不支持状态。
  2. 调整推理参数(临时措施)
    进入 菜单 → 工具/选项 → 高级选项 → 语音识别参数,尝试以下修改:

    • CUDA数据类型 改为 float32(关闭 int8 加速)。
    • 降低 beam_size1best_of1
    • 关闭 启用上下文感知
  3. 依然无效时禁用 CUDA
    在主界面取消勾选 CUDA加速,使用纯 CPU 处理(会较慢)。
  4. 显卡驱动更新
    确保 NVIDIA 驱动为最新版,可从官网下载。
  5. 若使用 50 系显卡
    参考官方提供的 50 系显卡解决方案。

请查阅相关文档:

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.

Related resource