Commit Graph

358 Commits

Author SHA1 Message Date
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 ce726bf084 pil patches
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-16 08:32:45 +02:00
Vladimir Mandic 6c2a56ff71 more pylint fixes
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-11 08:57:16 +02:00
Vladimir Mandic feeafc6286 strict ruff without exclude
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-11 08:36:49 +02:00
Vladimir Mandic c8d6fd5cf8 Revert "much stricter ruff linting"
This reverts commit 310dbf1574.
2026-05-11 08:13:57 +02:00
Vladimir Mandic 310dbf1574 much stricter ruff linting
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-11 07:15:37 +02:00
Vladimir Mandic 7ee740e744 add hidream-o1
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-10 21:45:58 +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
Vladimir Mandic 66a270dc16 cleanup
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-30 09:32:10 +02:00
Vladimir Mandic eaf06fbc74 all direct input images
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-30 09:30:11 +02:00
Vladimir Mandic 68f1c73e1f remove process preview
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-29 07:59:43 +02:00
CalamitousFelicitousness ba4436916d fix(control): prevent duplicate save_video and unmask video module shadow
When a video script (animatediff, text2video, image2video, stablevideodiffusion)
runs via Control tab, both the script's save and control_run's end-of-run save
fired. The latter crashed silently because the local `video` cv2 capture name at
control_run:584 shadowed the modules.video import, so the duplicate was hidden
and the gallery video link never propagated.

- alias import as video_module to bypass the shadow
- p.video_saved marker set by each script
- control_run skips its end-of-run save when the marker is set
2026-04-27 01:32:30 +01:00
CalamitousFelicitousness 7d77b01c3d feat(video): wire scripts and control to video_interpolate field
Set p.video_interpolate at run() entry so process_images_inner picks up
the helper. Save calls keep their existing kwargs; the sentinel guard
skips re-interpolation when the helper already ran.

- animatediff, text2video, image2video, stablevideodiffusion route
  mp4_interpolate into p.video_interpolate
- modules/control/run.py routes the request video_interpolate arg
- xyz_grid intentionally untouched: its end-of-axis save_video stitches
  the cell slideshow, not per-cell videos; a future video_interpolate
  axis would set p.video_interpolate per cell via axis_options
2026-04-26 03:09:27 +01:00
vladmandic 93f948af13 control add error handling
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:09 +02:00
awsr c003b0eb48 PIL Image.Image type fix 2026-04-06 01:06:19 -07:00
awsr 2675e68813 Revert minor change
Will re-implement in a separate PR
2026-03-25 13:55:56 -07:00
awsr 375591ecdd Revert non-critical changes
The following errors are re-introduced and will need follow-up:
- models.py, line 92
- sd_unet.py, line 41
- sd_models.py, line 1440
2026-03-25 13:47:27 -07:00
awsr ff247d8fd2 Merge branch 'dev' into RUF013 2026-03-24 07:12:51 -07:00
vladmandic 53839e464c remove legacy quant loaders
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-24 15:01:07 +01:00
awsr b75a1f971f RUF013 update + minor typing fixes 2026-03-24 03:39:02 -07:00
vladmandic 936216e20d merge: modules/control/run.py 2026-03-16 08:10:48 +01:00
vladmandic ee6cadfa9c cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-13 11:42:16 +01:00
vladmandic 0838b938e1 merge: modules/control/run.py 2026-03-13 11:01:01 +01:00
vladmandic a3668e9f0c merge: modules/control/unit.py 2026-03-12 14:16:51 +01:00
vladmandic 72895b5192 merge: modules/control/processors.py 2026-03-12 14:16:51 +01:00
vladmandic 0e0b607cfa merge: modules/control/processor.py 2026-03-12 14:16:51 +01:00
vladmandic 49e2c6f53a merge: modules/control/proc/vitpose/__init__.py 2026-03-12 14:16:51 +01:00
vladmandic 6436b833f5 merge: modules/control/proc/teed/__init__.py 2026-03-12 14:16:51 +01:00
vladmandic d5a22d3951 merge: modules/control/proc/stablenormal/__init__.py 2026-03-12 14:16:50 +01:00
vladmandic 954d079472 merge: modules/control/proc/sam2/__init__.py 2026-03-12 14:16:50 +01:00
vladmandic 643256f21d merge: modules/control/proc/rtmlib_pose/__init__.py 2026-03-12 14:16:50 +01:00
vladmandic 5b85a6d10b merge: modules/control/proc/oneformer/__init__.py 2026-03-12 14:16:50 +01:00
vladmandic 0bdbf300ac merge: modules/control/proc/marigold_normals/__init__.py 2026-03-12 14:16:50 +01:00
vladmandic de5b9f27f2 merge: modules/control/proc/lotus/__init__.py 2026-03-12 14:16:50 +01:00
vladmandic 3bea120c08 merge: modules/control/proc/dsine/__init__.py 2026-03-12 14:16:50 +01:00
vladmandic a42d2d41e1 merge: modules/control/proc/depth_anything_v2/__init__.py 2026-03-12 14:16:50 +01:00
vladmandic 1890515a08 merge: modules/control/proc/anyline/__init__.py 2026-03-12 14:16:50 +01:00
vladmandic ff4b5c33dc reduce use of python generators with ui
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-01 18:17:42 +01:00
Vladimir Mandic 8ea9d428d5 remove dwpose
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-22 09:21:24 +01:00
Vladimir Mandic 47543663f9 cleanup references to p.sd_model
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-19 20:48:42 +01:00
Vladimir Mandic f34df6faac fix class overrides 2026-02-19 17:33:01 +01:00
Vladimir Mandic 494e4a7a7b fixes 2026-02-19 16:20:17 +01:00
Vladimir Mandic f78f0eb4a5 refactor imports 2026-02-19 15:28:24 +01:00
Vladimir Mandic 216558185b update installer usage 2026-02-19 12:21:46 +01:00
Vladimir Mandic e5c494f999 cleanup logger 2026-02-19 11:09:13 +01:00
Vladimir Mandic 2d28e7438c remove normalbae and add state caching 2026-02-19 10:11:25 +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
Vladimir Mandic 7aded79e8a remove imp 2026-02-19 08:35:06 +01:00
Vladimir Mandic e9eadd06db remove dependency on pkg_resources and refactor cmd_args 2026-02-19 08:30:40 +01:00