512 Commits

Author SHA1 Message Date
Dity0 e1767aa72d remove sdnq.sdnext hijacks 2026-08-27 02:47:03 +03:00
CalamitousFelicitousness b57b8c6a64 perf(attention): capture backend options once per chain
The sdnq backend read six settings on every call; it now captures them
when the chain is built. Each backend declares the settings its call
captures, and webui registers one onchange over those names plus the
override set and the torch kernel flags, so a change rebuilds the chain
between jobs. When a compiled model is resident the rebuild also resets
dynamo, since its graphs hold the previous router.
2026-08-23 08:21:28 +01:00
Vladimir Mandic 63a5722429 prepare queue mgmt
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-22 11:24:41 +02:00
Vladimir Mandic 9f650367cb multiple cleanups
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-17 09:35:07 +02:00
Vladimir Mandic 392c969754 add offload state_dict
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-17 08:52:46 +02:00
Vladimir Mandic fbd0020ad4 refactor offloading
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-16 12:45:50 +02:00
CalamitousFelicitousness 0d18bd9abe fix(offload): drive group offload from the offload settings
Group offload ignored the offload exclusion settings and its options took
effect only at the next model load. Components named by the never-offload
list or the model-type exclusion now stay resident on the accelerator,
with matching shared between the balanced hook and the group roles. The
offload options re-place loaded components when changed: group modes
re-run the placement pass, and balanced mode rebuilds its hook, which
snapshots the exclusion lists at construction.
2026-08-14 23:59:27 +01:00
Vladimir Mandic 549dd5cae0 monkey-patch sdnq to use sdnext devices/shared
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-10 12:49:39 +02:00
Vladimir Mandic 562be970ae reorder env vars
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-10 00:43:15 +02:00
Vladimir Mandic 6e448de56c switch to internally managed uvicorn
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-06 13:24:48 +02:00
Vladimir Mandic 84905f77da improve server monitor and profiling
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-05 12:19:07 +02:00
Vladimir Mandic 514a68b1af add storage analyzer
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-02 11:22:12 +02:00
Vladimir Mandic 3be4dce41e profiling updates
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-26 19:35:56 +02:00
Vladimir Mandic 42c2c6382a update torch==2.13.0+cu132
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-15 09:00:36 +02:00
Vladimir Mandic f8cfc408e9 strict subpaths
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-13 21:48:42 +02:00
CalamitousFelicitousness 8c884c1e02 feat(model): secondary unet override slot and ideogram4 native loading
One UNET override cannot serve dual-transformer arches: ideogram4
conditional/unconditional and wan combined-stage experts need separate
files, and previously a single override landed on both experts.

- sd_unet_secondary option with per-slot tracking, consumed-state sync,
  arch-change reset, and incompatible-override fallback
- dropdown renders beside the primary, follows it into quicksettings,
  and is visible only for dual-transformer model types
- ideogram4 native single-file spec with a quant-aware fused-qkv
  converter; such converters run before comfy_quant detection via
  TransformerSpec.converter_handles_quant
- quicksettings render in configured order (sort keyed on the option
  object and always fell back to alphabetical)
- post-load dtype warning skips quantized transformers
2026-07-11 06:40:07 +01:00
Vladimir Mandic db26b77909 add boogu
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-04 15:26:36 +02:00
Vladimir Mandic a4d107a919 refactor detailer
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-03 21:03:28 +02:00
Vladimir Mandic f4dd9bd063 fix openapi schema
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-01 11:23:07 +02:00
Vladimir Mandic 7c228892cf model metadata handle invalid keys
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-29 11:23:29 +02:00
Vladimir Mandic 469428b502 update transformers/diffusers and enhanced tests
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-12 15:15:16 +02:00
Vladimir Mandic 4b2f38ab7f complete refactor javascript to typescript and reorg frontend files and folders
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-20 18:08:10 +02:00
Vladimir Mandic c8d6fd5cf8 Revert "much stricter ruff linting"
This reverts commit 310dbf1574.
2026-05-11 08:13:57 +02:00
Vladimir Mandic 310dbf1574 much stricter ruff linting
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-11 07:15:37 +02:00
awsr 1647be96de Minor function renaming
Cache no longer requires initialization.
2026-04-13 23:44:05 -07:00
vladmandic 12fd4d30f1 fb merge phase 2
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-16 08:09:07 +01:00
vladmandic 195a9568ac merge: cli/hf-search.py 2026-03-12 14:16:50 +01:00
vladmandic 9ad68c2ff4 eliminate possible race conditions during startup
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-01 13:46:05 +01:00
Vladimir Mandic 216558185b update installer usage 2026-02-19 12:21:46 +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
vladmandic 0ed64ec195 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 11:34:40 +01:00
CalamitousFelicitousness d01f45519f refactor: remove face restoration from processing pipeline
- Remove CodeFormer/GFPGAN import and setup from webui.py initialize()
- Remove face_restorers list, codeformer/gfpgan model path settings,
  and face restore UI settings section from shared.py
- Remove restore_faces parameter from StableDiffusionProcessing
- Remove face_restoration import and restore_faces processing block
  from processing.py
2026-02-08 22:59:00 +00:00
vladmandic dd80e15cfd add RealPLKSR NomosWebPhoto and AnimeSharpV2 using spandrel engine
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-05 14:06:17 +01:00
vladmandic 59654d68ea add hqx and icb interpolations
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-05 11:21:17 +01:00
vladmandic a7c32caae3 relocate all jsons to data
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-24 13:54:40 +01:00
awsr 0faabffc14 Simplify options init/save/load 2026-01-10 13:27:38 -08:00
vladmandic f6289206d8 startup sequence optimizations
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-03 07:54:05 +01:00
vladmandic 2b7e72bf82 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-11 14:23:19 +01:00
Vladimir Mandic 69180202d3 kanvas integration
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-08 15:41:52 -05:00
Vladimir Mandic 41bb446697 support configurable multi-stage models in video tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-22 13:18:39 -04:00
Vladimir Mandic d351fdb98f add more job state updates and update history tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-13 10:54:04 -04:00
Vladimir Mandic 175e9cbe29 cleanup/refactor state history
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-12 16:12:45 -04:00
Vladimir Mandic fbc50ce3e1 setting for hf transfer mode
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-16 16:45:56 -04:00
Vladimir Mandic 068f63badc add model parallel load option
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-13 21:18:57 -04:00
Vladimir Mandic 562799314d change default hfcache folder
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-13 13:04:14 -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 7167d9d82a api set default script-name
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-31 17:16:47 -04:00
Vladimir Mandic 239c3d6dd9 add explict hijack import
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-08 08:26:06 -04:00