Commit Graph

12698 Commits (f83e9e79436c9ba33ce6820981162767e2aff46c)

Author SHA1 Message Date
vladmandic f83e9e7943 deregister rembg submodule
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-20 08:14:01 +01:00
vladmandic 4b998e3866 deregister rembg submodule
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-20 08:13:28 +01:00
vladmandic 760b0121bc update register_api
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-20 08:07:05 +01:00
vladmandic d679fbb8fb move rembg to internal
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-20 08:04:21 +01:00
Vladimir Mandic 6a282d904b
Merge pull request #4694 from vladmandic/feat/civitai-browser-overhaul
Feat/civitai browser overhaul
2026-03-20 07:39:06 +01:00
CalamitousFelicitousness 813b61eda8 test: add api tests for generation params and detailer endpoints
Generation tests cover scheduler params, color grading, and latent
corrections. Detailer tests cover model enumeration and object
detection. Both require a running SD.Next instance.
2026-03-20 04:33:51 +00:00
CalamitousFelicitousness 0ec1e9bca2 test: add offline unit tests for color grading and latent corrections
Covers pixel-space color grading and latent-space corrections with
synthetic inputs, no running server required.
2026-03-20 04:33:51 +00:00
CalamitousFelicitousness 9cf2ab08a0 feat(civitai): add url parsing to cli search tool
Extract model ID from civitai.com URLs pasted as the query argument,
matching the same behavior added to the main search module.
2026-03-20 04:33:51 +00:00
CalamitousFelicitousness e7f2b63814 style(ui): add disabled-look class for civitai mutual exclusivity 2026-03-20 04:33:51 +00:00
CalamitousFelicitousness 0be7678ea4 feat(ui): extend civitai download bridge with model/version ids and mutual exclusivity
Add selectedModelId and selectedVersionId to the download bridge so
metadata JSON and preview images are fetched alongside model files.
Pass model_id and version_id from card detail view through
startCivitDownload and downloadCivitModel. Add keyword/tag mutual
exclusivity via disabled-look CSS class toggle.
2026-03-20 04:33:39 +00:00
CalamitousFelicitousness c220e2858c feat(ui): overhaul civitai browser with browse/discover capabilities
Add Sort and Time period dropdowns, change Type from textbox to
dropdown. Rename Advanced accordion to Options. Layout: Model type +
Base model in one row, Sort + Time period in another. Add subfolder
toggle with template auto-fill. Wire tab-enter auto-browse with lazy
API discovery for dynamic dropdown refresh. Set Sort and Time period
values to match the initial auto-browse query. Fix duplicate elem_id
bug on tag field. Pass model_id, version_id, and base_model through
download handler to enable sidecar metadata and preview fetching.
2026-03-20 04:33:31 +00:00
CalamitousFelicitousness 202862fb64 feat(civitai): wire subfolder resolution and sidecar metadata into download
Add base_model, model_id, version_id params to download_civit_model.
Call resolve_save_path when subfolder sorting is enabled. Pass model_id
and version_id to DownloadManager.enqueue so _fetch_sidecar downloads
metadata JSON and preview images alongside the model file. Extract
version_id from the download URL as fallback when not provided.
2026-03-20 04:33:20 +00:00
CalamitousFelicitousness 91d21eefb6 feat(civitai): allow tag-only and sort-only browsing
Relax the empty-query guard so search works with tag, sort, or period
alone. Skip exact-match name filtering when no keyword is provided so
browse results return the full API response.
2026-03-20 04:33:12 +00:00
vladmandic 87659823fc gpu info for xpu and log exclude list
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-19 15:01:49 +01:00
Vladimir Mandic 97a16e5eb9
Merge pull request #4690 from vladmandic/fix/color-grading-and-latent-corrections
Fix/color grading and latent corrections
2026-03-19 12:36:02 +01:00
vladmandic 5a5e3cc381 use rate-limit for api logging
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-19 08:52:10 +01:00
CalamitousFelicitousness e4cb96f6a4 fix(ui): widen latent correction slider ranges
brightness and sharpen: ±1.0 → ±4.0
color: 0-4.0 → 0-16.0
tint strength: ±1.0 → ±4.0
2026-03-19 04:03:20 +00:00
CalamitousFelicitousness 423c3ef8b7 fix(correction): step-based progress and multi-channel latent support
replace hardcoded timestep thresholds with step-based progress percentages
so corrections work with flow-match schedulers (Flux 2, etc.)
adapt brightness, color and tint corrections for multi-channel latents:
- brightness uses multiplicative scaling instead of additive offset
- color applies to all channels instead of skipping channel 0
- tint falls back to uniform offset when TAESD encoding is unavailable
pass step parameter through correction_callback for progress calculation
2026-03-19 04:03:13 +00:00
CalamitousFelicitousness ee2fc75619 fix(grading): color grading type coercion, CLAHE, sharpness and tone scaling
- add __post_init__ to GradingParams to coerce Gradio int returns to float
- apply CLAHE to L channel in Lab space instead of per-RGB channel
- fix sharpness scaling (kornia factor 1.0=no change, map 0-based slider)
- increase shadows/midtones/highlights gamma strength 2x for visible effect
- reduce CLAHE clip slider range to 0-5 with finer 0.25 step
2026-03-19 04:00:12 +00:00
CalamitousFelicitousness cb943919eb fix(devices): triton version detection always reporting false
triton_version was initialized to False instead of None, causing
the `is None` checks to be skipped and torch_info to report triton=false
even when triton is functional
2026-03-18 20:14:02 +00:00
vladmandic fb2f9ea650 new server info panel
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-18 15:37:57 +01:00
vladmandic c187aa706a cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-18 09:25:09 +01:00
vladmandic 59a07a33cd fix postprocess upscaler refresh
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-18 08:33:42 +01:00
vladmandic 39ce3d7ea3 separate color corrections
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-18 07:53:04 +01:00
vladmandic 84edba5d94 fix: dont switch modernui on unknown branch
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-17 14:02:52 +01:00
vladmandic 4e1c1a6844 add secrets manager
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-17 13:56:55 +01:00
vladmandic d588ced2ef fix rate limiter
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-17 11:52:53 +01:00
vladmandic ea1abfe2ce merge: modules/civitai 2026-03-17 11:07:51 +01:00
vladmandic 4c256976df cleanup enso
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-17 11:04:29 +01:00
vladmandic 1acc327192 merge: modules/sd_samplers_diffusers.py 2026-03-17 10:57:29 +01:00
vladmandic 03e686c988 merge: modules/enso.py 2026-03-17 10:53:44 +01:00
vladmandic 6427b799e9 merge: modules/postprocess/yolo.py 2026-03-17 10:50:09 +01:00
vladmandic 742eeb8691 new server settings section
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-17 10:07:48 +01:00
vladmandic de7959397c fb merge phase 3
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-16 10:32:12 +01:00
vladmandic 6a9b9297c1 cleanup yolo
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-16 08:30:23 +01:00
vladmandic ee9e93e62f merge: modules/caption/vqa.py 2026-03-16 08:12:58 +01:00
vladmandic 3ac68a2401 merge: modules/caption/models_def.py 2026-03-16 08:12:40 +01:00
vladmandic 936216e20d merge: modules/control/run.py 2026-03-16 08:10:48 +01:00
vladmandic 12fd4d30f1 fb merge phase 2
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-16 08:09:07 +01:00
vladmandic 7a409a9e83 patch installer
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-16 06:30:24 +01:00
vladmandic 9013ba7bf1 cleanup yolo
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-14 13:01:51 +01:00
vladmandic 2fb9e2115e merge: modules/postprocess/yolo.py 2026-03-14 12:56:06 +01:00
vladmandic 729eca460e initialize grading params
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-14 12:52:37 +01:00
vladmandic c86674047a fix state end
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-14 12:46:43 +01:00
vladmandic d432945a29 update lint rules
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-13 15:35:13 +01:00
vladmandic 9eced4ff86 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-13 15:05:47 +01:00
vladmandic edfbae0783 merge: modules/sd_models.py 2026-03-13 14:45:21 +01:00
vladmandic e0faa149dd cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-13 14:44:58 +01:00
vladmandic 35803746df merge: modules/sd_hijack_hypertile.py 2026-03-13 14:36:25 +01:00
vladmandic cb224651a0 merge: modules/sd_hijack_freeu.py 2026-03-13 14:34:47 +01:00