#3618 TaskCfgVTT(is_cuda=True, uuid='b75eebbe5a', cache_folder='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.98-314/tmp/2624/

2a00:1d34* Posted at: 19 hours ago 👁15

ASR Error [faster-whisper (Local)] An error has occurred. There may be insufficient memory or video memory.
A child process terminated abruptly, the process pool is not usable anymore
Traceback (most recent call last):
File "videotrans\configure\_base.py", line 280, in _new_process
File "videotrans\process\signelobj.py", line 81, 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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 105, in run
File "videotrans\task\trans_create.py", line 353, in recogn
File "videotrans\recognition\__init__.py", line 265, 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 294, in _new_process
RuntimeError: An error has occurred. There may be insufficient memory or video memory.
A child process terminated abruptly, the process pool is not usable anymore
TaskCfgVTT(is_cuda=True, uuid='b75eebbe5a', cache_folder='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.98-314/tmp/2624/b75eebbe5a', target_dir='M:/Tutorials/Maya Fundamentals/Maya 2020- Eric Keller Gnomon/_video_out/09 Rotate Tool.mp4-mp4', source_language='English', source_language_code='en', source_sub='M:/Tutorials/Maya Fundamentals/Maya 2020- Eric Keller Gnomon/_video_out/09 Rotate Tool.mp4-mp4/en.srt', source_wav='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.98-314/tmp/2624/b75eebbe5a/en.wav', source_wav_output='M:/Tutorials/Maya Fundamentals/Maya 2020- Eric Keller Gnomon/_video_out/09 Rotate Tool.mp4-mp4/en.m4a', target_language='Turkish', target_language_code='tr', target_sub='M:/Tutorials/Maya Fundamentals/Maya 2020- Eric Keller Gnomon/_video_out/09 Rotate Tool.mp4-mp4/tr.srt', target_wav='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.98-314/tmp/2624/b75eebbe5a/target.wav', target_wav_output='M:/Tutorials/Maya Fundamentals/Maya 2020- Eric Keller Gnomon/_video_out/09 Rotate Tool.mp4-mp4/tr.m4a', name='M:/Tutorials/Maya Fundamentals/Maya 2020- Eric Keller Gnomon/09 Rotate Tool.mp4.mp4', noextname='09 Rotate Tool.mp4', basename='09 Rotate Tool.mp4.mp4', ext='mp4', dirname='M:/Tutorials/Maya Fundamentals/Maya 2020- Eric Keller Gnomon', shound_del_name=None, translate_type=5, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Ahmet(Male/TR)', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='M:/Tutorials/Maya Fundamentals/Maya 2020- Eric Keller Gnomon/_video_out/09 Rotate Tool.mp4-mp4/09 Rotate Tool.mp4.mp4', novoice_mp4='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.98-314/tmp/2624/b75eebbe5a/novoice.mp4', is_separate=False, instrument=None, vocal=None, back_audio='', clear_cache=True, background_music=None, subtitle_type=0, only_out_mp4=True, recogn2pass=True, output_srt=0, copysrt_rawvideo=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.98
frozen:True
language:en
root_dir:C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.98-314

1 Replies

This error indicates insufficient GPU memory (VRAM) or system memory (RAM) while using the faster-whisper model with CUDA acceleration enabled.

The primary cause is that the large-v3-turbo model requires significant GPU memory, and your system may not have enough. The process pool crashed because a child process terminated abruptly due to memory constraints.

Follow these steps to resolve the issue:

  1. Reduce GPU Memory Usage:

    • Go to Menu -> Tools/Options -> Advanced Options.
    • In the General Settings section, set GPU Simultaneous Tasks [Restart Effective] to 1.
    • In the Speech Recognition Parameters section, set CUDA Data Type to int8. This uses less memory but may slightly reduce accuracy.
    • Lower the Recognition Accuracy beam_size and Recognition Accuracy best_of values to 1 or 2.
  2. Use a Smaller Model:

    • On the main translation interface, in the "Speech Recognition" row, change the model from large-v3-turbo to a smaller one like large-v3, large-v2, or medium. The large-v3-turbo model is particularly resource-intensive.
  3. Check Available VRAM:

    • Open Command Prompt and run nvidia-smi to check your GPU's total and available VRAM.
    • Ensure no other applications are heavily using the GPU.
  4. Fallback to CPU (Slower):

    • If the above steps fail, temporarily disable the CUDA Acceleration checkbox on the main interface. This will force the software to use the CPU, which is much slower but avoids GPU memory issues.
  5. Increase System Virtual Memory (Windows):

    • If you encounter system RAM issues, increase your Windows page file size to provide more virtual memory.

Please refer to the relevant documentation:

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