27 Commits

Author SHA1 Message Date
CalamitousFelicitousness 3dd0cd590c fix(pipelines): restore clip-skip text encoding for transformers 5.6+
The vendored encode_prompt copies in the PAG, APG, ControlNet-XS and differential
diffusion pipelines dereference the .text_model wrapper that transformers 5.6
removed from CLIPTextModel, so their clip-skip path crashes on SD1.5 and SDXL TE1.
Apply the same getattr(te, 'text_model', te) fix as the core parser.

Mirrors upstream diffusers, which still carries this deref in pipeline
encode_prompt; only the single-file loader was fixed there.
2026-06-25 02:25:33 +01: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 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 e5c494f999 cleanup logger 2026-02-19 11:09:13 +01:00
Vladimir Mandic a3074baf8b unified logger 2026-02-19 09:46:42 +01:00
awsr 747ec86eb9 Fix if cls is None 2026-01-21 18:16:47 -08:00
vladmandic f9aa2591e5 fix gallery save/delete
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 09:53:20 +01:00
vladmandic cc0b0e8e3d cleanup todo
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-19 11:10:05 +01:00
Vladimir Mandic 9c4780a5e7 fix guidance metadata
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-09 09:25:49 -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 dc9a64d00b memmon detect gpu swapping
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-07 08:59:54 -04:00
Vladimir Mandic b15cf4adae fix pag with batch count
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-22 17:38:53 -05:00
Vladimir Mandic ea6d3107ab update all todo statements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-22 08:39:31 -05:00
Vladimir Mandic bf67ffd34a flux true-scale and flux ipadapters
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-21 16:01:35 -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 c376566fb6 fix compatibility with latest diffusers 2024-07-01 11:51:46 -04:00
Vladimir Mandic 168e10437f update changelog 2024-06-23 10:58:55 -04:00
Vladimir Mandic 5f249f3aef do not apply pag for img2img 2024-06-23 10:53:43 -04:00
Vladimir Mandic ea61900a4c fix bfloat and pag 2024-06-20 18:03:15 -04:00
Vladimir Mandic 008b6effb5 remove pag extra config 2024-06-20 15:47:01 -04:00
Vladimir Mandic 1a6d313340 cleanup 2024-06-20 13:46:31 -04:00
Vladimir Mandic fc665a2bc9 fix has been incorrectly initialized 2024-06-17 14:49:15 -04:00
Vladimir Mandic db9718eee6 add torch full deterministic mode 2024-06-07 09:26:51 -04:00
Vladimir Mandic 5574833f0d refactor backend detection 2024-06-06 20:41:10 -04:00
Vladimir Mandic 35665cd719 new from_single_file compatibiltiy 2024-05-09 16:27:21 -04:00
Vladimir Mandic b137f67edc lint changes 2024-05-07 09:56:32 -04:00
Vladimir Mandic c42fded960 add pag for sd15 and sdxl 2024-05-06 19:57:40 -04:00