86 Commits

Author SHA1 Message Date
Vladimir Mandic e3c57af560 pipeline init reordering
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-16 12:45:50 +02:00
Vladimir Mandic 76941efc7e strict typechecking
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-16 12:45:50 +02:00
CalamitousFelicitousness 4554b9a277 fix(lora): apply te networks before encode and honor lora_apply_te
Network activation ran after prompt encoding, so text encoder lora
weights never affected embeds on the first generation and the stale
result was then served from the embed cache. The trailing unfiltered
activate in network_load also overrode the te exclude filter, so the
lora_apply_te setting was never honored.

- parse and activate networks in process_base before pipeline args are built
- activate_filtered gates text encoder components on per-request or global
  lora_apply_te; used by base, hires, detailer and faceid call sites
- network_load accepts activate=False for callers that run their own
  deactivate/activate sequence with include/exclude
- network_activate walks excluded components in restore-only mode so a
  filtered text encoder reverts to backup instead of keeping stale deltas
- loaded_loras cache is single-entry since per-filter entries go stale when
  the setting toggles
- prompt embed cache key includes the effective lora_apply_te value
2026-07-08 03:06:04 +01:00
QualiaRain 8a8d99019a fix: dead hasattr-on-dict path, double video-vae normalization, undefined self.device, hyimage if/elif, attention-mask attr typo, wrong face logged
Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-12 13:00:57 -04:00
Vladimir Mandic 5e99dee3c2 full codespell coverage
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-04 12:36:10 +02:00
Vladimir Mandic 4747ca2fc0 lora change detection improvements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-09 09:38:54 +02:00
vladmandic b5e9fbc7b3 reorganize scripts/extensions
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-27 14:00:46 +01:00
awsr d3f925e8e5 RUF013 update 2026-03-24 03:46:26 -07:00
vladmandic 565beebd90 merge: modules/face/insightface.py 2026-03-12 14:16:51 +01:00
Vladimir Mandic 58fe1f59ff add alternative insightfacex 2026-02-20 21:09:43 +01:00
Vladimir Mandic 47543663f9 cleanup references to p.sd_model
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-19 20:48:42 +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
Vladimir Mandic 6fdd3a53cf reduce mandatory requirements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-18 17:53:08 +01:00
awsr 2f8976e28d Type standardization in processing_class 2026-01-21 16:35:19 -08:00
vladmandic f9aa2591e5 fix gallery save/delete
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 09:53:20 +01:00
vladmandic cc0b0e8e3d cleanup todo
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-19 11:10:05 +01:00
Vladimir Mandic 49a9ab3d87 linting
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-29 11:40:20 -04:00
Vladimir Mandic 4b95d72d45 video tab layout
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-18 14:07:52 -04:00
Vladimir Mandic f8f958244f use new pydantic/albumentations/insightface
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-16 10:17:33 -04:00
Vladimir Mandic 8cd5fbc926 lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-12 16:28:53 -04:00
Vladimir Mandic aec30cc063 add --new flag
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-04 16:07:03 -04:00
Vladimir Mandic 72a9094b42 better model version detect and experimental pydantic v2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-04 12:41:40 -04:00
Vladimir Mandic 9743c8e4bf keep previous processed state
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-31 15:20:15 -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 c4d9338d2e major refactoring of modules
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-03 09:18:38 -04:00
Vladimir Mandic 7736382028 major requirements refactor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-01 13:12:21 -04:00
Vladimir Mandic af3a44ccbe optional skimage
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-05-24 08:58:04 +02:00
Vladimir Mandic c371ec91b4 fix nncf with controlnet
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-05-15 15:26:55 -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 984aa8ec55 lint fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-08 16:31:51 -04:00
Vladimir Mandic f113efc6f5 insightface loader
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-16 12:14:13 -04:00
Vladimir Mandic 30f76022b0 handle pipeline class switch error
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-02-24 09:05:40 -05:00
Vladimir Mandic 0204eacea3 force pydantic reinstall/reload
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-02-12 18:55:08 -05:00
Vladimir Mandic 372b464e3e improve python 3.12 compatibility
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-02-04 08:54:41 -05:00
Vladimir Mandic d50d467a33 multiple fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-30 09:41:11 -05:00
Vladimir Mandic 04ad0caa0c photomaker with offloading
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-30 08:38:06 -05:00
Vladimir Mandic 6960b05129 lint and update changelog
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-28 09:02:44 -05:00
Vladimir Mandic 06ba03cf80 settings option to disable reference models
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-23 15:19:43 -05:00
Vladimir Mandic 73aaaca858 add photomaker v1 and v2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-21 12:41:32 -05:00
Vladimir Mandic f5a910f719 experimental reswapper
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-20 16:57:55 -05:00
Vladimir Mandic ea6d3107ab update all todo statements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-22 08:39:31 -05:00
Vladimir Mandic 1185950c4a yet another lora refactor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-09 13:40:19 -05:00
Vladimir Mandic aabe523a5f update changelog
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-12 12:12:46 -05:00
Vladimir Mandic 5de457bb18 sort and describe all scripts
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-12 11:18:33 -05:00
Vladimir Mandic 66820edb63 update
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-12 11:02:34 -05:00
Vladimir Mandic 5ff847336b remove duplicate diffusers and move aux models to hfcache
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-01 10:39:43 -04:00
Vladimir Mandic 6760632f38 major model load refactor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-26 13:22:29 -04:00