Skip to content

Conversation

@affromero
Copy link
Contributor

What does this PR do?

Fixes small bugs in PR #5869: when using multiple T2IAdapters for Inpainting.

  • commit d35dede: adapter_conditioning_scale must be a list, otherwise it raises a TypeError.
  • commit ca131b2: adapter_input must be a list too, otherwise features is (channel, height, width), and not (batch, channel, height, width)

Who can review?

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Nov 24, 2023

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

Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Could you also add some fast tests here?

@affromero
Copy link
Contributor Author

I am not sure how to do that, since I do not think I did it for #5869. Can you please illustrate me how to do it or point me in the right direction?

@patrickvonplaten
Copy link
Contributor

No tests needed here as it's a community pipeline - nice job @affromero :-)

@patrickvonplaten patrickvonplaten merged commit 79dc7df into huggingface:main Nov 29, 2023
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
* bug in MultiAdapter for Inpainting

* adapter_input is a list for MultiAdapter

---------

Co-authored-by: andres <[email protected]>
Co-authored-by: Sayak Paul <[email protected]>
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