2025/12/30 20:16:02 [ERR] Traceback (most recent call last): File "C:\Users\geoo\Desktop\yzylauncher-index-tts-2.0\yzylauncher-index-tts-2.0.7z\yzylauncher-index-tts-2.0\python\webui.py", line 84, in tts = IndexTTS2(model_dir=cmd_args.model_dir, File "C:\Users\geoo\Desktop\yzylauncher-index-tts-2.0\yzylauncher-index-tts-2.0.7z\yzylauncher-index-tts-2.0\python\indextts\infer_v2.py", line 142, in init self.s2mel = s2mel.to(self.device) File "C:\Users\geoo\Desktop\yzylauncher-index-tts-2.0\yzylauncher-index-tts-2.0.7z\yzylauncher-index-tts-2.0\python\build_venv\lib\site-packages\torch\nn\modules\module.py", line 1369, in to return self._apply(convert) File "C:\Users\geoo\Desktop\yzylauncher-index-tts-2.0\yzylauncher-index-tts-2.0.7z\yzylauncher-index-tts-2.0\python\build_venv\lib\site-packages\torch\nn\modules\module.py", line 928, in _apply module._apply(fn) File "C:\Users\geoo\Desktop\yzylauncher-index-tts-2.0\yzylauncher-index-tts-2.0.7z\yzylauncher-index-tts-2.0\python\build_venv\lib\site-packages\torch\nn\modules\module.py", line 928, in _apply module._apply(fn) File "C:\Users\geoo\Desktop\yzylauncher-index-tts-2.0\yzylauncher-index-tts-2.0.7z\yzylauncher-index-tts-2.0\python\build_venv\lib\site-packages\torch\nn\modules\module.py", line 928, in _apply module._apply(fn) [Previous line repeated 3 more times] File "C:\Users\geoo\Desktop\yzylauncher-index-tts-2.0\yzylauncher-index-tts-2.0.7z\yzylauncher-index-tts-2.0\python\build_venv\lib\site-packages\torch\nn\modules\module.py", line 955, in _apply param_applied = fn(param) File "C:\Users\geoo\Desktop\yzylauncher-index-tts-2.0\yzylauncher-index-tts-2.0.7z\yzylauncher-index-tts-2.0\python\build_venv\lib\site-packages\torch\nn\modules\module.py", line 1355, in convert return t.to( torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB. GPU 0 has a total capacity of 4.00 GiB of which 0 bytes is free. Of the allocated memory 7.11 GiB is allocated by PyTorch, and 50.84 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)
#2375 2025/12/30 20:16:02 [ERR] Traceback (most recent call last): File "C:\Users\geoo\Desktop\yzylauncher-index-tts-2.0\yzyla
117.181*
Posted at: 1 month ago 👁101
1 Replies
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.