Replies: 2 comments 1 reply
-
When I don't use SD and use other applications to occupy GPUs, I don't have enough GPUs to use it. If I hang SD and don't operate it, it will also occupy a lot of GPUs. I don't understand why? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Good day, SD using memory because checkpoint is loaded in VRAM even if not generating images.
Also you can use [Unload SD checkpoint to free VRAM] in Settings -> Action |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running multiple images, the memory usage gradually increases, displaying OutOfMemoryError: CUDA out of memory Tried to allocate 324.00 MiB (GPU 0; 8.00 GiB total capacity; 4.82 GiB already allocated; 0 bytes free; 7.17 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, but with the same settings as the first one, the image can be run, and after an error is reported due to insufficient memory, the task manager displays that the GPU still occupies a high amount, resulting in the inability to generate images. Therefore, it is necessary to completely restart SD.
Why not release the GPU when there is no sleep mode or when no images are generated? Restarting SD every time is troublesome.
Beta Was this translation helpful? Give feedback.
All reactions