Lincoln Stein 7486aa8608 enhance model_manager support for converting inpainting ckpt files
Previously conversions of .ckpt and .safetensors files to diffusers
models were failing with channel mismatch errors. This is corrected
with this PR.

- The model_manager convert_and_import() method now accepts the path
  to the checkpoint file's configuration file, using the parameter
  `original_config_file`. For inpainting files this should be set to
  the full path to `v1-inpainting-inference.yaml`.

- If no configuration file is provided in the call, then the presence
  of an inpainting file will be inferred at the
  `ldm.ckpt_to_diffuser.convert_ckpt_to_diffUser()` level by looking
  for the string "inpaint" in the path. AUTO1111 does something
  similar to this, but it is brittle and not recommended.

- This PR also changes the model manager model_names() method to return
  the model names in case folded sort order.
2023-02-06 09:35:23 -05:00
..
2023-02-04 13:55:36 -05:00
2023-02-06 05:14:35 +00:00
2023-01-15 09:22:46 -05:00
2023-02-04 14:00:58 -05:00
2023-02-05 12:51:03 -05:00
2023-02-05 22:55:29 +13:00
2023-01-30 18:42:17 -05:00
2022-12-20 15:32:35 -08:00
2023-01-15 09:22:46 -05:00
2023-01-15 09:22:46 -05:00
2023-02-03 17:35:35 -05:00