Skip to content
Discussion options

You must be logged in to vote

Hi, the problem stems from the fact that comfyui caches everything by default. For model merging, this is very impractical.

There is a builtin boolean input "temporary_merge" on the Mecha Merger node that, when toggled on, automatically clears its own output as soon as its output is not used anymore for the rest of the workflow:

The node pack assumes that as soon as another merger starts executing, or at the end of the workflow, previous temporary merges can be deleted and this is where the cache clear occurs.

However, in this case, even though you left the checkbox toggled on, the node pack is unable to free the memory because the generated model is transformed by another node (the Load…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ljleb
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #11 on August 28, 2024 18:12.