303 Commits

Author SHA1 Message Date
DenOfEquity
19a9a78c9b fix/workaround for potential memory leak (#2315)
unload old models, based on reference count <= 2
(in practise only noticed extra copies of JointTextEncoder, never KModel or IntegratedAutoencoderKL)
#2281 #2308 and others
2024-11-14 22:05:54 +00:00
DenOfEquity
ae8187bf2d Unload all models control (#2038)
* make unload_model_weights do that
* rename Settings > Actions > unload checkpoint button to 'Unload all models'
* remove (comment out) reload button, as it does nothing and is unlikely to ever do anything since models are loaded on demand
2024-10-12 12:51:26 +01:00
DenOfEquity
7876862c43 Vae/te preferences via cards (#1912)
Allows setting of preferred VAE and Text encoder(s) for checkpoints when selected via Checkpoint cards. No selection saved means no change to current toprow setting. 'Built in' option, if the only choice, means clear the toprow selection (therefore use vae/te built-in to checkpoint).
Also allows setting model type for checkpoints (SD1/SD2/SDXL/Flux/Unknown) (user set only, no attempt at autodetection), enabling filtering of the cards based on UI preset.
2024-09-25 20:45:11 +01:00
layerdiffusion
70a555906a use safer codes 2024-08-31 10:55:19 -07:00
layerdiffusion
15f41b2e5e we do not need initial model download now
since we do not load model when UI start
2024-08-27 17:59:56 -07:00
layerdiffusion
d8b83a9501 gguf preview 2024-08-15 00:03:32 -07:00
lllyasviel
61f83dd610 support all flux models 2024-08-13 05:42:17 -07:00
lllyasviel
cfa5242a75 forge 2.0.0
see also discussions
2024-08-10 19:24:19 -07:00
layerdiffusion
d3b81924df make none default to clip 2024-08-08 18:12:06 -07:00
layerdiffusion
cebd828df2 backward compatibility 2024-08-08 17:39:01 -07:00
lllyasviel
6921420b3f Load Model only when click Generate
#964
2024-08-08 14:51:13 -07:00
layerdiffusion
0128ae6041 fix hr fix prompt 2024-08-06 20:36:33 -07:00
lllyasviel
71c94799d1 diffusion in fp8 landed 2024-08-06 16:47:39 -07:00
layerdiffusion
fd283ce2de remove unused 2024-08-06 14:45:08 -07:00
layerdiffusion
6d789653b9 better model load logic 2024-08-06 14:34:57 -07:00
layerdiffusion
c1b23bd494 rework and speed up model loading 2024-08-06 14:23:21 -07:00
lllyasviel
71eaa5ca12 rework UI so that the toolbar is managed by Forge 2024-08-06 13:54:06 -07:00
layerdiffusion
ae1d995d0d Finally removed model_hijack
finally
2024-08-05 21:05:25 -07:00
layerdiffusion
4980b85dd2 remove old stuff 2024-08-05 12:04:01 -07:00
layerdiffusion
a9f4957a27 remove old stuff 2024-08-05 12:01:11 -07:00
layerdiffusion
bccf9fb23a Free WebUI from its Prison
Congratulations WebUI. Say Hello to freedom.
2024-08-05 04:21:35 -07:00
layerdiffusion
0863765173 rework sd1.5 and sdxl from scratch 2024-08-05 03:08:17 -07:00
layerdiffusion
a72154405e Text Processing Engine is Finished
100% reproduce all previous results, including TI embeddings, LoRAs in CLIP, emphasize settings, BREAK, timestep swap scheduling, AB mixture, advanced uncond, etc
Backend is 85% finished
2024-08-04 18:42:51 -07:00
layerdiffusion
8c087f920e rename files 2024-08-03 15:54:39 -07:00
layerdiffusion
8a01b2c5db move to new backend - part 1 2024-08-03 14:59:46 -07:00
layerdiffusion
e26abf87ec Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
lllyasviel
bde779a526 apply_token_merging 2024-02-23 15:43:27 -08:00
Chenlei Hu
388ca351f4 Revert "Fix ruff linter (#137)" (#143)
This reverts commit 6b3ad64388.
2024-02-08 21:24:04 -05:00
Chenlei Hu
6b3ad64388 Fix ruff linter (#137)
* Fix ruff linter

* Remove unused imports

* Remove unused imports
2024-02-08 20:35:20 -05:00
lllyasviel
d76b830add reduce prints 2024-02-06 07:56:15 -08:00
lllyasviel
1ecbff15fa add note about token merging 2024-02-05 21:55:59 -08:00
lllyasviel
049020f3c5 smaller default model 2024-02-04 18:54:50 -08:00
lllyasviel
a3b4f9df29 Update sd_models.py 2024-01-25 08:03:28 -08:00
lllyasviel
618a479db7 Update sd_models.py 2024-01-25 08:01:48 -08:00
lllyasviel
5ff6315e44 Update sd_models.py 2024-01-25 07:26:04 -08:00
lllyasviel
f75bf1ba50 Update sd_models.py 2024-01-25 07:24:15 -08:00
lllyasviel
232c90aba2 Update sd_models.py 2024-01-25 07:18:15 -08:00
lllyasviel
f993ab1c2c Update sd_models.py 2024-01-25 07:15:51 -08:00
lllyasviel
02f4ba8ee9 Update sd_models.py 2024-01-25 07:15:27 -08:00
lllyasviel
8e36af0f06 Update sd_models.py 2024-01-25 06:43:33 -08:00
lllyasviel
6b88c82733 Update sd_models.py 2024-01-25 06:34:28 -08:00
lllyasviel
30d1f64ce6 Update sd_models.py 2024-01-25 06:31:12 -08:00
lllyasviel
485e5ac1cc Update sd_models.py 2024-01-25 06:29:33 -08:00
lllyasviel
854997c163 Update sd_models.py 2024-01-25 04:42:39 -08:00
lllyasviel
b781e7f80f i 2024-01-25 03:45:58 -08:00
lllyasviel
4e5ba653c6 i 2024-01-24 11:03:36 -08:00
lllyasviel
d622806088 Update sd_models.py 2024-01-16 02:56:02 -08:00
lllyasviel
4cd111c9ad Update sd_models.py 2024-01-16 02:54:08 -08:00
lllyasviel
6ce6236958 Update sd_models.py 2024-01-16 02:46:35 -08:00
lllyasviel
b731bb860c Update webui.py
i

Update initialization.py

initialization

initialization

Update initialization.py

i

i

Update sd_samplers_common.py

Update sd_hijack.py

i

Update sd_models.py

Update sd_models.py

Update forge_loader.py

Update sd_models.py

i

Update sd_model.py

i

Update sd_models.py

Create sd_model.py

i

i

Update sd_models.py

i

Update sd_models.py

Update sd_models.py

i

i

Update sd_samplers_common.py

i

Update sd_models.py

Update sd_models.py

Update sd_samplers_common.py

Update sd_models.py

Update sd_models.py

Update sd_models.py

Update sd_models.py

Update sd_samplers_common.py

i

Update shared_options.py

Update prompt_parser.py

Update sd_hijack_unet.py

i

Update sd_models.py

Update sd_models.py

Update sd_models.py

Update devices.py

i

Update sd_vae.py

Update sd_models.py

Update processing.py

Update ui_settings.py

Update sd_models_xl.py

i

i

Update sd_samplers_kdiffusion.py

Update sd_samplers_timesteps.py

Update ui_settings.py

Update cmd_args.py

Update cmd_args.py

Update initialization.py

Update shared_options.py

Update initialization.py

Update shared_options.py

i

Update cmd_args.py

Update initialization.py

Update initialization.py

Update initialization.py

Update cmd_args.py

Update cmd_args.py

Update sd_hijack.py
2024-01-16 02:33:39 -08:00