#3502 TaskCfgVTT(is_cuda=True, uuid='0b2ccf7d88', cache_folder='D:/project/Videotrans/win-pyvideotrans-v3.97-0304/tmp/6196/0b2

240e:47e* Posted at: 4 hours ago 👁8

语音识别阶段出错 [faster-whisper(本地)] Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 452, 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 353, in recogn
File "videotrans\recognition\__init__.py", line 265, 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 288, in _new_process
RuntimeError: Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 452, 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='0b2ccf7d88', cache_folder='D:/project/Videotrans/win-pyvideotrans-v3.97-0304/tmp/6196/0b2ccf7d88', target_dir='E:/编程/AI/_video_out/p04 4. Day 1 - Setting Up Your PC Development Environment with Git and Cursor-mp4', source_language='英语', source_language_code='en', source_sub='E:/编程/AI/_video_out/p04 4. Day 1 - Setting Up Your PC Development Environment with Git and Cursor-mp4/en.srt', source_wav='D:/project/Videotrans/win-pyvideotrans-v3.97-0304/tmp/6196/0b2ccf7d88/en.wav', source_wav_output='E:/编程/AI/_video_out/p04 4. Day 1 - Setting Up Your PC Development Environment with Git and Cursor-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='E:/编程/AI/_video_out/p04 4. Day 1 - Setting Up Your PC Development Environment with Git and Cursor-mp4/zh-cn.srt', target_wav='D:/project/Videotrans/win-pyvideotrans-v3.97-0304/tmp/6196/0b2ccf7d88/target.wav', target_wav_output='E:/编程/AI/_video_out/p04 4. Day 1 - Setting Up Your PC Development Environment with Git and Cursor-mp4/zh-cn.m4a', name='E:/编程/AI/Udemy – AI Engineer Core Track: LLM Engineering, RAG, QLoRA, Agents part1/p04 4. Day 1 - Setting Up Your PC Development Environment with Git and Cursor.mp4', noextname='p04 4. Day 1 - Setting Up Your PC Development Environment with Git and Cursor', basename='p04 4. Day 1 - Setting Up Your PC Development Environment with Git and Cursor.mp4', ext='mp4', dirname='E:/编程/AI/Udemy – AI Engineer Core Track: LLM Engineering, RAG, QLoRA, Agents part1', shound_del_name=None, translate_type=5, tts_type=10, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='aozi.wav', voice_autorate=True, 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='biaozhun', subtitles='', targetdir_mp4='E:/编程/AI/_video_out/p04 4. Day 1 - Setting Up Your PC Development Environment with Git and Cursor-mp4/p04 4. Day 1 - Setting Up Your PC Development Environment with Git and Cursor.mp4', novoice_mp4='D:/project/Videotrans/win-pyvideotrans-v3.97-0304/tmp/6196/0b2ccf7d88/novoice.mp4', is_separate=False, instrument=None, vocal=None, back_audio='', clear_cache=False, background_music=None, subtitle_type=4, only_out_mp4=False, recogn2pass=True, output_srt=2, copysrt_rawvideo=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.97
frozen:True
language:zh
root_dir:D:/project/Videotrans/win-pyvideotrans-v3.97-0304

1 Replies

这是由于使用的 NVIDIA 显卡(很可能是 50 系显卡)与当前 CUDA/cuBLAS 库版本不兼容导致的 CUBLAS_STATUS_NOT_SUPPORTED 错误。

解决方案:

  1. 临时解决方案(推荐):在软件中禁用 CUDA 加速,让 faster-whisper 使用 CPU 运行。

    • 在 pyVideoTrans 主界面,找到“语音识别”行,取消勾选“启用 CUDA 加速”选项。
    • 重新运行任务。注意,这会导致识别速度显著变慢,但可以绕过该错误。
  2. 根本解决方案:更新您的显卡驱动和 CUDA 工具包。

    • 更新显卡驱动:前往 NVIDIA 官网下载并安装适用于您显卡型号的最新版 Game Ready 或 Studio 驱动程序。
    • 更新 CUDA 工具包:根据知识库,pyVideoTrans 内置支持 CUDA 12.8。请确保您系统安装的 CUDA 版本为 12.8 或更高。您可以从 NVIDIA 开发者网站下载并安装 CUDA 12.8 工具包。
    • 验证安装:安装后,在命令提示符(CMD)中分别输入 nvcc -Vnvidia-smi 确认 CUDA 版本和驱动版本。
  3. 备用方案:如果更新驱动和 CUDA 后问题依旧,可以尝试切换语音识别模型或渠道。

    • 尝试使用 openai-whisper(本地) 渠道。
    • 或者,在 faster-whisper(本地) 渠道中,尝试使用 large-v2large-v3 模型(而非 large-v3-turbo),有时不同模型对底层库的调用方式略有差异。

请查阅相关文档:

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