#5069 concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was

166.88* Posted at: 4 hours ago

出错了,可能内存或显存不足 Model:distil-large-v3.5 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.

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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 44, in run
File "videotrans\task\trans_create.py", line 361, 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 303, in _new_process
RuntimeError: 出错了,可能内存或显存不足 Model:distil-large-v3.5 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.99
frozen:True
language:zh
root_dir:C:/Users/86181/Desktop

1 Replies

这是由于显存不足导致语音识别子进程被系统强制终止。distil-large-v3.5 模型虽为蒸馏版,但仍需约4-6GB显存,若同时有其他程序占用或显卡显存不足,则会崩溃。

请按以下顺序尝试解决:

  1. 更换为更小的模型:在语音识别渠道 faster-whisper(本地) 中,将模型切换为 smallbase(纯英文可选 small.en)。
  2. 降低显存占用:打开菜单 → 工具/选项 → 高级选项 → 语音识别参数,做以下修改(保存后重新执行):

    • CUDA数据类型:改为 int8
    • beam_size:改为 1
    • best_of:改为 1
    • 上下文感知:取消勾选(设为 false
  3. 确认显存使用情况:运行 nvidia-smi 命令(CMD中)检查当前显存占用,关闭其他占用显存的程序(如浏览器、视频播放器、其他AI工具)。
  4. 若仍有问题,切换到 CPU 模式:在主界面暂不勾选 CUDA加速,使用 CPU 处理(速度会慢但可避免显存不足)。

请查阅相关文档:

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: ko-fi.com/jianchang512

Related resource

Similar issues already exist