#1484 openai.InternalServerError: Error code: 500 - {'details': 'CUDA error: invalid argument CUDA kernel errors might be asyn

111.57* Posted at: 3 hours ago 👁6

语音识别阶段出错:[Parakeet-tdt] 500 错误: API服务端内部错误 Error code: 500 - {'details': 'CUDA error: invalid argument 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. ', 'error': '服务器内部错误'}:
Traceback (most recent call last):
File "videotrans\task\job.py", line 105, in run
File "videotrans\task\_speech2text.py", line 133, in recogn
File "videotrans\recognition\__init__.py", line 230, in run
File "videotrans\recognition\_base.py", line 78, in run
File "videotrans\recognition\_parakeet.py", line 38, in _exec
File "openai\_utils\_utils.py", line 286, in wrapper
File "openai\resources\audio\transcriptions.py", line 406, in create
File "openai\_base_client.py", line 1259, in post
File "openai\_base_client.py", line 1047, in request
openai.InternalServerError: Error code: 500 - {'details': 'CUDA error: invalid argument 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. ', 'error': '服务器内部错误'}


=
system:Windows-10-10.0.26100-SP0
version:v3.83
frozen:True
language:zh
root_dir:C:/Users/zhu/Downloads/win-videotrans-v3.83

1 Replies

该错误表明您使用的语音识别渠道 Parakeet-tdt 的服务器端出现了 CUDA 错误,这是一个服务提供方(而非您本地)的内部问题。

解决方案:

  1. 更换语音识别渠道:这是最快、最直接的解决方法。请切换到其他可用的渠道,例如:

    • faster-whisper(本地):推荐使用,它利用您本地的计算资源,不受远程服务器影响。请确保已勾选“CUDA加速”以利用GPU。
    • openai-whisper:同样是本地模型。
    • 阿里FunASR(本地):对中文识别有较好效果。
  2. 稍后重试:如果您必须使用 Parakeet-tdt,可以等待一段时间后重试,这可能是服务提供方的临时故障。

操作步骤:
在软件主界面的“语音识别渠道”下拉菜单中,选择一个非 Parakeet-tdt 的渠道,然后重新开始任务。

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