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

Fixed several errors in StableDiffusion adapter conversion script #1281

Merged

Conversation

kovalexal
Copy link
Contributor

Hi!

I noticed and fixed several errors in the Stable Diffusion adapter conversion script:

  1. There was an error in LoRA keys which resulted in wrong output checkpoints (no error was raised)
  2. Some existing LoRA checkpoints like LCM contain only UNet keys, so the script failed to convert them properly

@BenjaminBossan your review is kindly appreciated.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Member

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for those fixes, LGTM.

@BenjaminBossan BenjaminBossan merged commit e745ffd into huggingface:main Dec 20, 2023
14 checks passed
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

Successfully merging this pull request may close these issues.

3 participants