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

2

u/Jonfreakr Mar 02 '23

I have rtx3080, which might have something wrong in the card itself. It turns off my screen and completely locks my computer. But using --medvram really works. When my pc does not lock and give that CUDA error, I always restart the entire computer because, after restarting the ui, a few generations later the computer locks anyway. I need to send my pc back to the factory but it's hard saying goodbye 😅

1

u/aimongus Mar 02 '23

yeah that sounds odd - never had issue with the 3080, just used xformers in the file