TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.52k stars 1.31k forks source link

OutOfMemoryError #1243

Open TkonstAL opened 1 year ago

TkonstAL commented 1 year ago

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 2.25 GiB (GPU 0; 14.76 GiB total capacity; 10.77 GiB already allocated; 661.75 MiB free; 12.82 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 didn't have this error before, what's wrong?

TheLastBen commented 1 year ago

dreambooth ? A1111 ?

TkonstAL commented 1 year ago

Colub https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb