Files
CalamitousFelicitousness e54a10e91f fix(pag): match the loaded pipeline instance when applying attention guidance
apply() passed the pipeline class into detect.is_sd15, is_sdxl and is_f1, which test model.__class__.__name__; for a class that name is 'type', so no branch matched and the PAG pipelines were never swapped in. The instance is tested now, SDXL before SD 1.5 because the SD 1.5 prefix also matches the SDXL and SD3 class names, and values at or below 0 return before the swap so the -1 default leaves the pipeline and the infotext alone.
2026-09-27 20:44:09 +01:00
..