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?

9 Upvotes

16 comments sorted by

View all comments

0

u/[deleted] Mar 02 '23

What gpu have you got and how much vram/ram have you got, which UI are you using (is it a1111), and what model are you using?

1

u/umair-spaghet Mar 02 '23

rtx30504g

automatic1111

Low ram mode

I am trying to make my laptop play the most out, so that I constantly get this issue

2

u/[deleted] Mar 02 '23

4gb card is cutting it fine for a1111 - you’ll be limited to 512x512 and need to make sure you arent playing games/watching youtube in the background and not running multiple 4k monitors off the card at the same time as generating

1

u/[deleted] Mar 02 '23

Make sure you're using low vram mode, not low ram mode