Uh oh!
There was an error while loading. Please reload this page.
refactor StableDiffusionXLControlNetUnion - #10200
Conversation
HuggingFaceDocBuilderDev
commented
Dec 12, 2024
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. |
vladmandic
commented
Dec 12, 2024
looks great, thanks! |
yiyixuxu
left a comment
There was a problem hiding this comment.
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
hlky
commented
Dec 12, 2024
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. |
hlky
commented
Dec 13, 2024
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: |
hlky
commented
Dec 13, 2024
yup, thats exactly it - thanks! will you also add mappings in |
hlky
commented
Dec 14, 2024
Yes, this is why we had the dataclass btw. |
vladmandic
commented
Dec 14, 2024
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 |
vladmandic
commented
Dec 14, 2024
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 |
hlky
commented
Dec 14, 2024
How are you loading ProMax? Try using |
vladmandic
commented
Dec 14, 2024
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