CCalamitousFelicitousnessfix(pipelines): restore clip-skip text encoding for transformers 5.6+
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
- 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> | 3 个月前 | |
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. | 2 个月前 | |
- 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> | 3 个月前 |