Commit Graph

13017 Commits

Author SHA1 Message Date
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
Vladimir Mandic 4da4fb94ae Merge pull request #4763 from resonantsky/dev
sd_samplers_diffuse.py patch in response to issue #4761
2026-04-15 09:13:16 +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
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
vladmandic 101bd64b8c update todo/changelog
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-14 14:05:32 +02:00
vladmandic 58649a7935 trivial prompt-to-json
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-14 13:59:56 +02:00
vladmandic 0a15030067 error checks for fibo
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-14 13:45:33 +02:00
vladmandic afd246d062 fix vibe installer
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-14 13:24:09 +02: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
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
CalamitousFelicitousness d04915a83f fix(grading): skip None kwargs so dataclass defaults apply 2026-04-14 00:10:43 +01: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 defe85df6d update todo
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-13 15:40:25 +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 522352bac2 Merge pull request #4753 from resonantsky/dev
FP16 Clamp fix for Z-Image-Turbo, enable FP16 on ZiT.
2026-04-13 12:06:55 +02:00
Vladimir Mandic 58354cff07 Merge pull request #4754 from liutyi/dev
BRIA FIBO cover images
2026-04-13 12:02:38 +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
resonantsky 0c9e865641 Restructure FP16 clamp patch into pipelines/z_image/patch_fp16.py subpackage 2026-04-13 11:18:56 +02:00
Oleksandr Liutyi fd70a17e08 BRIA FIBO cover images 2026-04-13 08:58:32 +00:00
resonantsky 407c54dc47 FP16 Clamp fix for Z-Image-Turbo, enable FP16 on ZiT. 2026-04-13 10:37:13 +02:00
vladmandic 1c79467f1e update changelog and todo
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-13 09:28:42 +02:00
Vladimir Mandic e3e0435d89 Merge pull request #4752 from vladmandic/feat/gallery-ux
Feat/gallery ux
2026-04-13 09:27:27 +02:00
CalamitousFelicitousness 5c08821bc0 fix(ui): navigate to Control on right-click prompt/params transfer 2026-04-12 22:39:05 +01: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 1e38ff4623 update packages
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:09 +02:00
vladmandic 93f948af13 control add error handling
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:09 +02:00
vladmandic f06eb21d52 add hf-info
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 b103c2c1ff add gemma-4 heretic variant
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 9b54bc5c85 update skills
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 e5e5105452 update todo and instructions
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