Skip to content
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

Document how to convert lora for use in a1111 and comfy #7

Closed
lendrick opened this issue Apr 3, 2024 · 3 comments
Closed

Document how to convert lora for use in a1111 and comfy #7

lendrick opened this issue Apr 3, 2024 · 3 comments

Comments

@lendrick
Copy link

lendrick commented Apr 3, 2024

I used this script here (which happily runs in this repo's conda environment):

https://github.com/huggingface/diffusers/blob/main/scripts/convert_diffusers_sdxl_lora_to_webui.py

I had to dig around to find it, because I'm not a diffusers user. It would be a handy addition to the readme file. :)

@yardenfren1996
Copy link
Owner

Done. Thank you

@yatoubusha
Copy link

my diffusers is 0.25.0 which is required by this repo, but i got this error: [cannot import name 'convert_all_state_dict_to_peft' from 'diffusers.utils']

@yatoubusha
Copy link

I used this script here (which happily runs in this repo's conda environment):

https://github.com/huggingface/diffusers/blob/main/scripts/convert_diffusers_sdxl_lora_to_webui.py

I had to dig around to find it, because I'm not a diffusers user. It would be a handy addition to the readme file. :)

which version do you use about diffusers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants