Commit Graph

41 Commits

Author SHA1 Message Date
CalamitousFelicitousness 25fa8e0f15 refactor(ui): shorten unet-sync handlers, align load logs
- ui_settings: rename to sync_checkpoint_unet / sync_checkpoint_unet_forced
- sd_models: cross-arch unet reset log uses key=value house style
- generic: native transformer dispatch logs loader=native
2026-05-31 00:24:33 +01:00
CalamitousFelicitousness 09c6229b1c fix(ui): refresh UNET dropdown after cross-arch model swap
When reload_model_weights resets shared.opts.sd_unet to Default on a cross-arch swap, the backend value changed but the dropdown component kept showing the previous selection because sd_unet was not in the change_checkpoint button's outputs.

Add the sd_unet component to the outputs and return its post-reload value via gr.update.
2026-05-31 00:24:33 +01:00
Vladimir Mandic ad9c937e68 Merge pull request #4862 from vladmandic/fix/editable-dropdown-blur
fix(ui): debounce editable dropdowns in quicksettings
2026-05-22 06:12:38 +02:00
Vladimir Mandic 7d91ee9611 enhance globals
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-21 12:02:01 +02:00
CalamitousFelicitousness 9de161e65a fix(ui): debounce editable dropdowns in quicksettings
Editable dropdowns (sd_model_checkpoint, sd_text_encoder) fired a
.change event on every keystroke because Gradio's allow_custom_value
keyup handler sets the value to the typed text.

- Use .blur instead of .change for DropdownEditable in quicksettings
- Validate model keys in run_settings_single before committing
2026-05-21 03:58:41 +01:00
Vladimir Mandic eb88f27a04 cleanup preview
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-09 13:32:29 +02:00
CalamitousFelicitousness 2fbe261634 fix(lint): drop unused f-prefix and add trailing newline 2026-05-07 22:21:58 +01:00
awsr f496da6550 Fix shutdown/restart behavior 2026-05-06 20:48:40 -07:00
Disty0 74c56da1d3 OpenVINO override diffusers_offload_mode to none 2026-05-07 00:51:35 +03:00
vladmandic 8070e51777 openvino backend
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:07:20 +02:00
vladmandic afe3786f5f add unet/dir to networks
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-22 11:09:45 +01:00
Vladimir Mandic e5c494f999 cleanup logger 2026-02-19 11:09:13 +01:00
Vladimir Mandic a3074baf8b unified logger 2026-02-19 09:46:42 +01:00
Vladimir Mandic bfe014f5da modernize typing 2026-02-19 09:15:37 +01:00
awsr 0faabffc14 Simplify options init/save/load 2026-01-10 13:27:38 -08:00
awsr 878f2f5aa6 Use True/False instead of True/None 2025-12-19 00:22:57 -08:00
awsr 00d3be3dba show_progress requires "full", "minimal", or "hidden" 2025-11-28 02:27:19 -08:00
Vladimir Mandic 05261e708a ability to disable parts of the app
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-03 19:36:55 -05:00
Vladimir Mandic 3f0a53f5e4 cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-02 06:29:19 -05:00
vladmandic c71e15bc66 improve model matching
Signed-off-by: vladmandic <mandic00@live.com>
2025-10-26 12:58:26 -04:00
vladmandic 512036d291 reference load cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2025-10-25 23:25:10 -04:00
Vladimir Mandic 2e4e741d47 seedvt2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-12 15:35:08 -04:00
Vladimir Mandic 8b698ed67f upadte qwen pruning and allow hf models in subfolders
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-04 15:49:20 -04:00
Vladimir Mandic cd79f92dff add opts models_not_to_offload
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-19 11:21:54 -04:00
Vladimir Mandic 848f3421cc reorder system settings
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-31 16:29:57 -04:00
Vladimir Mandic b2dbef53e5 restyled all toolbuttons to be modernui native
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-31 15:01:50 -04:00
Vladimir Mandic 7ef342933e cleanup onnx init
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-16 09:46:49 -04:00
Vladimir Mandic 4b74fd26b5 redesign gpu monitor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-07 13:56:13 -04:00
Vladimir Mandic a9c65c0e8c move api-only to legacy options
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-06 19:27:57 -04:00
Vladimir Mandic a91ee36b5c fix settings components mismatch
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-06 18:35:43 -04:00
Vladimir Mandic f7e433bd07 lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-01 18:26:57 -04:00
Vladimir Mandic 5a9b72ec57 add quicksettings reset button
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-31 19:39:20 -04:00
Vladimir Mandic a5b77b8ee2 remove dead code
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-05 16:47:25 -04:00
Vladimir Mandic e8b5ea3847 major refactor: remove backend original
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-05 13:16:46 -04:00
Vladimir Mandic 49c9a450f4 support manually downloaded diffuser models
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-03 15:52:54 -04:00
Vladimir Mandic 8473bae0fc 1000 papercuts
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-05-13 21:51:33 -04:00
Vladimir Mandic 5647d782f8 configurable restore metadata settings and params
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-26 10:45:49 -04:00
Vladimir Mandic 8c37607b82 add histrory ui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-25 13:51:58 -04:00
Vladimir Mandic 5bdc87b68a fix server restart
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-03 08:22:43 -04:00
Vladimir Mandic def571dae9 fix settings save
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-30 15:29:18 -04:00
Vladimir Mandic a467e23d72 full ui-settings refactor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-30 15:04:17 -04:00