Skip to content

Conversation

@lstein
Copy link
Collaborator

@lstein lstein commented Mar 23, 2023

  • When a legacy checkpoint model is loaded via --convert_ckpt and its models.yaml stanza refers to a custom VAE path (using the 'vae:' key), the custom VAE will be converted and used within the diffusers model. Otherwise the VAE contained within the legacy model will be used.

  • Note that the checkpoint import functions in the CLI or Web UIs continue to default to the standard stabilityai/sd-vae-ft-mse VAE. This can be fixed after the fact by editing VAE key using either the CLI or Web UI.

  • Fixes issue [bug]: Can't load custom CKPT/PT VAE #2917

lstein added 3 commits March 13, 2023 23:27
- When a legacy checkpoint model is loaded via --convert_ckpt and its
  models.yaml stanza refers to a custom VAE path (using the 'vae:'
  key), the custom VAE will be converted and used within the diffusers
  model. Otherwise the VAE contained within the legacy model will be
  used.

- Note that the heuristic_import() method, which imports arbitrary
  legacy files on disk and URLs, will continue to default to the
  the standard stabilityai/sd-vae-ft-mse VAE. This can be fixed after
  the fact by editing the models.yaml stanza using the Web or CLI
  UIs.

- Fixes issue #2917
@lstein lstein enabled auto-merge March 24, 2023 21:45
@lstein lstein merged commit 9536ba2 into main Mar 25, 2023
@lstein lstein deleted the feat/use-custom-vaes branch March 25, 2023 04:37
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