#2930 TaskCfg(cache_folder='C:/Users/JOHN/Documents/DUBLADOR/win-pyvideotrans-v3.95/tmp/23904/19751b8810', target_dir='C:/User

152.237* Posted at: 2 hours ago 👁7

ASR Error [faster-whisper (Local)] An error has occurred. There may be insufficient memory or video memory. Please try changing the faster-whisper batch size to 1 in the advanced options.
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 272, in _new_process
File "concurrent\futures\_base.py", line 446, in result
File "concurrent\futures\_base.py", line 391, 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\job.py", line 106, in run
File "videotrans\task\trans_create.py", line 358, in recogn
File "videotrans\recognition\__init__.py", line 276, in run
File "videotrans\recognition\_base.py", line 140, in run
File "videotrans\recognition\_overall.py", line 63, in _exec
File "videotrans\recognition\_overall.py", line 142, in _faster
File "videotrans\configure\_base.py", line 282, in _new_process
RuntimeError: An error has occurred. There may be insufficient memory or video memory. Please try changing the faster-whisper batch size to 1 in the advanced options.
A process in the process pool was terminated abruptly while the future was running or pending.
TaskCfg(cache_folder='C:/Users/JOHN/Documents/DUBLADOR/win-pyvideotrans-v3.95/tmp/23904/19751b8810', target_dir='C:/Users/JOHN/Documents/Curso_C#/BANCO DE SANGUE/QWE/11. Create Blood Bank Management System in C# (Creating Business Logic Layer for Donor Module)-mp4', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='English', target_language='Portuguese', source_language_code='en', target_language_code='pt', source_sub='C:/Users/JOHN/Documents/Curso_C#/BANCO DE SANGUE/QWE/11. Create Blood Bank Management System in C# (Creating Business Logic Layer for Donor Module)-mp4/en.srt', target_sub='C:/Users/JOHN/Documents/Curso_C#/BANCO DE SANGUE/QWE/11. Create Blood Bank Management System in C# (Creating Business Logic Layer for Donor Module)-mp4/pt.srt', source_wav='C:/Users/JOHN/Documents/DUBLADOR/win-pyvideotrans-v3.95/tmp/23904/19751b8810/en.wav', source_wav_output='C:/Users/JOHN/Documents/Curso_C#/BANCO DE SANGUE/QWE/11. Create Blood Bank Management System in C# (Creating Business Logic Layer for Donor Module)-mp4/en.m4a', target_wav='C:/Users/JOHN/Documents/DUBLADOR/win-pyvideotrans-v3.95/tmp/23904/19751b8810/target.wav', target_wav_output='C:/Users/JOHN/Documents/Curso_C#/BANCO DE SANGUE/QWE/11. Create Blood Bank Management System in C# (Creating Business Logic Layer for Donor Module)-mp4/pt.m4a', subtitles='', novoice_mp4='C:/Users/JOHN/Documents/DUBLADOR/win-pyvideotrans-v3.95/tmp/23904/19751b8810/novoice.mp4', noextname='11. Create Blood Bank Management System in C# (Creating Business Logic Layer for Donor Module)', shibie_audio=None, targetdir_mp4='C:/Users/JOHN/Documents/Curso_C#/BANCO DE SANGUE/QWE/11. Create Blood Bank Management System in C# (Creating Business Logic Layer for Donor Module)-mp4/11. Create Blood Bank Management System in C# (Creating Business Logic Layer for Donor Module).mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='tiqu', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=False, clear_cache=True, translate_type=0, tts_type=4, recogn_type=0, model_name='large-v3-turbo', voice_autorate=False, video_autorate=False, cuda=True, name='C:/Users/JOHN/Documents/Curso_C#/BANCO DE SANGUE/ORIGINAL/11. Create Blood Bank Management System in C# (Creating Business Logic Layer for Donor Module).mp4', basename='11. Create Blood Bank Management System in C# (Creating Business Logic Layer for Donor Module).mp4', ext='mp4', dirname='C:/Users/JOHN/Documents/Curso_C#/BANCO DE SANGUE/ORIGINAL', shound_del_name=None, uuid='19751b8810', remove_silent_mid=False, align_sub_audio=False, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False, fix_punc=False, recogn2pass=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.95
frozen:True
language:en
root_dir:C:/Users/JOHN/Documents/DUBLADOR/win-pyvideotrans-v3.95

1 Replies

This error is caused by insufficient GPU memory (VRAM) when running the faster-whisper model.

  1. Reduce the batch size: Go to the menu Tools -> Advanced Options -> Speech Recognition Parameters. Find the setting for "faster-whisper batch size" and change its value to 1. Save the settings and restart the software.
  2. Use a smaller model: In the main interface, under Speech Recognition Channel, change the model from large-v3-turbo to a smaller one like large-v2, medium, or small. Smaller models require less VRAM.
  3. Enable model quantization: In the same Advanced Options -> Speech Recognition Parameters section, enable "Use int8 quantization". This reduces the model's memory footprint at a slight cost to accuracy.
  4. Check for other memory-intensive tasks: Close other applications that might be using your GPU, such as games or other AI software, to free up VRAM.
  5. Verify CUDA installation: Ensure you have CUDA 12.8 and cuDNN 9.x correctly installed if you are using an NVIDIA GPU. Run nvidia-smi in the command prompt to check GPU usage and driver status.

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

Similar issues already exist