AUTOMATIC1111
7989765faa
Merge pull request #12797 from Madrawn/vae_resolve_bug
...
Small typo: vae resolve bug
2023-08-27 09:45:00 +03:00
AUTOMATIC1111
016554e437
add --medvram-sdxl
2023-08-22 18:49:08 +03:00
Uminosachi
549b0fc526
Change where VAE state are stored in model
2023-08-20 23:06:51 +09:00
AUTOMATIC1111
99a64edea8
do not assign to vae_dict
2023-08-19 08:31:06 +03:00
brkirch
54209c1639
Use the new SD VAE override setting
2023-08-15 06:29:39 -04:00
catboxanon
d456fb797a
fix: Properly return None when VAE hash is None
2023-08-10 16:04:49 -04:00
AUTOMATIC1111
9d78d317ae
add VAE to infotext
2023-08-10 16:22:10 +03:00
AUTOMATIC1111
386245a264
split shared.py into multiple files; should resolve all circular reference import errors related to shared.py
2023-08-09 10:25:35 +03:00
AUTOMATIC1111
c96e4750d8
SD VAE rework 2
...
- the setting for preferring opts.sd_vae has been inverted and reworded
- resolve_vae function made easier to read and now returns an object rather than a tuple
- if the checkbox for overriding per-model preferences is checked, opts.sd_vae overrides checkpoint user metadata
- changing VAE in user metadata for currently loaded model immediately applies the selection
2023-08-07 08:07:20 +03:00
AUTOMATIC1111
4560176640
added VAE selection to checkpoint user metadata
2023-08-04 22:05:50 +03:00
w-e-w
7f1d087cba
sort VAE
2023-08-04 14:01:22 +09:00
AUTOMATIC1111
80adb6979d
Merge branch 'dev' into find_vae
2023-05-14 11:46:27 +03:00
Sakura-Luna
1dcd672324
Update sd_vae.py
...
There is no need to use split.
2023-05-11 14:29:52 +08:00
AUTOMATIC
f741a98bac
imports cleanup for ruff
2023-05-10 08:43:42 +03:00
Aarni Koskela
3ba6c3c83c
Fix up string formatting/concatenation to f-strings where feasible
2023-05-09 22:25:39 +03:00
Micky Brunetti
749a93295e
remove logs
2023-05-09 15:43:58 +02:00
Micky Brunetti
7fd3a4e6d7
files in vae folder with same name as a checkpoint can be found too
2023-05-09 15:35:57 +02: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
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