Commit Graph

8874 Commits

Author SHA1 Message Date
awsr 6ab9b7bc62 RUF013 updates 2026-03-24 04:19:53 -07:00
Disty0 4f8260e670 Update IPEX to Torch 2.11 2026-03-24 14:17:24 +03: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
Disty0 a5977f09f5 Fix JPEG XL 2026-03-24 13:36:52 +03: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
vladmandic bc22e0f0dc monkey patch transformers version checks
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-23 18:30:28 +01:00
vladmandic dbd2293586 remove hf token from load args
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-23 17:53:47 +01:00
vladmandic 09b9ae32c1 add color grading to processing
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-23 08:44:07 +01:00
vladmandic 57990fd8c0 add FireRed-Image-Edit-1.1
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-23 06:41:46 +01:00
CalamitousFelicitousness 091f31d4bf add Flux2/Klein LoRA support
- detect f2 model type for LoRAs via metadata, architecture, and filename/folder
- preprocess bare BFL-format keys with diffusion_model prefix for Flux2LoraLoaderMixin
- handle LoKR format via native NetworkModuleLokr with on-the-fly kron(w1, w2)
- add NetworkModuleLokrChunk for fused QKV split into separate Q/K/V modules
- activate native modules loaded via diffusers path
- improve error message for Flux1/Flux2 architecture mismatch
2026-03-23 02:14:07 +00:00
CalamitousFelicitousness 0d248c45e7 fix(upscaler): convert non-RGB images before ESRGAN forward pass 2026-03-23 02:12:59 +00:00
vladmandic e87fcd1bc5 latent correction hints
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-22 11:27:36 +01:00
vladmandic b2b4e13bab lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-22 11:17:41 +01:00
vladmandic afe3786f5f add unet/dir to networks
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-22 11:09:45 +01:00
CalamitousFelicitousness 9a5e908ddf fix(ui): initialize max_length before tokenizer block 2026-03-21 23:27:46 +00:00
vladmandic a54e9b3311 update readme and some debug functions
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-21 09:08:53 +01:00
CalamitousFelicitousness 5e4819c3e9 run enso extension installer after clone and update
After deletion and re-clone, enso.install() runs after
install_extensions() has already passed, so install.py
was never triggered and the frontend was not built.
2026-03-20 21:43:44 +00: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
vladmandic f83e9e7943 deregister rembg submodule
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-20 08:14:01 +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
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
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