-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Fixing implementation of ControlNet-XS #6772
Conversation
Looking good overall 👍🏽 Left some comments. Regarding the naming, we could perhaps call the module |
- Importing ControlNetConditioningEmbedding now - get_down/mid/up_block_addon now outside class - renamed `do_control` to `apply_control`
…into controlnetxs-2
For this, added `norm_num_groups` as parameter everywhere
ok! |
- `ControlNetXSAddon` -> `ControlNetXSAdapter` - `ControlNetXSAddonDownBlockComponents` -> `DownBlockControlNetXSAdapter`, and similarly for mid/up - `get_mid_block_addon` -> `get_mid_block_adapter`, and similarly for mid/up
Sounds good. Have renamed
|
@UmerHA the failing tests look relevant here - can you look into and fix? |
@yiyixuxu you were right - should be fixed now. can you rerun the tests? |
The only failing test seems very unrelated to this PR: cc @yiyixuxu |
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.
thanks!
@DN6 some of your comments aren't marked as resolved. do you have any more questions/feedback, or is it fine as is? |
@UmerHA All good. We can break up the tests in a follow up PR. |
Have updated the models & ran the slow test on a T4 - works now. |
diffusers commit fda1531 Fixing implementation of ControlNet-XS (huggingface/diffusers#6772)
What does this PR do?
Implements ControlNet-XS with the feedback from PR #5827 incorporated.
See original PR for details.
Who can review?
Core library: