语音识别阶段出错[Huggingface_ASR(本地内置)] CUDA out of memory. Tried to allocate 5.55 GiB. GPU 0 has a total capacity of 11.94 GiB of which 3.12 GiB is free. Of the allocated memory 7.62 GiB is allocated by PyTorch, and 9.37 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables):Traceback (most recent call last):
File "videotrans\process\stt_pipe.py", line 97, in pipe_asr
File "C:\Users\Administrator\Desktop\win-pyvideotrans-v4.07(1)\_internal\transformers\pipelines\automatic_speech_recognition.py", line 266, in call
return super().__call__(inputs, **kwargs)File "C:\Users\Administrator\Desktop\win-pyvideotrans-v4.07(1)\_internal\transformers\pipelines\base.py", line 1248, in call
outputs = list(final_iterator)File "C:\Users\Administrator
......
torch\nn\modules\activation.py", line 133, in forward
return F.relu(input, inplace=self.inplace)File "C:\Users\Administrator\Desktop\win-pyvideotrans-v4.07(1)\_internal\torch\nn\functional.py", line 1704, in relu
result = torch.relu(input)torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 5.55 GiB. GPU 0 has a total capacity of 11.94 GiB of which 3.12 GiB is free. Of the allocated memory 7.62 GiB is allocated by PyTorch, and 9.37 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
cfg=TaskCfgSTT(uuid='a7024a7428', name='C:/Users/Administrator/Desktop/[bbs.yzkof.com]MOMJ-128.720P A[约战竞技场].mp4', dirname='C:/Users/Administrator/Desktop', noextname='[bbs.yzkof.com]MOMJ-128.720P A[约战竞技场]', basename='[bbs.yzkof.com]MOMJ-128.720P A[约战竞技场].mp4', ext='mp4', target_dir='C:/Users/Administrator/Desktop/win-pyvideotrans-v4.07(1)/output/recogn', cache_folder='C:/Users/Administrator/Desktop/win-pyvideotrans-v4.07(1)/tmp/17912/a7024a7428', is_cuda=True, source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='C:/Users/Administrator/Desktop/win-pyvideotrans-v4.07(1)/output/recogn/[bbs.yzkof.com]MOMJ-128.720P A[约战竞技场].srt', target_wav=None, target_wav_output=None, detect_language='ja', recogn_type=8, model_name='nvidia/parakeet-ctc-1.1b', shibie_audio='C:/Users/Administrator/Desktop/win-pyvideotrans-v4.07(1)/tmp/17912/a7024a7428/[bbs.yzkof.com]MOMJ-128.720P A[约战竞技场]-1785669011.6671953.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0)
=
system:Windows-10-10.0.19045-SP0
version:v4.07
frozen:True
language:zh
root_dir:C:/Users/Administrator/Desktop/win-pyvideotrans-v4.07(1)