Replies: 1 comment 1 reply
-
Nice! Can this be used for the other types such as Lycoris? Locons, lohas? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all 👋🏽, we shipped a feature that allows you to very granularly apply LoRAs. Here's the PR: #7352.
What?
When loading LoRAs, you now have granular control over how much the LoRAs affect each part of the pipeline.
Before the PR, you could use a single scale number per LoRA that would be applied to the entire pipeline (i.e.,
unet
,text_encoder
, and optionaltext_encoder_2
). With this PR, you can now (i) set a scale number fortext_encoder
andtext_encoder_2
separately, and (ii) be as detailed as you want for the UNet - up to per transformer!Let's say we have a single LoRA named "cartoonify" loaded and want to specify different scales for the text_encoders and the down, mid, and up parts of the UNet. Here you go:
Here's an example with two LoRA where the second is applied very granularly:
Why?
Only applying LoRAs to certain pipeline parts changes the image output. So this PR gives users another tool in their quest to get exactly the image they imagined.
The inspiration comes from this extension for AUTOMATIC1111's stable-diffusion-webui. Here's an example (taken from their repo) that illustrates how the same LoRA gives different results depending on where it is applied.
How? - artist's perspective
Are there rules on how applying LoRAs to different parts with different scale strengths changes the image? Currently, no. So far we only know that is changes the output. How it does so is still for us all to figure out. Please share any insights you have in this thread!
Let me know what you think!
Cheers,
Umer
@UmerHAdil on Twitter
cc @sayakpaul @asomoza
Beta Was this translation helpful? Give feedback.
All reactions