Skip to content

add: better warning messages when handling multiple conditionings. #2804

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

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

sayakpaul
Copy link
Member

Discussion: #2704

I would prefer to not support multiple batches when multiple conditionings are passed, preferably to keep the API design simple. This is what I have tried doing in the PR.

@takuma104 could you also take a look?

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Mar 24, 2023

The documentation is not available anymore as the PR was closed or merged.

@takuma104
Copy link
Contributor

@sayakpaul Thanks for this patch! Looks good to me!

@patrickvonplaten
Copy link
Contributor

Ok for me as well!

@patrickvonplaten
Copy link
Contributor

I do think we can in the future support multi-batch multi-control net input. In this case, I don't think we have to pass a list of a list of image but just a list of images that we then divide further below. E.g. instead of passing:

[[img1, img2], [img3, img4]]

for 2 controlnets, I would allow to pass:

[img1, img2, img3, img4]

and then split inside.

@sayakpaul
Copy link
Member Author

@patrickvonplaten I like that idea.

Created #2855 to keep track.

@sayakpaul sayakpaul deleted the fix/controlnet-multiple-conditions branch March 28, 2023 02:53
w4ffl35 pushed a commit to w4ffl35/diffusers that referenced this pull request Apr 14, 2023
…uggingface#2804)

* add: better warning messages when handling multiple conditioning.

* fix: handling of controlnet_conditioning_scale
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
…uggingface#2804)

* add: better warning messages when handling multiple conditioning.

* fix: handling of controlnet_conditioning_scale
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
…uggingface#2804)

* add: better warning messages when handling multiple conditioning.

* fix: handling of controlnet_conditioning_scale
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

Successfully merging this pull request may close these issues.

4 participants