-
Couldn't load subscription status.
- Fork 6.5k
refactor StableDiffusionXLControlNetUnion #10200
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
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
|
looks great, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok but I actually like the ControlNetUnionInput, it is pretty difficult to use otherwise having to figure out which mode is which number for given checkpoint
|
Yeah I like it too 🤷♂️ seems like integration in some ui is the same whether it's mapping the names in the class or the indices, and we know that the class should be used because it's the specific pipeline. |
|
tiny, but breaking issue in: _callback_tensor_inputs = [
"latents",
"prompt_embeds",
"negative_prompt_embeds",
"add_text_embeds",
"add_time_ids",
"negative_pooled_prompt_embeds",
"negative_add_time_ids",
"image",
]but and one oversight - we have new txt/img/inpaint pipelines, but no autopipeline mapping to connect them. |
|
I tested this with the same examples as before, I've just ran it again and it works, is there something specific you're doing to get "an instant runtime error"? would you mind sharing all the relevant information? |
|
if you have a callback defined, then you get a runtime error since there is no actual error: |
|
yup, thats exactly it - thanks! will you also add mappings in |
Yes, this is why we had the dataclass btw. |
|
in general, i like the concept of dataclass, just overriding |
So we can understand the effect downstream could you link to the code that didn't work when it's not an image? #10219 for autopipeline, only for |
|
i've tested with #10218 + #10219 and seems ok. fyi, typical sdnext workflow is to:
|
|
one more issue -
but its not the same number of Union and ProMax - even in your example, you used tile mode. but we cant specify btw, it also shows that my question from yesterday - what exactly are valid |
|
How are you loading ProMax? Try using |
|
right - yes, that has correct config, ignore the last msg. |
What does this PR do?
#10131 (comment)
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@yiyixuxu @vladmandic