19 Commits

Author SHA1 Message Date
CalamitousFelicitousness 6b7c43cd29 fix(lora): resolve network names that carry a dot in the filename
add_network keys available_networks by the basename with dots mangled to
underscores, and create_item looked the name up in that table using the
name as loaded, so any file with a dot in its stem missed and logged
"not registered". The tag pass then dropped the network's own tags and
used the filename instead. The lookup now falls back to the alias table,
which already carries the natural basename and the subfolder path.
2026-09-16 18:26:06 +01:00
Vladimir Mandic 49de7e9c86 reduce circular imports and improve lora tags
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-01 14:44:59 +02:00
CalamitousFelicitousness 48fad8524e feat(krea2): add Krea 2 (K2) image model support
Krea 2 is a 12.9B single-stream flow-matching DiT trained from scratch, using a Qwen3-VL-4B text encoder and the Qwen-Image VAE. The transformer is vendored as a diffusers ModelMixin whose module tree mirrors the checkpoint, so weights load with no key conversion; the pipeline ports the reference encode, flow-matching denoise, and VAE decode. The text encoder is shared at runtime via the existing dedup registry, so Base and Turbo reuse one Qwen3-VL-4B copy.

Covers text-to-image, image-to-image, native LoRA, and the single-file UNET override. Also completes SD.Next's partial Qwen-Image VAE support (5D decode input and TAESD preview mapping) that K2 shares.
2026-06-23 04:41:54 +01:00
awsr 09f5fc6e03 Update concurrent.futures imports
Python 3.14 adds `concurrent.interpreters` and we don't need to import that here.
2026-04-23 16:49:31 -07:00
vladmandic 886341b1cc merge: modules/ui_extra_networks_lora.py 2026-03-12 14:16:51 +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
vladmandic 4dbdee10e3 switch lora logic and improve ui networks filter
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-14 10:31:21 +01:00
Vladimir Mandic c96af0d428 fix lora filter by model type
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-24 12:55:11 -04:00
Vladimir Mandic a50f5c8faa handle missing version
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-25 19:39:40 -04:00
Vladimir Mandic 7f46d08a2c match network version
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-25 12:27:03 -04:00
Vladimir Mandic 6572a78c51 update changelog and cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-24 09:27:45 -04:00
Pablo Hellmann 714c7b813b l.sd_version as alternative when base model extraction fails 2025-08-24 14:44:42 +02:00
Pablo Hellmann b021f4a537 Implementation V3 of base model tags on model cards 2025-08-24 14:36:23 +02:00
Vladimir Mandic 114d097bb4 add wildcards to networks ui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-13 20:23:35 -04:00
Vladimir Mandic 752d636324 add /sdapi/v1/network
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-10 10:53:28 -04:00
Vladimir Mandic b5031a5eba lora modularize code
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-01 13:39:47 -04:00
Vladimir Mandic 493c953d49 cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-29 10:22:47 -05:00
Vladimir Mandic 6aa7a4707e modules.lora full integration
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-29 09:39:38 -05:00