I encountered a memory leak problem. Whether we load the model to gpu or delete the model with del and do gc, the memory is not recycled. The ideal case for us is that the memory usage goes back to exactly the original value after the load model -> del model -> gc process. Therefore, what should I do to reclaim the memory occupied by the stable diffusion model. #8471
Replies: 0 comments
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.
-
I encountered a memory leak problem. Whether we load the model to gpu or delete the model with del and do gc, the memory is not recycled. The ideal case for us is that the memory usage goes back to exactly the original value after the load model -> del model -> gc process.
Therefore, what should I do to reclaim the memory occupied by the stable diffusion model.
Beta Was this translation helpful? Give feedback.
All reactions