deforum-stable-diffusion
deforum-stable-diffusion copied to clipboard
Cuda out of memory
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 11.82 GiB (GPU 0; 11.75 GiB total capacity; 2.20 GiB already allocated; 6.43 GiB free; 3.54 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
I am getting this error when i'm trying to change image resolution from 512x512 to 1280x720 on my local GPU,while it is working fine on Google Collab!
I have NVIDIA GeForce RTX 3080, 12gb and 16gb RAM