Commit Graph

208 Commits

Author SHA1 Message Date
CalamitousFelicitousness e804d6df21 feat(samplers): group sampler dropdown into labeled sections
Reorder samplers_data_diffusers into recognizable solver-family groups (Euler, DPM/DPM++, UniPC/DEIS, Heun/KDPM2, ER-SDE, Classic, Distilled, Misc), each ending with its FlowMatch variants, and Res4Lyf as a fenced experimental section, so the dropdown is scannable.

Dividers are SamplerData sentinels with U+2500 names: create_sampler keeps the current scheduler when one is selected, get_sampler_name falls back to Default, set_samplers and validate_sampler_name exclude them, and a visible_samplers() helper drops them from the xyz axes, detailer, and folder pickers. The main and refine dropdowns render them as section labels. No sampler is removed or renamed, so saved infotexts, styles, and API calls keep resolving.
2026-06-14 01:41:05 +01:00
CalamitousFelicitousness 47aa9a2c93 fix(samplers): report validation failures without backtrace
Sampler capability gates raised plain ValueError when schedulers_fallback is
disabled, so the API middleware and the gradio call wrapper printed a full
backtrace for an expected outcome. Add errors.ValidationError, raise it from
the gates, and report it message-only in errors.display; the UI error box and
the API error response already carry the message.
2026-06-10 03:08:20 +01:00
CalamitousFelicitousness e783981f3d fix(samplers): honor fallback setting in remaining sampler fallback paths
create_sampler restored the model default scheduler on a prediction-type
mismatch, on an unknown sampler config, and on any scheduler-constructor
exception regardless of schedulers_fallback; only SD_SAMPLER_DEBUG could turn
the prediction mismatch into an error. Raise like the other capability gates
when the fallback setting is disabled.

An unresolved sampler name substituted UniPC before any of those gates could
run; pass the requested name through instead, so it falls back to the model
default (or raises when fallback is disabled) and the infotext records
Default rather than the unresolved name. find_sampler now also resolves an
unspecified sampler to Default instead of UniPC, matching the platform
default used everywhere else.
2026-06-10 03:08:20 +01:00
Vladimir Mandic 84228f1657 update sampler behavior and user definable fallback
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-08 17:00:00 +02:00
vladmandic f6ed1a92a4 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-13 11:49:41 +01:00
vladmandic f91fd63a60 merge: modules/sd_samplers.py 2026-03-13 11:43:30 +01:00
Vladimir Mandic e5c494f999 cleanup logger 2026-02-19 11:09:13 +01:00
Vladimir Mandic a3074baf8b unified logger 2026-02-19 09:46:42 +01:00
Vladimir Mandic bfe014f5da modernize typing 2026-02-19 09:15:37 +01:00
vladmandic d9a2a21c8c add sampler api endpoints
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-04 13:08:31 +01:00
Vladimir Mandic 4b95d72d45 video tab layout
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-18 14:07:52 -04:00
Vladimir Mandic 9389aa710a video implement sampler shift
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-17 14:43:41 -04:00
Vladimir Mandic aec30cc063 add --new flag
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-04 16:07:03 -04:00
Vladimir Mandic 76a6a34b1a sdxl allow flow samplers
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-04 14:56:10 -04:00
Vladimir Mandic 1dc22650c2 remove samplers filtering
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-30 08:48:37 -04:00
Vladimir Mandic 4d95cf47ce restore default sampler on mismatch
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-13 14:49:11 -04:00
Vladimir Mandic 461bed5720 experimental sampler monkeypatch
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-02 07:06:34 -04:00
Vladimir Mandic 0602bedd13 fix modules merge
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-22 10:46:35 -04:00
Vladimir Mandic 17b8fcd902 lint fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-16 12:59:40 -04:00
Vladimir Mandic a77975165c fix xyz with control enabled
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-15 09:11:54 -04:00
Vladimir Mandic 251c919c51 auto-handle sampler flow detection
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-14 22:07:39 -04:00
Vladimir Mandic 286924c00a update
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-10 17:48:21 -04:00
Vladimir Mandic 25c56c2bde fixed omnigen flowmatch scheduler
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-10 17:44:30 -04:00
Vladimir Mandic e8b5ea3847 major refactor: remove backend original
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-05 13:16:46 -04:00
Enes Sadık Özbek 21bdde12d3 Merge branch 'dev' into feature/chroma-support 2025-06-26 01:56:34 +03:00
Vladimir Mandic a5d784f073 fix delete file from main gallery view
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-06-25 10:30:59 -04:00
Enes Sadık Özbek 4b3ce06916 Initial support for Chroma 2025-06-18 00:38:17 +00:00
Vladimir Mandic 3533258980 hidream whitelist samplers
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-11 22:32:57 -04:00
Vladimir Mandic d4c8de99f5 cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-23 14:26:57 -04:00
Vladimir Mandic dbfd59434f add gemma3
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-15 15:30:57 -04:00
Vladimir Mandic 311d402b0c model component merge
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-19 14:36:09 -05:00
Vladimir Mandic 73de099711 fix lora on model change
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-31 10:41:58 -05:00
Vladimir Mandic 8397e5ef2d samplers autodetect if sigma is required and available
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-30 12:21:47 -05:00
Vladimir Mandic 910f5d0a73 lora direct on-demand apply/unapply
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-29 12:38:19 -05:00
Vladimir Mandic 3359792762 - HunyuanVideo optimizations: full offload, quantization and tiling support
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-26 10:06:30 -05:00
Disty0 422b2bbebd Move simga calcs to do_set_current_image 2024-12-25 20:06:20 +03:00
Vladimir Mandic c3f02f11e4 fix xyz with lora none
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-21 10:56:24 -05:00
Vladimir Mandic ab07788ab5 add sana
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-16 11:30:15 -05:00
Vladimir Mandic 49e6c1564c add style aligned
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-26 13:13:04 -05:00
Vladimir Mandic aa52feb757 dpm flowmatch
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-17 12:43:46 -05:00
Vladimir Mandic 0756e410c9 add k-diffusion samplers to diffusers
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-27 13:10:06 -04:00
Vladimir Mandic da16080a9d fix sd3 img2img and hires
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-23 15:35:49 -04:00
Vladimir Mandic b37c6115ff fix sd3 loader
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-22 12:49:07 -04:00
Vladimir Mandic be7449cf02 fix loading of some non-primary models
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-15 12:52:42 -04:00
Vladimir Mandic 04a5071249 face-hires -> detailer refactor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-06 11:23:33 -04:00
Vladimir Mandic 176c5c5773 sampler options rewrite
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-03 09:38:38 -04:00
Vladimir Mandic c6e4aee7a4 fix vdm
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-09-28 09:02:51 -04:00
Vladimir Mandic 6919ca310a lint updates 2024-09-21 15:44:53 -04:00
Vladimir Mandic 8457d45e26 fix alphavllm-lumina 2024-09-21 11:56:11 -04:00
Vladimir Mandic 51e8567eec flux hires and refiner workflows 2024-09-08 10:48:22 -04:00