CUDA out of memory. Cómo solucionar los bloqueos por falta de memoria de GPU.
Errores que ocurren en Stable Diffusion cuando hay poca memoria.
En mi caso, apareció el siguiente mensaje.
CUDA out of memory. Tried to allocate 3.35 GiB (GPU 0; 8.00 GiB total capacity; 5.63 GiB already allocated; 843.24 MiB free; 5.65 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
Edita webui-user.bat y, si no tienes xformers, añádelo.
Parece que también ocurre al usar VAE, así que añade –no-half-vae.
set COMMANDLINE_ARGS=–xformers --no-half-vae
Fin.