Commit Graph

73 Commits (b7fcf4a41e8d7a8a46ba379927a1e90eb9e11346)

Author SHA1 Message Date
Disty0 8ffaea76ba Add Diffusers model and VAE variant loading option 2023-07-31 14:39:41 +03:00
Disty0 0180402563 Better move and accelerate handling 2023-07-30 11:36:47 +03:00
Kubuxu 7e1030d499 Introduce sd_model.has_accelerate 2023-07-30 00:51:35 +03:00
Disty0 025df86ac0 Cleanup 2023-07-29 02:06:34 +03:00
Kubuxu 1da64b9d08 Fix setting VAE Force Upcast in diffusers 2023-07-28 23:07:11 +01:00
Disty0 31e1bb01ff Fix VAE reloading 2023-07-28 23:23:36 +03:00
Vladimir Mandic ff9b8bc062 api endpoint refresh vaes 2023-07-26 15:51:19 -04:00
Vladimir Mandic e491813eb8 cleanup 2023-07-22 16:33:27 -04:00
Vladimir Mandic e342c28055 improve vae loading 2023-07-22 16:28:23 -04:00
Vladimir Mandic 4c2664dbc3 redesign diffuser vae handling 2023-07-21 14:30:57 -04:00
Vladimir Mandic 926a0fde1a diffusers code refactoring and exception handling 2023-07-17 12:22:51 -04:00
Vladimir Mandic 4e48173e37 enable sdxl vae 2023-07-16 17:58:08 -04:00
Vladimir Mandic 120710f28a force model variant 2023-07-07 13:38:04 -04:00
Vladimir Mandic 3e1a6a96d0 add additional pipelines 2023-07-07 09:38:19 -04:00
Vladimir Mandic 0ddf613b49 jumbo merge part two 2023-06-14 11:23:02 -04:00
Vladimir Mandic df65e8e30a update clip skip and attention normalization 2023-05-18 22:16:24 -04:00
Vladimir Mandic 1c70056744 match vae file 2023-05-18 19:09:34 -04:00
Vladimir Mandic 1dffd114fc fix vae loading 2023-05-17 15:38:12 -04:00
Vladimir Mandic 0ccda9bc8b jumbo patch 2023-05-17 14:15:55 -04:00
Disty0 8171d57c36 Remove unnecessary IPEX imports 2023-05-04 02:34:34 +03:00
Vladimir Mandic cb4cff3929 redesign logging 2023-05-02 13:57:16 -04:00
Disty0 de8d0bef9f More patches and Import IPEX after Torch 2023-04-30 18:19:37 +03:00
Vladimir Mandic 93b0de7e59 update rollback vae 2023-04-26 09:02:32 -04:00
Vladimir Mandic a2b7544753 cleanup vae messages 2023-04-25 19:20:48 -04:00
Gazzoo-byte 97e8224200
Update sd_vae.py
Removed pathlib, but had to retain '+ ".vae.pt"' etc, otherwise it was adding a separator between the filename and the extension
2023-04-26 00:07:42 +01:00
Gazzoo-byte b6354950c2
Update sd_vae.py 2023-04-25 23:45:28 +01:00
Gazzoo-byte c764cae14d
sd_vae automatic behaviour fix for non-Windows users
Hadn't considered that hard-coding the separators would break this for non-Windows users - replaced hard coding with os.sep
2023-04-25 23:36:02 +01:00
Gazzoo-byte 98c29302a7
Fix a bug
Forgot a return value which was causing 'ValueError: too many values to unpack (expected 2)' upon trying load a VAE with Automatic in sd_vae
2023-04-25 21:00:03 +01:00
Gazzoo-byte 4fbb7a88dd
Change 'Automatic' behaviour
Modifies the behaviour of 'Automatic' to check in vae_path for vae files with a filename that matches the checkpoint, failing this falls back to None
2023-04-25 20:29:27 +01:00
Vladimir Mandic 82d7b45cf4 update vae 2023-04-24 16:54:12 -04:00
Sakura-Luna 458a78e4de
Merge branch 'master' into pr9295 2023-04-24 13:19:57 +08:00
Vladimir Mandic 7939a1649d parse model preload 2023-04-20 23:19:25 -04:00
Vladimir Mandic 0282832f12 fix vae path 2023-04-20 15:50:06 -04:00
Vladimir Mandic 5a0664c945 fixes 2023-04-20 15:35:40 -04:00
Vladimir Mandic fd51bb90d0 enable quick launch 2023-04-15 11:51:58 -04:00
Vladimir Mandic ed8819b8fc lycoris, strong linting, model keyword, circular imports 2023-04-15 10:28:31 -04:00
Vladimir Mandic 60caa8984f fix css and change default settings 2023-04-12 12:23:07 -04:00
Vladimir Mandic 81b8294e93 switch cmdflags to settings 2023-04-12 10:40:11 -04:00
Sakura-Luna 942c7d6158
Bug fix 2023-04-08 23:50:22 +08:00
Sakura-Luna d19d227138
Add startup parameters and version check 2023-04-06 19:52:18 +08:00
Sakura-Luna 157c25f123
Restore type 2023-04-02 17:41:30 +08:00
Vladimir Mandic 404a2a2cb2 fix broken generate and add progress bars 2023-03-26 14:23:45 -04:00
Vladimir Mandic 6f0f72c7c9 remove variables 2023-03-21 16:29:28 -04:00
Vladimir Mandic b58b55aac5 fast model load 2023-03-21 14:18:50 -04:00
Vladimir Mandic f275e43eb9 update torch load and external repos 2023-03-20 10:10:56 -04:00
Max Audron 5eee2ac398 add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
AUTOMATIC 0f5dbfffd0 allow baking in VAE in checkpoint merger tab
do not save config if it's the default for checkpoint merger tab
change file naming scheme for checkpoint merger tab
allow just saving A without any merging for checkpoint merger tab
some stylistic changes for UI in checkpoint merger tab
2023-01-19 10:39:51 +03:00
ddPn08 6e08da2c31
Add `--vae-dir` argument 2023-01-17 23:50:41 +09:00
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