Commit Graph

12736 Commits (92960de8d6a2778954cfb7d2d6482cd765bf6130)

Author SHA1 Message Date
awsr 92960de8d6
RUF013 updates 2026-03-24 04:27:30 -07:00
awsr 6ab9b7bc62
RUF013 updates 2026-03-24 04:19:53 -07:00
awsr 2d81bcdc69
RUF013 updates + type fixes 2026-03-24 04:12:14 -07:00
awsr abe25e7b07
RUF013 update 2026-03-24 03:46:44 -07:00
awsr d3f925e8e5
RUF013 update 2026-03-24 03:46:26 -07:00
awsr 481d974b91
RUF013 update 2026-03-24 03:40:15 -07:00
awsr b75a1f971f
RUF013 update + minor typing fixes 2026-03-24 03:39:02 -07:00
awsr 53598d40ab
RUF013 update 2026-03-23 22:59:32 -07:00
awsr 3e228afa78
RUF013 update 2026-03-23 22:58:08 -07:00
awsr de86927c1b
Remove unneeded type and default 2026-03-23 22:54:40 -07:00
awsr d474f28cb3
RUF013 update 2026-03-23 22:53:34 -07:00
awsr 8e10ec3fec
RUF013 compatibility 2026-03-20 18:42:44 -07:00
awsr 783f20b5d7
Remove RUF013 from ignored rules 2026-03-20 18:42:00 -07:00
vladmandic 79bf0f8c1d update changelog/todo
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-20 18:06:27 +01:00
vladmandic 93947d3901 update changelog/todo
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-20 10:14:00 +01:00
Vladimir Mandic ab7c780c9f
Merge pull request #4657 from awsr/detailed-token-counts
Add detailed token counts
2026-03-20 10:04:54 +01:00
Vladimir Mandic 8311add607
Merge pull request #4687 from awsr/gallery-sort
Gallery: Decouple sort button icon value from sorting logic
2026-03-20 10:03:16 +01:00
Vladimir Mandic f86b0e69ef
Merge pull request #4691 from awsr/errorlimiter-update
Update Errorlimiter to be thread-safe
2026-03-20 10:02:28 +01:00
vladmandic 295fe6fbd3 handle script errors
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-20 09:30:17 +01:00
vladmandic 7588ec0636 cleanup rembg
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-20 09:10:28 +01:00
vladmandic c10472f37a cleanup rembg
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-20 09:10:19 +01:00
Vladimir Mandic 24c4f2599e
Merge pull request #4695 from vladmandic/fb-merge
merge feature branch to dev
2026-03-20 08:56:57 +01:00
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
awsr ef0573a409
Fix TypeError
`func` is optional for `Array.prototype.sort()`, but `undefined` needs to be used.
2026-03-19 14:57:18 -07: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
awsr d34896028d
Make `elimit` kwarg optional 2026-03-19 04:41:37 -07: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
awsr 6e3c187b3f
Rework to only use contextmanager system 2026-03-19 04:28:11 -07:00
awsr 615c74fd05
Minor organization 2026-03-19 03:53:06 -07:00
awsr 867960f4ef
Minor typing update 2026-03-19 01:50:36 -07:00
awsr 4f40a9c8dd
Fix threading compatibility 2026-03-19 01:49:42 -07: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