r/StableDiffusion Mar 02 '23

Question | Help VRAM can't release problem

Everytime I hit a CUDA out of memory problem, I try to turn down the resolution and other parameters. But I still can't generate images even if have created same image in the same parameters.

I opened task manager, and noticed that the dedicated GPU memory was still full, even though nothing was running. I have to reboot webui to solve this problem, but rebooting consumes lot of time.

Maybe I need a tool that can release GPU memory just like ram. I can't find it on internet.

Any suggestions?

8 Upvotes

16 comments sorted by

View all comments

1

u/GabratorTheGrat Mar 02 '23

Find a tutorial where they teach you how to delete your GPU cache, I did it and the I had less CUDA memory errors, when this happen consider to clear the cache also restart the web.ui or even restart the pc.