Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

ControlNet Stack input increases KSampler Advanced Efficient image generation time proportionally to the number of active controlnets #232

Open
alessandroperilli opened this issue Oct 30, 2023 · 4 comments

Comments

@alessandroperilli
Copy link

In the scenario below, I enabled a CR Multi-ControlNet Stack node with 3 controlnets (Canny, Depth, and OpenPose). The stack conditions a KSampler Advanced Efficient node.

Screenshot 2023-10-30 at 11 18 17

Doing so enormously increases the generation time: all things equal, the SDXL base model goes from ~3min30s / image (I'm on a Mac...) to ~8min50s / image.

If I modify the stack to only use 2 controlnets, the generation time goes down to ~6min36s / image.

With 1 controlnet only, the generation time goes down to ~4min51s / image.

Is this behavior normal? I don't recall ControlNet influencing generation time in A1111 or SD Next, even when I used 3 at a time, like in this case.

(I noticed this a while ago. It's not something new. I just didn't report it before because I wasn't certain it's an anomaly)

@halr9000
Copy link

I would try and see how long it takes when you try to reproduce the workflow as closely as possible using auto1111 for reference. If I didn't have a diff issue w/efficiency nodes now, I would try to run your workflow on my hardware for comparison.

@alessandroperilli
Copy link
Author

Thanks for the help. My workflow is here if you want to give it a go: https://perilli.com/ai/comfyui

@KINGLIFER
Copy link

Thanks for the help. My workflow is here if you want to give it a go: https://perilli.com/ai/comfyui

Is there a way to reach you? I have tried and there was no response. Trying to see if you could assist on a project. I have no issue sending a tribute or patron donation.

@alessandroperilli
Copy link
Author

@KINGLIFER Sorry about that. Did you try to send me an email at the address on this page?

Click on Ask for a Quote and you should be good to go. I checked the email address and it works as expected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants