#4659 Traceback (most recent call last): File "videotrans\process\stt_fun.py", line 347, in faster_whisper File "faster_whis

2409:8a55* Posted at: 12 hours ago 👁19

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 347, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: mkl_malloc: failed to allocate memory

Traceback (most recent call last):
File "videotrans\task\_mult_video.py", line 36, 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 347, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: mkl_malloc: failed to allocate memory

1 Replies

这是由于系统内存(RAM)不足导致 faster-whisper 无法分配内存。

解决方案

  1. 关闭其他占用内存的程序,释放系统资源。
  2. 在软件主界面的语音识别渠道下拉菜单中,改用更小的模型,如 basesmall,避免使用 large-v3
  3. 在菜单 工具/选项 → 高级选项 → 语音识别参数 中,将“CUDA数据类型”设为 int8float16,并将 beam_sizebest_of 均设为 1,以降低内存占用。
  4. 如果仍然失败,检查系统虚拟内存设置,确保有足够的交换空间。

请查阅相关文档:

Post Your Reply