-
Notifications
You must be signed in to change notification settings - Fork 6.1k
[docs] Load A1111 LoRA #3629
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
[docs] Load A1111 LoRA #3629
Conversation
The documentation is not available anymore as the PR was closed or merged. |
the link is broken, @HuggingFaceDocBuilderDev |
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.
cc @sayakpaul @takuma104 could you have a look here? :-)
@stevhliu I've left a comment, although it might be a bit nitpicky. For the example image, it's a beautiful and easy-to-understand! |
Thanks for your feedback (and contributions in general) @takuma104! 🤗 |
|
||
```py | ||
pipeline.load_lora_weights(".", weight_name="howls_moving_castle.safetensors") |
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.
Also, possible directly load like:
lora_model_id = "sayakpaul/civitai-light-shadow-lora"
lora_filename = "light_and_shadow.safetensors"
pipeline.load_lora_weights(lora_model_id, weight_name=lora_filename)
|
||
<div class="flex justify-center"> | ||
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/a1111-lora-sf.png"/> |
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.
The picture is amazing 💘
I also included a with and with LoRA comparison here.
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.
Awesome work, @stevhliu!
* load a1111 lora * fix * apply feedback * fix
A guide for how to load and use an A1111 LoRA checkpoint with
load_lora_weights
(to be merged after the ongoing PR that adds support for it).