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

ControlNet speed improvement PR breaks multi-controlNet support #216

Open
SaladDays831 opened this issue Jul 24, 2023 · 1 comment
Open

Comments

@SaladDays831
Copy link

I have an iPadOS project that uses Canny + Inpaint ControlNets

Pipeline:

StableDiffusionPipeline(resourcesAt: resourceURL,
                                         controlNet: ["LllyasvielControlV11PSd15Inpaint", "LllyasvielSdControlnetCanny"],
                                         configuration: configuration,
                                         disableSafety: true,
                                         reduceMemory: true)

After updating the package in my project to the latest main branch to include the change in this PR, the second ControlNet seems to be ignored.

Below are examples of the generated images. The only change in my codebase is the commit dependency rule of this package

Canny ControlNet input image:

Before PR After PR

When switching places of the ControlNets in the configuration like so:

...
controlNet: ["LllyasvielSdControlnetCanny", "LllyasvielControlV11PSd15Inpaint"],
...

the first one (canny) works, but the second (inpaint) gets ignored again

@JustinMeans tagging you as the author of that PR. Does it work as expected for you?

@SaladDays831
Copy link
Author

This commit needs to be reverted/fixed. Using multiple controlNets is impossible at the moment

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

No branches or pull requests

1 participant