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

UI can failed to load due to LoRA model missing metadata or none safetensors filetypes #6

Closed
w-e-w opened this issue Oct 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@w-e-w
Copy link
Contributor

w-e-w commented Oct 17, 2023

PR #1
non-catched exception with get_lora_checkpoints()
AssertionError when non safetensors filetypes
TypeError ss_sd_model_name is None

in webui using extra networks tab we allow user to manually set what the type of lora model
the information is stored beside the model under the same name but with .json extension
we do this in webui because some older models or non safetensors does not have the metadata

so the the order of retrieving the version information should be
lora_model_name.json > safetensors metadata > "unknow"

@contentis contentis added the bug Something isn't working label Oct 18, 2023
@contentis
Copy link
Collaborator

This should be caught since #1 has been merged. I opened #36 to track the suggested enhancement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants