Uh oh!
There was an error while loading. Please reload this page.
Support LCM in ControlNet and Adapter pipelines. - #5822
Merged
Conversation
| (((4 * 2 + 1) * 16),), | ||
| # (dim=160) The internal feature map will be 5x5 after the first T2I down block (downscaled x32). | ||
| ((4 * 1 + 1) * 32), | ||
| (((4 * 1 + 1) * 32),), |
Contributor
There was a problem hiding this comment.
Is this change on purpose?
ContributorAuthor
There was a problem hiding this comment.
Yes, without this, the parametrized tests were erroing.
| [ | ||
| # (dim=264) The internal feature map will be 33x33 after initial pixel unshuffling (downscaled x8). | ||
| ((4 * 8 + 1) * 8), | ||
| (((4 * 8 + 1) * 8),), |
patil-suraj
commented
Nov 16, 2023
ContributorAuthor
The failing test is unrelated. Merging now. |
Merged
6 tasks
tvytlx
commented
Dec 3, 2023
@patil-suraj Hi Seems like we need a https://github.com/huggingface/diffusers/blob/main/src/diffusers/loaders/lora.py#L69 Because when I use Lora in it causes |
sayakpaul
commented
Dec 4, 2023
Member
That is happening because it doesn't inherit the Unlike Would you like to open a PR for this? |
yoonseokjin pushed a commit
to yoonseokjin/diffusers
that referenced
this pull request
Dec 25, 2023
* support lcm * fix tests * fix tests
AmericanPresidentJimmyCarter pushed a commit
to AmericanPresidentJimmyCarter/diffusers
that referenced
this pull request
Apr 26, 2024
* support lcm * fix tests * fix tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR adds support for LCM in:
StableDiffusionControlNetPipelineStableDiffusionXLControlNetPipelineStableDiffusionAdapterPipelineStableDiffusionXLAdapterPipelineAlso added fast tests for LCMs with these pipelines.