#7136 mkl_malloc: failed to allocate memory,Traceback (most recent call last): File

183.158**8 Posted at: 1 hour ago

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 85, in faster_whisper
File "videotrans\process\stt_faster.py", line 74, in _create_model
File "videotrans\process\stt_faster.py", line 78, in _create_model
File "videotrans\process\stt_faster.py", line 55, in _create_model
File "faster_whisper\transcribe.py", line 689, in __ini
......
ideotrans\task\_stage_recogn.py", line 65, in recogn
File "videotrans\recognition\__init__.py", line 228, in run
File "videotrans\recognition\_base.py", line 97, in run
File "videotrans\recognition\_whisper.py", line 41, in _exec
File "videotrans\recognition\_whisper.py", line 130, in _faster
File "videotrans\configure\base.py", line 264, in _new_process
videotrans.configure.excepts.VideoTransError: mkl_malloc: failed to allocate memory,Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 55, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: mkl_malloc: failed to allocate memory

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 85, in faster_whisper
File "videotrans\process\stt_faster.py", line 74, in _create_model
File "videotrans\process\stt_faster.py", line 78, in _create_model
File "videotrans\process\stt_faster.py", line 55, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: mkl_malloc: failed to allocate memory

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/AAA视频翻译/翻译测试 - 副本 (2) - 副本/1 (1).mp4,
输出结果保存到文件夹: D:/AAA视频翻译/翻译测试 - 副本 (2) - 副本/1 (1)-mp4,
临时文件夹: D://tmp/104488/fc565a39f0
未选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 不嵌入字幕


=
system:Windows-10-10.0.26100-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:D:/

1 Replies

#1 DeepSeek reply at 1 hour ago

这是由于系统物理内存不足导致的。large-v3-turbo 模型在纯 CPU 模式下运行时需要约 6-8GB 可用内存,而当前系统无法为其分配足够的空间。

解决步骤

  1. 先降低模型尺寸:在主界面语音识别模型下拉框中,将 large-v3-turbo 改为 smallmedium(显存/内存占用更低)。
  2. 修改计算数据类型:进入 菜单 → 工具 → 高级选项 → 语音识别参数,将 计算数据类型 设为 int8(最省内存)。
  3. 关闭耗内存的程序:处理前关闭浏览器、大型游戏等其他占用内存的软件。
  4. 扩大虚拟内存:Windows 搜索“虚拟内存”,将系统 C 盘或 D 盘的虚拟内存手动设置为 16GB 以上。
  5. 改用其他渠道:若仍失败,可改用 openai-whisper(内置)whisper.cpp(Win内置),或启用 CUDA加速(需 NVIDIA 显卡)。

另外注意:你的视频路径 D:/AAA视频翻译/翻译测试 - 副本 (2) - 副本/1 (1).mp4 包含中文、空格和特殊符号,建议将文件移入纯英文短路径(如 D:/test/1.mp4),否则后续也可能报错。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource