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

Pick correct config file for sdxl models #4191

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

lstein
Copy link
Collaborator

@lstein lstein commented Aug 7, 2023

What type of PR is this? (check all applicable)

  • Bug Fix

Have you discussed this change with the InvokeAI team?

  • Yes
  • No, because:

Have you updated all relevant documentation?

  • [X Yes
  • No

Description

If models.yaml is cleared out for some reason, the model manager will repopulate it by scanning models. However, this would fail with a pydantic validation error if any SDXL checkpoint models were present because the lack of logic to pick the correct configuration file. This has now been added.

@Millu Millu merged commit a933977 into main Aug 9, 2023
8 checks passed
@Millu Millu deleted the bugfix/autodetect-sdxl-ckpt-config branch August 9, 2023 01:16
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