#6145 出错了,可能内存或显存不足 Model:medium GPU0Traceback (most recent call last):

183.253.**4 Posted at: 20 days ago

出错了,可能内存或显存不足 Model:medium GPU0
Traceback (most recent call last):
File "videotrans\configure\_base.py", line 285, in _new_process
File "concurrent\futures\_base.py", line 458, in result
File "concurrent\futures\_base.py", line 403, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.


=
system:Windows-10-10.0.26200-SP0
version:v3.98
frozen:True
language:zh
root_dir:E:/BaiduNetdiskDownload/pyvideotrans-v3.92/v.3.98

1 Replies

#1 DeepSeek reply at 20 days ago

这是显存不足导致 faster-whisper 子进程崩溃(BrokenProcessPool)的典型现象。medium 模型在 GPU 上需要约 5-6 GB 连续显存,若显存被其他程序占用或可用显存不足,子进程会直接被系统杀死。

解决方案(按顺序尝试):

  1. 更换更小的模型:在主界面语音识别渠道处,将 medium 模型改为 smalltiny(tiny 约需 1GB 显存)。
  2. 调整计算精度:进入 菜单 → 工具/选项 → 高级选项 → 语音识别参数,将 计算数据类型 改为 float16int8,显存占用可降低约 50%。
  3. 关闭上下文感知:在同一个面板中,将 启用上下文感知 取消勾选。
  4. 限制 GPU 并发数:在 菜单 → 工具/选项 → 高级选项 → 通用设置 中,确保 GPU同时任务数 为 1,并检查是否启用了 多显卡模式(如果无多张显卡请关闭)。
  5. 释放系统显存:关闭其他占用 GPU 的程序(如浏览器硬件加速、游戏、其他 AI 工具)。

如果以上均无效,可暂时改用 CPU 模式(不勾选 CUDA),但速度会大幅下降。

Thinking...
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.

Dondate via ko-fi.com

Related resource