-
Notifications
You must be signed in to change notification settings - Fork 200
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
So how to use this format with stable diffusion pipline? especial the .safetensors of lora #180
Comments
Do you mean this ? https://huggingface.co/docs/diffusers/training/lora#inference |
I created a PR to enable support in |
Absoultely not! Training lora has at least 4 methods, https://github.com/kohya-ss/sd-scripts; https://github.com/Akegarasu/lora-scripts; webui extention; https://github.com/huggingface/diffusers/tree/main/examples/dreambooth#inference-1. Thought them are in format of safetensors, but they are not same inside! |
Well, LoRA are just regular weights, so there's nothing blocking from using No offense but both your links are code I have never heard about. I'm happy to help provide guidance in creating But basically search of |
I wish it was. In https://civitai.com/, most of safetensors of lora cant't be loaded in diffusers. |
You mean these kind of checkpoints ? https://civitai.com/models/5373/makima-chainsaw-man-lora It seems like this is a Lora and should be already usable in SD, no ? |
it seems like this will soon be merged into diffusers library huggingface/diffusers#2448 and in the meantime this script may be useful: https://github.com/haofanwang/Lora-for-Diffusers/blob/main/format_convert.py |
@Narsil's PR adds safetensor's to our current saving and loading of lora weights. Happy to discuss adding more lora/safetensors functionality but we would need more details and would recommend a separate, more detailed issue on diffusers :) |
Closing the issue. Feel free to reopen |
No description provided.
The text was updated successfully, but these errors were encountered: