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
Vladimir Mandic
4558963b13
Merge pull request #4457 from awsr/cache-opt
...
Fix/update browser cache behavior
2025-12-10 09:05:34 +01:00
awsr
8aafaf2c8b
Change "interrogate" icon
...
Feels like it fits the action more and is more distinct from the resize icon.
2025-12-09 20:01:20 -08:00
awsr
9d8119b6ab
Fix/update browser cache behavior
...
It was partially ignoring the setting and writing to cache anyway.
2025-12-09 19:23:16 -08:00
CalamitousFelicitousness
d277392103
feat(ui): caption tab label styling and CLIP analysis text output
...
Add clip_labels_text component for CLIP analysis results and standardize
label capitalization across VLM and CLiP sections for consistency.
2025-12-09 18:54:44 +00:00
vladmandic
d0e0e91a16
Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev
2025-12-09 19:14:12 +01:00
vladmandic
3a65d561a7
add google-veo-3.1
...
Signed-off-by: vladmandic <mandic00@live.com >
2025-12-09 19:14:08 +01:00
Disty0
de5d4f0165
SDNQ fix sr not doing anything
2025-12-09 19:57:34 +03:00
Disty0
949ff04577
SDNQ fix fp16 mm with fp8 weights and improve stochastic rounding performance
2025-12-09 17:41:29 +03:00
vladmandic
acca58f50c
add kandinsky5
...
Signed-off-by: vladmandic <mandic00@live.com >
2025-12-09 09:47:22 +01:00
vladmandic
f91af19094
update video models
...
Signed-off-by: vladmandic <mandic00@live.com >
2025-12-09 09:22:28 +01:00
Disty0
1c2a81ee2d
Make SDNQDequantizer a dataclass
2025-12-08 22:29:45 +03:00
vladmandic
3f161b5532
lint moondream
...
Signed-off-by: vladmandic <mandic00@live.com >
2025-12-08 18:16:00 +01:00
vladmandic
69f0d6bf5d
lint
...
Signed-off-by: vladmandic <mandic00@live.com >
2025-12-08 18:12:47 +01:00
Vladimir Mandic
5a1d60e1b9
Merge pull request #4448 from CalamitousFelicitousness/feat/vqa-prefill-thinking-moondream3
...
VQA Refactor
2025-12-08 17:43:48 +01:00
Disty0
d4e2cbb826
SDNQ fix torch.compile always being active
2025-12-08 18:15:08 +03:00
Disty0
3ae7ecdbad
SDNQ fix quantization_device getting ignored on post load quant
2025-12-08 01:29:52 +03:00
Disty0
064b64c76c
cleanup
2025-12-08 01:14:19 +03:00
Disty0
6e05a12a49
SDNQ post process pre-quants after load
2025-12-08 01:08:53 +03:00
Disty0
0835ca6f66
SDNQ add explicit model.quantization_method = QuantizationMethod.SDNQ
2025-12-08 00:46:40 +03:00
Disty0
7a6356f8eb
SDNQ fix transformers v5 and check for torch._dynamo.config.disable
2025-12-08 00:36:15 +03:00