Commit Graph

8575 Commits

Author SHA1 Message Date
CalamitousFelicitousness 11b42fdcab fix(video): reset ltx loader cache on unload 2026-04-15 23:03:07 +01:00
Disty0 85ec9bf137 SDNQ fix post load quant 2026-04-16 00:38:54 +03:00
Disty0 ed5019116b cleanup 2026-04-16 00:25:21 +03:00
Disty0 9960b371d1 cleanup 2026-04-16 00:22:52 +03:00
Disty0 68a5fe6342 SDNQ add fp8 mm info to modules_quant_config 2026-04-16 00:18:42 +03:00
Disty0 8a1743712a SDNQ disable FP8 MM on dynamic quant with unsupported GPUs 2026-04-15 23:28:20 +03:00
Disty0 202f12ea6c SDNQ disable fp8 mm with pre-quants on unsupported gpus 2026-04-15 23:12:46 +03:00
Vladimir Mandic eab583ad4b cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-15 12:32:21 +00:00
Vladimir Mandic 69d370d8da update reference data and enable preview for ernie and nucleus
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-15 12:22:53 +00:00
Vladimir Mandic c86ba31214 add nucleus-image
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-15 11:49:10 +00:00
Vladimir Mandic db8c6e9243 add ernie-image
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-15 11:06:32 +00:00
vladmandic d29c133891 validate reference, lint and update diffusers
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-15 10:10:05 +02:00
vladmandic c2dd402f17 update samplers hijack
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-15 09:44:32 +02:00
Vladimir Mandic f1304b3ba0 Merge pull request #4762 from awsr/hashcache
Update hash cache
2026-04-15 09:42:35 +02:00
Vladimir Mandic a26cdca849 Merge pull request #4767 from vladmandic/feat/zimage-native-adapters
Feat/zimage native adapters
2026-04-15 09:36:57 +02:00
Vladimir Mandic c7521f4da4 Merge pull request #4756 from vladmandic/feat/civitai-base-models
feat(civitai): enrich base-model discovery with github constants
2026-04-15 09:34:04 +02:00
Vladimir Mandic 3739456639 Merge pull request #4766 from awsr/patch-1
Support upcoming Civit AI frontend split
2026-04-15 09:32:50 +02:00
CalamitousFelicitousness ac78d904b3 refactor(civitai): split base-model helpers into basemodels_civitai
Addresses #4756 review: keeps client_civitai focused on the HTTP client
surface. Behavior unchanged.
2026-04-14 23:26:01 +01:00
CalamitousFelicitousness 5d9b8d2e34 feat(civitai): enrich base-model discovery with github constants
CivitAI removed enum validation from /api/v1/models?baseModels=X (now
returns 200 with empty items on unknown values), which left the
base-model filter dropdown empty. Fix in two parts.

1. Point the base_models discovery probe at /images instead of /models.
   /images still returns a ZodError with the full enum list (82 names
   at time of writing). The existing parser handles the shape unchanged.

2. Also fetch civitai/civitai's base-model.constants.ts from GitHub and
   merge per-name metadata (group, ecosystem, engine, family, hidden)
   into a new base_models_info field on the response. The live probe
   remains authoritative for which names exist; GitHub provides the
   metadata and doubles as a fallback name list if the probe comes back
   empty.

Backward compatible: the existing base_models list keeps the same
shape. Clients that want grouped dropdowns, hidden-flag filtering, or
image/video separation can consume base_models_info instead.

The GitHub fetch has a separate 6h cache since these constants change
much less often than the probes it sits alongside.
2026-04-14 23:26:01 +01:00
CalamitousFelicitousness 65e59e7224 feat(lora): z-image native lokr, loha and oft loaders
Add three adapter families to the z-image native loader and chain them
with the existing lora path through load_safetensors. Mixed-family
files (for example gta6_amateur_photography_zimagebase_v2.safetensors,
which carries lora and lokr groups in the same file) now load
completely instead of having one family silently dropped.

Shared helpers in pipelines/z_image/zimage_lora.py parse keys by
suffix list, rename legacy attention.out and attention.wo to
attention.to_out.0, and split fused attention.qkv into to_q/k/v. For
lora the split chunks the up weight along dim 0. For lokr the split
emits three NetworkModuleLokrChunk entries that share the tensors and
slice the kronecker product at apply time.

Fused attention.qkv for loha and oft is skipped with a warning. No
NetworkModuleHadaChunk exists, oft rotations are tied to out_features
and cannot be cleanly split across q/k/v, and no real z-image adapter
in that layout exists today.

load_safetensors for zimage chains try_load_lora, try_load_lokr,
try_load_loha and try_load_oft and merges their module dicts into a
single Network so mixed files load every module.
2026-04-14 21:48:19 +01:00
CalamitousFelicitousness c35adc4d0d feat(lora): native z-image lora loader
Add zimage to allow_native so lora_force_diffusers picks between
native and diffusers. Before this, zimage always took the diffusers
path regardless of the setting.

pipelines/z_image/zimage_lora.py reads the safetensors and writes
directly into network_layer_mapping, so Z-Image LoRAs no longer go
through the diffusers PEFT converter that raised KeyError on
state dicts with partial alpha keys.

Key formats handled: ai-toolkit, kohya lora_unet_, bare transformer.
and no-prefix. Pre-refactor fused attention.qkv is split into
to_q/k/v; attention.out and attention.wo are renamed to
attention.to_out.0. Alpha and dora_scale are preserved.
2026-04-14 21:13:23 +01:00
awsr 03486deca6 Support upcoming site frontend split
API endpoints are supposed to remain the same, so those don't need updating.
2026-04-14 12:46:12 -07:00
resonantsky 512051bafa samplers: fix UniPCMultistepScheduler sigmas device mismatch at step >= 2
upstream UniPCMultistepScheduler.set_timesteps unconditionally moves self.sigmas to CPU after building them. multistep_uni_p_bh_update / multistep_uni_c_bh_update then constructs a torch.ones(..., device=sample.device) tensor and calls torch.stack([..., self.sigmas[...]]) — crashing at inference step >= 2 whenever the model runs on a non-CPU device (CUDA, ROCm, MPS).

Monkey-patch set_timesteps so that, after the upstream call, self.sigmas is moved back to the requested device. Applied once at import time inside the existing sampler-load try/except block so failures are silent-logged and never break the rest of the sampler registry.
2026-04-14 14:35:29 +02:00
awsr c8e3473e93 Minor cleanup 2026-04-14 05:22:07 -07:00
vladmandic 6f471f9050 install vibe on-demand
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-14 13:20:12 +02:00
vladmandic 0a2462154c step1x
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-14 13:03:26 +02:00
vladmandic 020bc7a569 cleanup hijacks
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-14 12:52:51 +02:00
awsr 6aff795985 Improve extensibility 2026-04-14 02:59:19 -07:00
vladmandic f033eaf58a add explicit vae method=none and allow images in history
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-14 11:51:27 +02: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