Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Control: if a ControlNet model is used in multiple units, load it only once #3329

Open
lbeltrame opened this issue Jul 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lbeltrame
Copy link
Contributor

lbeltrame commented Jul 10, 2024

Feature description

With the emergence of ControlNet Union, the same model may be used in more than one unit (in multi controlnets). As of now, Control loads the model every time there is a unit requesting it: for example, for 3 units it would get loaded three times. That's pretty wasteful of VRAM if the model is just one, therefore it may be desirable to load it once, regardless of how many units are enabled.

As I wrote above, this feature may have a valid use-case now that we have CN Union as it can be used more than once with different input images.

Version Platform Description

Latest dev as of 2024-07-10'.

@lbeltrame lbeltrame added the enhancement New feature or request label Jul 10, 2024
@lbeltrame lbeltrame changed the title [Feature]: If a ControlNet model is used in multiple units, load it only once [Feature]: Control: if a ControlNet model is used in multiple units, load it only once Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant