In paint stable diffusion - Error - CUDA out of Memory

#86
by Maranpani - opened

I put stable diffusion on my computer and
This is the message i have when i'am trying to do a simple inpaint deep fake photo (no photo is generated):

OfMemoryError: CUDA out of memory. Tried to allocate 1.28 GiB (GPU 0; 6.00 GiB total capacity; 3.41 GiB already allocated; 0 bytes free; 4.70 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
Time taken: 2.36sTorch active/reserved: 4780/4824 MiB, Sys VRAM: 6144/6144 MiB (100.0%)

I use "easy Diffusion" without problem, and here for a simple image i have an issue.

Is someone could help me, regarding the error message please ? in FRench or english ?

Thanks. Take Care.

It start working when i reduce the image to 620/620 :)

Sign up or log in to comment