Skip to content

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
@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.

4 participants