RuntimeError: CUDA out of memory in stable diffusion

#217
by Ahmed960 - opened

Runtime Error: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 4.00 GiB total capacity; 3.46 GiB already allocated; 0 bytes free; 3.52 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

this is photos about my computer model and the error

50.jpg
51.jpg

image.png

Sign up or log in to comment