Open Amazingldl opened 1 year ago
Does this same issue occur on 1.6.0-RC?
this is the case since i use automatic1111 also happens in sd1.5 and possibly on the new 1.6 RC aswell. -Generate an image with hires enabled. Doesn't matter how you do it we want to find the spot where gpu memory reached max. depending on gpu -let it run 2-3x lower resolution just a bit. After it goes insufficient memory twice or more, you will notice that gpu memory usage is higher than usual for no reason at all. -there appears to be memory leakage somewhere, also adressed by many . The only solution I go right now is know your gpu and dont let it go full power with no puffer. Otherwise you will be resetting much more than the gpu i tell you ahah also been there done that
@MikeBivins "Otherwise you will be resetting much more than the gpu" what do you mean by that?
See Optimizations ... Verify you have enabled resizable bar on your bios. Check taskmanager to diagnose.
Is there an existing issue for this?
What happened?
Related issues: Image generation fails after one image is generated
My GPU is RTX3070-Ti Laptop-8GB
Out of memory happened when I tried to generate the second image:
sd_xl_base_1.0
checkpointAbove all, I tried to use the button
Unload SD checkpoint to free VRAM
orReload the last SD checkpoint back into VRAM
in Settings-Actions, but it did not work.Steps to reproduce the problem
sd_xl_base_1.0
checkpointWhat should have happened?
I used the same setup for both generation steps, so I figured if it worked the first time, it should work the second time. The button
Unload SD checkpoint to free VRAM
should work when out of memory.Version or Commit where the problem happens
v1.5.0
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
Other GPUs
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
List of extensions
Console logs
Additional information
I want to know how to deal with out of memory error when it happens, Is the only way I can restart the terminal? It will take a lot of time. I tried to reload UI and Unload SD checkpoint to free VRAM , but neither works.