Feature suggestion: a "Clear VRAM" button to improve performance when changing checkpoints #3826
gabrielottj
started this conversation in
Ideas
Replies: 1 comment
-
Necessary vram is always cleared dynamically if there is the need to do so, e.g. when loading a new model. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know this project is already in a "final" state, where only bug fixes will be made from now on, however, should new feature additions be considered in the future, I'd like to suggest one: a "Clear VRAM" button. I'll explain why:
Everytime I run Fooocus and run a generation batch with a given checkpoint X, and decide to change the checkpoint for the subsequent batch, my PC gets extremely laggy for about 30 seconds, almost as a total freeze, I can't even move the mouse cursor.
As long as I keep the same checkpoint for subsequent batches, the PC won't freeze. It only happens in the first batch when changing the checkpoint. After the first freeze, all subsequent batches with this second checkpoint will run smoothly, and again, my PC will freeze if I change the checkpoint once again. This mostly happens when I'm doing an inpainting.
My guess is my PC freezes due to a fully loaded VRAM and RAM. These are my PC specs:
i5-12400F
RTX 4060 Ti 8GB
16GB DDR5 6000MHz
NVMe SSD Gen4 SN850
I know 8GB VRAM + 16GB RAM is not a lot, and 32GB RAM would probably help in this case, but a Clear VRAM button to be used seconds before running a batch with a new checkpoint would probably solve this issue. It would be helpful for a lot of people with similar PC specs, too.
If anyone disagrees with my point or has suggestions, I'm open for discussion.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions