Skip to content

sd-perturbed-attention

sd-perturbed-attention is an implementation designed to enhance image generation in ComfyUI and SD WebUI (Forge) by integrating Perturbed-Attention Guidance (PAG) from a recent study. It modifies the diffusion process to potentially improve structural coherence and detail in generated images, with customizable parameters allowing for experimentation in effects. The project notes that using specific settings can mitigate some visual artifacts, and it is compatible with SD1.5 and SDXL models but not with Stable Cascade.

Tags

Repo info

  • Repo url: https://github.com/pamparamm/sd-perturbed-attention.git
  • Commit hash: 2174a2bf5f7f6e167681b7e118092140bdd95996

Licenses

  • MIT: LICENSE
  • MIT: pyproject.toml

Visit licenses page for the details