Commit Graph

25 Commits

Author SHA1 Message Date
AUTOMATIC ff6a5bcec1 bugfix for previous commit 2023-01-16 01:28:20 +03:00
AUTOMATIC 3f887f7f61 support old configs that say "auto" for ssd_vae
change sd_vae_as_default to True by default as it's a more sensible setting
2023-01-16 00:44:52 +03:00
AUTOMATIC f8c5124785 typo? 2023-01-14 20:00:12 +03:00
AUTOMATIC a5bbcd2153 fix bug with "Ignore selected VAE for..." option completely disabling VAE election
rework VAE resolving code to be more simple
2023-01-14 19:56:09 +03:00
AUTOMATIC 49c4509ce2 use existing function for loading VAE weights from file 2023-01-09 19:58:35 +03:00
Lee Bousfield cb255faec6
Add support for loading VAEs from safetensor files 2023-01-08 10:17:50 -07:00
hitomi 893933e05a Add memory cache for VAE weights 2022-12-25 20:49:25 +08:00
Yuval Aboulafia 3bf5591efe fix F541 f-string without any placeholders 2022-12-24 21:35:29 +02:00
Muhammad Rizqi Nur 8662b5e57f Merge branch 'a1111' into vae-fix-none 2022-11-19 16:38:21 +07:00
Muhammad Rizqi Nur 45dca0562e Merge branch 'a1111' into vae-fix-none 2022-11-19 15:21:00 +07:00
Muhammad Rizqi Nur f1bdf2b15f Merge branch 'a1111' into vae-misc 2022-11-19 15:20:07 +07:00
Muhammad Rizqi Nur 271fd2d700 More verbose messages 2022-11-19 12:02:50 +07:00
Muhammad Rizqi Nur 2c5ca706a7 Remove no longer necessary parts and add vae_file safeguard 2022-11-19 12:01:41 +07:00
Muhammad Rizqi Nur 0663706d44 Option to use selected VAE as default fallback instead of primary option 2022-11-19 11:49:06 +07:00
Muhammad Rizqi Nur 028b67b635 Use underscore naming for "private" functions in sd_vae 2022-11-19 11:47:54 +07:00
Muhammad Rizqi Nur 9fdc343dca Fix model caching requiring deepcopy 2022-11-19 11:44:37 +07:00
Muhammad Rizqi Nur c7be83bf02 Misc
Misc
2022-11-19 11:44:37 +07:00
Muhammad Rizqi Nur abc1e79a5d Fix base VAE caching was done after loading VAE, also add safeguard 2022-11-19 11:41:41 +07:00
Muhammad Rizqi Nur 8ab4927452 Fix model wasn't restored even when choosing "None" 2022-11-19 11:41:21 +07:00
Muhammad Rizqi Nur a5409a6e4b Save VAE provided by cmd_opts.vae_path 2022-11-02 14:37:22 +07:00
Muhammad Rizqi Nur 056f06d373 Reload VAE without reloading sd checkpoint 2022-11-02 12:51:46 +07:00
Muhammad Rizqi Nur 726769da35 Checkpoint cache by combination key of checkpoint and vae 2022-10-31 15:22:03 +07:00
Muhammad Rizqi Nur b96d0c4e9e Fix typo from previous commit 2022-10-31 14:42:28 +07:00
Muhammad Rizqi Nur e1b2ea6e00 Change VAE search order and thus priority 2022-10-30 22:11:45 +07:00
Muhammad Rizqi Nur cb31abcf58 Settings to select VAE 2022-10-30 21:54:31 +07:00