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
vladmandic
39ce3d7ea3
separate color corrections
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-03-18 07:53:04 +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
awsr
bbdaaae682
Decouple sort button icon from sorting logic
2026-03-15 21:59:51 -07: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
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
vladmandic
7a014f0612
merge: modules/prompt_parser_diffusers.py
2026-03-13 14:32:05 +01:00
vladmandic
cb76c164e7
merge: modules/processing_prompt.py
2026-03-13 14:31:26 +01:00
vladmandic
4effd92663
merge: modules/processing_info.py
2026-03-13 14:30:53 +01:00
vladmandic
928448b654
merge: modules/processing_helpers.py
2026-03-13 14:27:59 +01:00
vladmandic
3addc16a5a
merge: modules/processing_callbacks.py
2026-03-13 13:29:46 +01:00
vladmandic
7af0d6ea07
merge: modules/processing.py
2026-03-13 13:25:21 +01:00
vladmandic
cbefbcf772
merge: modules/models_hf.py
2026-03-13 13:22:32 +01:00
vladmandic
a72e3c4f29
merge: modules/video_models/video_run.py
2026-03-13 13:21:14 +01:00
vladmandic
f4ec0bab4a
merge: modules/image/metadata.py
2026-03-13 13:17:58 +01:00
vladmandic
f9abe07035
cleanup logging and update requirements
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-03-13 13:02:41 +01:00
vladmandic
e8ba35e7e9
merge: modules/token_merge.py
2026-03-13 13:00:55 +01:00
vladmandic
d4e87c6ff3
cleanup offload
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-03-13 12:38:57 +01:00