Commit Graph

8347 Commits

Author SHA1 Message Date
awsr 6aff795985 Improve extensibility 2026-04-14 02:59:19 -07:00
awsr 5c30c993b5 Don't include empty hash stores 2026-04-14 00:11:33 -07:00
awsr e94d715e7d Fix data serialization 2026-04-13 23:44:05 -07:00
awsr 1647be96de Minor function renaming
Cache no longer requires initialization.
2026-04-13 23:44:05 -07:00
awsr e4aaed9eee Improve init & data handling. Improve typing.
Minor usage change. Instead of setting the hash info directly, call `add_hash` to ensure proper data structure.
2026-04-13 23:44:05 -07:00
CalamitousFelicitousness a9a33b2bfa fix(civitai): probe /images for baseModels enum discovery
Civitai stopped validating baseModels on /api/v1/models (returns 200 with
empty items on unknown values), which left API clients without a way to
discover the values. Right now /images still does, I will get a separate
PR to put something more robust in place.
2026-04-13 22:46:52 +01:00
vladmandic a42fc62ede well-known api logging
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-13 16:40:03 +02:00
vladmandic 0b4deb80a4 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-13 16:22:56 +02:00
vladmandic 7a6b0bdcc9 bria-fibo prompt-to-json
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-13 12:41:57 +02:00
vladmandic 84c2ddc5ca linting
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-13 12:18:05 +02:00
Vladimir Mandic b3f09aa417 Merge pull request #4707 from vladmandic/feat/tag-dictionaries
Feat/tag dictionaries
2026-04-13 11:57:48 +02:00
vladmandic a6c726f8d6 update tag-autocomplete
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-13 11:54:59 +02:00
CalamitousFelicitousness afff6c1852 feat(ui): right-click send-to-control for prompt/params transfer
Right-clicking the "Send to Images" button now offers two entries:
one copies the prompt only, the other copies all generation parameters
except the image itself. Available in gallery, txt2img, img2img, and
extras. Keeps the results toolbar compact.

- extend ParamBinding with skip_image and only_prompt flags
- create prompt/params variants in all four output panels
- register per-tab context menu entries scoped to #{tab}_tabitem
- match menu selectors via e.target.closest for nested-icon clicks
- document the right-click surface in the "➠ Control" locale hint
2026-04-12 21:51:29 +01:00
Disty0 607ea1f6b0 OpenVINO autodetect FP16 2026-04-12 22:01:30 +03:00
vladmandic a424955542 error handling for undefined pipeline
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:47:50 +02:00
vladmandic e5edfbc8c8 openvino test fp16/bf16 force false
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:46:30 +02:00
vladmandic 8070e51777 openvino backend
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:07:20 +02:00
vladmandic d1a40b3ba7 openvino device selecrtion
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:07:20 +02:00
vladmandic 93f948af13 control add error handling
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:09 +02:00
vladmandic 49b0fa360f error handler for same-device
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:09 +02:00
vladmandic a00ea46114 add step1x-edit and vibe-edit
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:08 +02:00
vladmandic da01e6ced2 add lumina-dimoo
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:08 +02:00
vladmandic 5f659553a0 add bria-fibo
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:08 +02:00
vladmandic 456d17fcd3 cleanup bnb references
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:08 +02:00
vladmandic 91bba59c0d fix lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:08 +02:00
vladmandic 4ef2c7ab3b fix check-models
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:08 +02:00
vladmandic 9e6ce8a261 fix check-schedulers
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:08 +02:00
vladmandic 15c8b2b0c4 fixes from check-api
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 18:54:22 +02:00
vladmandic b9a38b5955 ai-agents
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 18:54:22 +02:00
CalamitousFelicitousness 79d2f71e87 fix sd_checkpoint.list_models leaving stale sd_models.checkpoints_list reference
list_models() ended with `checkpoints_list = dict(sorted(...))`, which rebound
the module-level name to a fresh dict object. sd_models.py line 18 does
`from modules.sd_checkpoint import ... checkpoints_list`, capturing a reference
to the original dict at import time. Every subsequent list_models() call
cleared and refilled the sd_checkpoint binding but left the sd_models binding
frozen at the state it had after the first call. ui_extra_networks_checkpoints,
ui_models, extras, xyz_grid_classes, and sd-extension-system-info all read
through sd_models.checkpoints_list, so none of them could see models added
after startup without a full restart.

Sort in place instead, preserving dict identity so every importer stays in
sync with sd_checkpoint.checkpoints_list.
2026-04-11 22:27:39 +01:00
CalamitousFelicitousness cfdce99957 fix ER-SDE flow-matching parameterization using alpha=1
The VP update formula uses lambda=sigma/alpha which blows up to ~1e8
for flow matching (where alpha=1-sigma approaches 0). This makes
r_fn=fn(next)/fn(curr) collapse to ~0, causing the sampler to discard
the previous sample and independently re-predict x0 at each step.

Set alpha=1 and lambda=sigma for flow matching so the VP formula
naturally reduces to the correct form r_f*x + (1-r_f)*x0 with
lambda in [0,1] where the noise function produces meaningful ratios.
2026-04-11 16:31:32 +01:00
CalamitousFelicitousness 3f5059f310 fix sign-destroying clamp in ER-SDE higher-order corrections
The 2nd/3rd order derivative denominators (lambda_curr - prev_lambda)
are always negative since lambda decreases during denoising.
The .clamp(min=1e-10) forced these to a tiny positive value, causing
d_x0 to explode by ~1e18 and producing NaN output.

- Add _safe_div helper that returns zero for near-zero denominators
  while preserving the sign for normal values
- Replace .clamp(min=1e-10) with _safe_div in both 2nd and 3rd order
2026-04-11 16:31:32 +01:00
CalamitousFelicitousness 0b0382375a fix flow-matching schedule computed internally when no sigmas provided 2026-04-11 16:31:32 +01:00
CalamitousFelicitousness 153a5febde fix sigmas always populated after set_timesteps 2026-04-11 16:31:32 +01:00
CalamitousFelicitousness 4d347049eb add ER-SDE solver scheduler 2026-04-11 16:31:32 +01:00
Disty0 a16ff95f18 SDNQ add nn.Embedding quantization support and add Gemma4 keys 2026-04-10 18:46:58 +03:00
vladmandic 14ba5e4ce7 update nudenet
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-09 13:48:54 +02:00
CalamitousFelicitousness f1d2888f10 fix(lora): case-insensitive stage detection for two-stage LoRA names 2026-04-09 09:11:51 +01:00
CalamitousFelicitousness 0e5d351099 add google gemma-4-e2b and gemma-4-e4b support
- add to prompt enhance models, img2img, and models_cls
- add to vlm/caption models
- update _load_gemma class selection for gemma 4
- bump transformers pin to 5.5.0.dev for gemma4 architecture support
2026-04-09 03:21:50 +01:00
CalamitousFelicitousness 3195bd6287 feat(autocomplete): move settings to always-on script UI
- create scripts/autocomplete.py as always-on script with dictionary
  management UI (dropdown, refresh, update, settings controls)
- move autocomplete settings from Settings > Extra Networks to hidden
  options, controlled via script UI with JS config bridge
- remove early exit in autocomplete.js when no dictionaries enabled,
  allowing dictionaries enabled via script UI to work without reload
- add id-based suffix matching to setHints.js for unique button hints
- add locale_en.json entries with tooltips for all autocomplete controls
2026-04-09 02:00:45 +01:00
vladmandic 7280926b22 disable hidream parser
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-08 22:46:31 +02:00
vladmandic 900acc9cc6 fix relpath
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-08 11:00:32 +02:00
Vladimir Mandic aa34db2c50 Merge branch 'dev' into feat/tag-dictionaries 2026-04-08 10:03:42 +02:00
vladmandic 44cb2f6f9c improve path_to_repo
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-08 09:47:06 +02:00
vladmandic a8e535efe2 enhanced filename pattern processing
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-08 08:32:32 +02:00
vladmandic bfc018fed4 update changelog
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-07 15:24:42 +02:00
awsr c003b0eb48 PIL Image.Image type fix 2026-04-06 01:06:19 -07:00
vladmandic a07e9cc7e1 hijack hf download
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-06 09:19:43 +02:00
vladmandic 4c5454d54a improve select_from_weighted_list
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-06 07:57:04 +02:00
vladmandic df50c4c969 fix prompt weighted lists
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-05 21:29:18 +02:00