#3649 concurrent.futures.process.BrokenProcessPool: A child process terminated abruptly, the process pool is not usable anymor

194.5* Posted at: 2 days ago 👁23

出错了,可能内存或显存不足 [GPU0]
Traceback (most recent call last):
File "videotrans\configure\_base.py", line 281, in _new_process
File "videotrans\process\signelobj.py", line 80, in submit_task_gpu
File "concurrent\futures\process.py", line 720, in submit
concurrent.futures.process.BrokenProcessPool: A child process terminated abruptly, the process pool is not usable anymore


=
system:Windows-10-10.0.19045-SP0
version:v3.98
frozen:True
language:zh
root_dir:C:/win-pyvideotrans-v3.98-317

1 Replies

这是由于显存不足导致子进程崩溃。

  1. 降低模型要求:在“语音识别”下拉菜单中,将模型从 large-v3 更换为更小的模型,例如 large-v3-turbomediumsmall
  2. 启用量化:如果使用 faster-whisper 模型,请进入 菜单 -> 工具 -> 高级选项 -> 语音识别参数,将 CUDA数据类型defaultfloat16 改为 int8。这会降低精度但显著减少显存占用。
  3. 限制GPU任务数:在 菜单 -> 工具 -> 高级选项 -> 通用设置 中,将 GPU同时任务数[重启生效] 设置为 1,修改后重启软件生效。
  4. 调整识别精度:在 菜单 -> 工具 -> 高级选项 -> 语音识别参数 中,将 识别准确度beam_size识别准确度best_of 都设置为 1
  5. 关闭上下文感知:在 菜单 -> 工具 -> 高级选项 -> 语音识别参数 中,取消勾选 启用上下文感知

请查阅相关文档:

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.

Related resource