语音识别阶段出错[Qwen-ASR(内置)] CUDA out of memory. Tried to allocate 1.10 GiB. GPU 0 has a total capacity of 11.94 GiB of which 176.00 MiB is free. Of the allocated memory 8.94 GiB is allocated by PyTorch, and 1.62 GiB 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_qwen.py", line 57, in qwen3asr_fun
File "D:\Tools\win-pyvideotrans-v4.11\_internal\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)File "qwen_asr\inference\qwen3_asr.py", line 383, in transcribe
raw_outputs = self._infer_asr(chunk_ctx, chunk_wavs, chunk_lang)File "qwen_asr\inference\qwen3_asr.py", line 485, in _infer_asr
return self._infer_asr_transformers(contexts, wavs,......
n forward
hidden_states, _ = self.self_attn(File "D:\Tools\win-pyvideotrans-v4.11\_internal\torch\nn\modules\module.py", line 1751, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)File "D:\Tools\win-pyvideotrans-v4.11\_internal\torch\nn\modules\module.py", line 1762, in _call_impl
return forward_call(*args, **kwargs)File "D:\Tools\win-pyvideotrans-v4.11\_internal\transformers4576\utils\deprecation.py", line 172, in wrapped_func
return func(*args, **kwargs)File "qwen_asr\core\transformers_backend\modeling_qwen3_asr.py", line 204, in forward
attn_output, attn_weights = attention_interface(File "D:\Tools\win-pyvideotrans-v4.11\_internal\transformers4576\integrations\sdpa_attention.py", line 96, in sdpa_attention_forward
attn_output = torch.nn.functional.scaled_dot_product_attention(torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 1.10 GiB. GPU 0 has a total capacity of 11.94 GiB of which 176.00 MiB is free. Of the allocated memory 8.94 GiB is allocated by PyTorch, and 1.62 GiB 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)
[SpeechToText]语音转录: self.out_format='srt',self.copysrt_rawvideo=True,self.spk_insert=False
[TaskCfgSTT]
原始输入文件名: D:/A-H-X/AHX/A/FAプロ/AOFA&AOFR 001-048(全高清)/AOFR-045 FA-289 懐かしきFAポルノ 青春SEX激情篇 初恋残酷物語 【河合ゆかり,織本さくら,伊藤百合,秋山礼子】(自译)/AOFR-045 懐かしきFAポルノ 青春SEX激情篇 初恋残酷物語.wmv,
输出结果保存到文件夹: C:/Users/Administrator/Downloads/Compressed/win-pyvideotrans-v4.11/output/recogn,
临时文件夹: D:/Tools/win-pyvideotrans-v4.11/tmp/5832/e2a6adc6c4
已启用CUDA加速
未选 降噪
语音识别:Qwen-ASR(内置), 0.6B 断句方式:默认断句
发音语言:ja
未选 降噪
代理地址:http://127.0.0.1:7890
=
system:Windows-10-10.0.26100-SP0
version:v4.11
frozen:True
language:zh
root_dir:D:/Tools/win-pyvideotrans-v4.11