CalamitousFelicitousness
aeef359bd7
fix(prompt): restore textual inversion on clip-skip>=2
...
transformers 5.6 flattened CLIPTextModel, removing the .text_model wrapper that
compel_hijack and the xhinker parser dereference on the normalized clip-skip path.
On SD1.5 at clip-skip >= 2 this raised AttributeError, which processing_prompt
caught and silently fell back to fixed-attention encoding, dropping textual
inversion and prompt weighting.
Resolve the submodule via getattr(te, 'text_model', te), correct for flattened
CLIPTextModel, CLIPTextModelWithProjection (still nested), and transformers < 5.6.
2026-06-25 02:25:33 +01:00
Vladimir Mandic
5e99dee3c2
full codespell coverage
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2026-06-04 12:36:10 +02:00
awsr
62d2229520
RUIF013 updates and formatting
2026-03-24 05:12:18 -07:00
vladmandic
a4671045b6
lint and crlf
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-01-24 10:28:46 +01:00
Vladimir Mandic
00e34ce0d3
cleanup reference models
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-08 14:07:33 -04:00
Enes Sadık Özbek
9b82288fea
Fix xhinker padding for Chroma
2025-07-03 18:17:16 +03:00
Vladimir Mandic
c4d9338d2e
major refactoring of modules
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-07-03 09:18:38 -04:00
Enes Sadık Özbek
4870605f4a
Update prompt_parser_xhinker.py
2025-06-23 13:41:49 +03:00
Enes Sadık Özbek
9238150a56
fix eos token not added correctly
2025-06-23 10:15:35 +00:00
Enes Sadık Özbek
71869a3181
xhinker improvements
2025-06-23 08:41:15 +00:00
Enes Sadık Özbek
106f6a9bc1
xhinker padding fixes
2025-06-23 02:18:50 +00:00
Enes Sadık Özbek
954138bfc1
add attention masks
2025-06-23 01:27:40 +00:00
Enes Sadık Özbek
4b3ce06916
Initial support for Chroma
2025-06-18 00:38:17 +00:00
Vladimir Mandic
66820edb63
update
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2024-11-12 11:02:34 -05:00
Vladimir Mandic
f2c5cbbb36
lint updates and diffusers installer
2024-09-06 14:10:53 -04:00
Vladimir Mandic
0d9ce663e4
post release dev merge, see changelog for details
2024-09-01 12:20:10 -04:00
Vladimir Mandic
0b901e08ce
xhinker move te as needed
2024-08-29 10:42:38 -04:00
Vladimir Mandic
707fc1de79
flux prompt attention
2024-08-28 08:34:42 -04:00
AI-Casanova
517ee93e96
xhinker parser implementation
2024-08-25 18:23:45 -05:00