Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory error (?) #147

Open
Ry3yr opened this issue Jul 30, 2024 · 1 comment
Open

Out of memory error (?) #147

Ry3yr opened this issue Jul 30, 2024 · 1 comment

Comments

@Ry3yr
Copy link

Ry3yr commented Jul 30, 2024

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
Copy link
Author

Ry3yr commented Jul 30, 2024

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:
#138

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant