Add Garbage collector callout or include it as a slider to sampler class, so user can call it when needed #362
playlogitech
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
It's already called at the end of every prompt execution: https://github.com/comfyanonymous/ComfyUI/blob/master/execution.py#L204 I don't want to call it that often because it can reduce performance. |
Beta Was this translation helpful? Give feedback.
3 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now if you have huge workflow, especially with multiple upscale/downscale, you getting OOM in blink of an eye.
Im not a python programmer, so im not sure if this code is right. But I imported those nodes into my workflow, things goes better now. I call it after every KSampler workout or when I see vram is close to be full.
Beta Was this translation helpful? Give feedback.
All reactions