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

fix: correctly handle empty lora array in a1111 metadata log scheme #2551

Merged

Conversation

mashb1t
Copy link
Collaborator

@mashb1t mashb1t commented Mar 17, 2024

Fixes #2545

  • write: don't write lora hashes to metadata when loras array is empty
  • read: check if lora hashes string is present and not empty

@mashb1t mashb1t added this to the 2.3.0 milestone Mar 17, 2024
@mashb1t mashb1t merged commit d057f2f into lllyasviel:main Mar 17, 2024
@mashb1t mashb1t deleted the hotfix/a1111-metadata-import-on-empty-lora branch March 17, 2024 13:01
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.

[Bug]: Error when applying metadata (a1111) with LoRAs turned off.
1 participant