Commit Graph

129 Commits

Author SHA1 Message Date
CalamitousFelicitousness fa7243b239 fix(processing): round init images to a pipeline-declared multiple
The init-image snap rounds to the VAE factor, but the LLaDA pipeline needs
16 for its transformer patch and 32 when editing, since the source image is
halved for the semantic encoder. The pipeline now declares patch_size for
the shared rounding and init_image_multiple for input images, and
get_vae_scale_factor honours the latter when an init image is present.
check_inputs reads the same attributes.
2026-09-08 02:32:47 +01:00
Vladimir Mandic 34d9d304db modular guiders and other stuff
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-30 11:51:19 +02:00
CalamitousFelicitousness 55c3eb1325 refactor(lora): remove the lora_apply_te setting
Text encoder networks now apply unconditionally in the native path.

- remove the option, the per-request parameter and the control threading
- collapse activate_filtered into plain activate at all call sites
- drop the toggle from the prompt embed cache key
- register the retired key so existing configs load without warnings
2026-08-28 13:09:26 +01:00
QualiaRain 8a8d99019a fix: dead hasattr-on-dict path, double video-vae normalization, undefined self.device, hyimage if/elif, attention-mask attr typo, wrong face logged
Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-12 13:00:57 -04:00
Vladimir Mandic 01a68baa47 update masking
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-19 11:56:20 +02:00
Vladimir Mandic a56d1d299e add wildcards to image metadata and note separate template from prompt field
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-19 09:45:20 +02:00
awsr 39db2cf706 processing_class typing and defaultdict
Use defaultdict for network_data to match usage elsewhere
2026-05-17 10:22:34 -07:00
Vladimir Mandic f67562b912 - all guidance values set to -1 to enable using model defaults
- log default values used if not overriden by user
- rename inconsistent guidance variables:

p.cfg_scale
p.image_cfg_scale -> p.cfg_image
p.diffusers_guidance_rescale -> p.cfg_rescale
p.pag_scale -> p.cfg_true
p.pag_adaptive -> p.cfg_adaptive

Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-16 11:06:23 +02:00
Vladimir Mandic 4747ca2fc0 lora change detection improvements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-09 09:38:54 +02:00
Vladimir Mandic 2a14d73fab add skip processing option
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-30 10:06:55 +02:00
CalamitousFelicitousness e42f1fd8fb feat(video): video_interpolate as execution-time stage
Promote RIFE interpolation from a save-time kwarg to a real stage of the
processing pipeline so per-frame work (detailer, color correction,
postprocess scripts) operates on source-rate frames and the inflated
stream becomes the saved output.

- new modules/processing_video.py with apply_video_interpolation,
  interpolation_factor, expand_infotexts; PIL/tensor/numpy dispatch
- video_interpolate, video_interpolate_scale, video_interpolated fields
  on StableDiffusionProcessingVideo
- process_images_inner runs the helper after the batch loop and inflates
  infotexts in lockstep
- save_video in modules/video.py and modules/video_models/video_save.py
  short-circuit re-interpolation when p.video_interpolated is set; the
  user-facing kwarg still flows into metadata
2026-04-26 03:08:07 +01:00
vladmandic 9d0ecde462 add sdxs
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-02 20:15:30 +02:00
awsr 4f0fb7cc29 More RUF013 updates for processing_class 2026-03-24 05:00:41 -07:00
awsr fb853af4b0 RUF013 updates 2026-03-24 04:58:19 -07:00
vladmandic 729eca460e initialize grading params
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-14 12:52:37 +01:00
vladmandic f484f80293 merge: modules/processing_class.py 2026-03-13 10:56:19 +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 da1cf2f996 refactor image methods
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 12:29:00 +01:00
CalamitousFelicitousness d01f45519f refactor: remove face restoration from processing pipeline
- Remove CodeFormer/GFPGAN import and setup from webui.py initialize()
- Remove face_restorers list, codeformer/gfpgan model path settings,
  and face restore UI settings section from shared.py
- Remove restore_faces parameter from StableDiffusionProcessing
- Remove face_restoration import and restore_faces processing block
  from processing.py
2026-02-08 22:59:00 +00:00
awsr 2f8976e28d Type standardization in processing_class 2026-01-21 16:35:19 -08:00
vladmandic ae357a5e49 fix handling of p.seeds
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-19 11:35:21 +01:00
CalamitousFelicitousness 761ea1c327 feat(settings): add base path support for output folders
Change "Images folder" and "Grids folder" settings to act as base paths
that combine with specific folder settings, rather than replacing them.

- Add resolve_output_path() helper function to modules/paths.py
- Update all output path usages to use combined base + specific paths
- Update gallery API to return resolved paths with display labels
- Update gallery UI to show short labels with full path on hover

Example: If base is "C:\Database\" and specific is "outputs/text",
the resolved path becomes "C:\Database\outputs\text"

Edge cases handled:
- Empty base path: uses specific path directly (backward compatible)
- Absolute specific path: ignores base path
- Empty specific path: uses base path only
2026-01-16 16:24:05 +00:00
vladmandic 1a39b82fea switch processing class not restoring params
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-07 11:35:13 +01:00
Vladimir Mandic ccb1ded7d0 integrate kanvas with server-side masking
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-15 11:56:56 -05:00
Vladimir Mandic d5fbcc580e fix inpaint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-31 13:39:55 -04:00
Vladimir Mandic 24850cc083 guard against images list and avoid pipeline switches
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-28 14:38:35 -04:00
Vladimir Mandic 0faf61f48a video tab add params.txt
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-22 08:39:45 -04:00
Vladimir Mandic c530167cbe qwen multi-image edits
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-04 18:06:50 -04:00
Vladimir Mandic eb025eaf31 remove split-attention and add attention slicing option
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-28 18:01:34 -04:00
Vladimir Mandic 6f409deedf ui separate guidance and detail sections
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-24 12:33:57 -04:00
Vladimir Mandic 4093b6c040 allow custom detailer resolution
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-10 16:32:50 -04:00
Vladimir Mandic ff9a7e5444 fix reprocess workflow for control with hires
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-06 11:28:44 -04:00
Vladimir Mandic e8002df534 generate api endpoints allow set model
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-13 13:49:23 -04:00
Vladimir Mandic 338129b7c1 calculate vae-scale-factor and use everywhere
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-09 11:31:13 -04:00
Vladimir Mandic a852d1cea9 add detailer expert mode
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-21 10:39:19 -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 878fda65ab refactor control processing
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-16 11:04:48 -04:00
Vladimir Mandic cd84cfec11 xyzgrid with control tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-15 14:35:27 -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 79d0fb81af fix inpainting
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-14 09:11:17 -04:00
Vladimir Mandic c7ef692563 replace boundry with boundary
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-10 14:26:16 -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
Vladimir Mandic c4d9338d2e major refactoring of modules
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-03 09:18:38 -04:00
Vladimir Mandic 198382c027 cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-06-29 12:58:54 -04:00
Vladimir Mandic 7fbac675fe api update default sampler
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-06-28 09:36:33 -04:00
Enes Sadık Özbek 954138bfc1 add attention masks 2025-06-23 01:27:40 +00:00
Vladimir Mandic 263b841129 logging cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-05 12:58:00 -04:00
Vladimir Mandic d1c3b97c65 add prompt enhance
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-03-28 14:05:28 -04:00