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

CUDA out of memory #215

Open
Fqlox opened this issue Oct 31, 2022 · 0 comments
Open

CUDA out of memory #215

Fqlox opened this issue Oct 31, 2022 · 0 comments

Comments

@Fqlox
Copy link

Fqlox commented Oct 31, 2022

I Tried to use the img2img script. I got :

RuntimeError: CUDA out of memory. Tried to allocate 1.75 GiB 
(GPU 0; 8.00 GiB total capacity; 5.09 GiB already allocated; 0 bytes free; 6.00 GiB reserved in total by PyTorch) 
If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. 
See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

No other program using th gpu are open while executing the script.

I'm using a 2070 Super on Windows 10.

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