Commit Graph

7660 Commits

Author SHA1 Message Date
vladmandic fab224c4df zimage-controlnet-union initial code
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-24 10:42:42 +01:00
vladmandic a319a98e59 error handling of meta embeds
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-23 10:23:14 +01:00
Disty0 471b6dc1b7 SDNQ add siglip_embedder to ZImage skip keys 2025-12-23 04:32:54 +03:00
vladmandic 72b533a52a cleanup layered again
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 22:52:56 +01:00
vladmandic b5a5efaf62 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 22:14:12 +01:00
vladmandic 4c43d9a1e6 cleanup qwen
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 22:08:49 +01:00
vladmandic 2a33d9f1a8 add qwen-image-layered
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 21:24:27 +01:00
vladmandic a78a99f0ff use balanced for auto-detected 4gb gpu
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 21:03:46 +01:00
vladmandic dde91321b9 genai exception handling and lint all
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 20:29:50 +01:00
vladmandic 4c35d3887e nvml warn once
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 09:17:15 +01:00
awsr dfe6e889d8 Fix imports 2025-12-20 01:42:03 -08:00
awsr 1a5f7ef642 Update OptionInfo import 2025-12-20 00:34:09 -08:00
awsr 148f16daed Move LegacyOption back to shared_legacy.py
Seems like Python doesn't actually consider it a circular import in this instance.
2025-12-20 00:31:13 -08:00
awsr b0dc758099 Change Mapping type to dict 2025-12-19 23:52:47 -08:00
awsr 4d4cf0cef1 Update options typing 2025-12-19 21:22:50 -08:00
awsr 072cab438d Use Any type for default for now 2025-12-19 19:17:52 -08:00
awsr e2c5fc0a21 Add simple docstring 2025-12-19 15:46:16 -08:00
awsr f8b812b68e Add Callable type annotation to onchange 2025-12-19 00:30:11 -08:00
awsr 878f2f5aa6 Use True/False instead of True/None 2025-12-19 00:22:57 -08:00
awsr f20591ce5e Use updated Callable import
Importing from `typing` is considered deprecated since it's literally just internally calling from `collections.abc`
2025-12-18 23:27:53 -08:00
awsr eeca45c7b2 Update type annotations 2025-12-18 18:09:32 -08:00
awsr 05f767cf5f Keep option type definitions together...
and update type annotations.
- Since there's no literal for sets, and because functions usually shouldn't be used as parameter defaults, use None as default and then use `set()` as default during init.
2025-12-18 18:08:54 -08:00
awsr 2cd6600a38 Add type annotations to options_section 2025-12-18 17:04:59 -08:00
awsr e211b7bf39 Fix Extension type inference 2025-12-18 14:04:41 -08:00
awsr 3fa20d8fce Add type assertion 2025-12-17 16:44:35 -08:00
awsr ab7ca7e303 Remove unused TypeGuard import 2025-12-17 16:44:09 -08:00
awsr dcb7164d30 Update readfile type safety 2025-12-17 16:43:54 -08:00
awsr 18bfa4b031 Fix type enforcement 2025-12-17 13:44:25 -08:00
awsr 6f00ad4643 Add type annotation to save queue 2025-12-17 13:38:42 -08:00
awsr 4816455a99 Don't try to read txt file as json 2025-12-17 13:18:48 -08:00
awsr 56fc36d944 More dict type safety opt in 2025-12-17 13:18:48 -08:00
awsr 41105c362a Revert change incorrectly reported by Pyright as an error 2025-12-17 13:18:14 -08:00
awsr c34c42493e Opt in to dict type safety 2025-12-17 13:18:14 -08:00
awsr 5206216487 Typing updates 2025-12-17 13:18:13 -08:00
awsr c22ca8d76e Create and opt in to dict type safety from JSON
Opt in via the keyword-only argument `dict_only`
2025-12-17 13:18:13 -08:00
Vladimir Mandic 5ab228a495 Merge pull request #4477 from awsr/extension-status-fix
Fix and improve extension status icons
2025-12-17 10:32:46 +01:00
vladmandic e2fb70d4a1 detailer draw segmentation overlays
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-17 10:03:17 +01:00
awsr 2a95973767 Fix and improve extension status icons 2025-12-16 20:49:07 -08:00
awsr 13a04c2312 Add color-adjustable SVG string support 2025-12-16 20:48:12 -08:00
vladmandic a7956d0c5c detailer support for segmentation models and use of segmentation masks
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-16 22:51:52 +01:00
Disty0 0d45e851fb disable compile on balanced offload hooks 2025-12-16 16:43:43 +03:00
vladmandic 409ad8d2bd add longcat image and image-edit
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-16 08:58:22 +01:00
vladmandic 0706f46a91 alias pipeline output image/images
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-13 09:30:05 +01:00
Disty0 ce8b6d138c SDNQ remove forced uint4 from convs and cleanup 2025-12-13 01:32:52 +03:00
vladmandic 13b4dc8996 update google access methods
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-12 09:56:39 +01:00
Vladimir Mandic 8e02b87696 Merge pull request #4460 from CalamitousFelicitousness/pixtralpromptfix
fix(prompt): handle multi-modal processors in token counter
2025-12-11 07:45:43 +01:00
CalamitousFelicitousness 810c00eb12 fix(processing): convert vae_decode results to list in process_decode
The else branch in process_decode was returning a numpy array directly
from vae_decode, while the if branch properly converted results to a
list. This caused process_samples to return early with an empty infotext
list, and zip(numpy_array, []) produced zero iterations, resulting in
images=0 for detailer, inpainting, and img2img operations.

Bug introduced in 3e8dec929 (Dec 2024), exposed by 63a180be1 (Nov 2025).
2025-12-11 03:00:40 +00:00
CalamitousFelicitousness a19c795b49 fix(prompt): handle multi-modal processors in token counter
For FLUX2 models using Mistral3/PixtralProcessor, detect and use the
underlying text tokenizer instead of calling the processor directly,
which incorrectly tries to interpret text prompts as images.
2025-12-10 18:54:39 +00:00
Vladimir Mandic 29a3473772 Merge pull request #4458 from awsr/interrogate-icon
Change "interrogate" icon
2025-12-10 10:44:31 +01:00
vladmandic a72b98848c cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-10 10:17:37 +01:00