JarodMica / ai-voice-cloning

GNU General Public License v3.0
620 stars 140 forks source link

Out of memory error (?) #147

Open Ry3yr opened 3 months ago

Ry3yr commented 3 months ago

File "C:\ai-voice-cloning-3.0\runtime\Lib\site-packages\torch\nn\modules\module.py", line 1152, in to return self._apply(convert) ^^^^^^^^^^^^^^^^^^^^ File "C:\ai-voice-cloning-3.0\runtime\Lib\site-packages\torch\nn\modules\module.py", line 802, in _apply module._apply(fn) File "C:\ai-voice-cloning-3.0\runtime\Lib\site-packages\torch\nn\modules\module.py", line 802, in _apply module._apply(fn) File "C:\ai-voice-cloning-3.0\runtime\Lib\site-packages\torch\nn\modules\module.py", line 802, in _apply module._apply(fn) [Previous line repeated 6 more times] File "C:\ai-voice-cloning-3.0\runtime\Lib\site-packages\torch\nn\modules\module.py", line 825, in _apply param_applied = fn(param) ^^^^^^^^^ File "C:\ai-voice-cloning-3.0\runtime\Lib\site-packages\torch\nn\modules\module.py", line 1150, in convert return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ torch.cuda.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 3.49 GiB is allocated by PyTorch, and 56.46 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) Screenshot_2024-07-30-02-45-43

These are my PC specs https://ry3yr.github.io/mypc

Ry3yr commented 3 months ago

Also the extraction fails on all programs for these 4 - throws "unsupported compression method" (On WinRar, 7Zip, anywhere. The download was succesful tho)

Kinda weird. I never experienced this error with any archive.

I have like 30 gigs free on my hdd, so that is not the issue Screenshot_2024-07-30-02-37-39

See also: https://github.com/JarodMica/ai-voice-cloning/issues/138

Oh PS: https://stackoverflow.com/questions/54374935/how-can-i-fix-this-strange-error-runtimeerror-cuda-error-out-of-memory