├── .github └── workflows │ └── publish.yml ├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── __init__.py ├── example_workflows ├── nag_sdxl.jpg └── nag_sdxl.json ├── guidance_utils.py ├── nag_nodes.py ├── pag_nodes.py ├── pag_trt_nodes.py ├── pladis_nodes.py ├── pladis_utils.py ├── pyproject.toml ├── res ├── comfyui-node-pag-advanced.png ├── comfyui-node-pag-basic.png ├── comfyui-node-seg.png ├── forge-pag.png ├── forge-seg.png ├── trt-engines.png └── trt-inference.png ├── scripts ├── pag.py ├── seg.py └── swg.py └── tpg_nodes.py /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/__init__.py -------------------------------------------------------------------------------- /example_workflows/nag_sdxl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/example_workflows/nag_sdxl.jpg -------------------------------------------------------------------------------- /example_workflows/nag_sdxl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/example_workflows/nag_sdxl.json -------------------------------------------------------------------------------- /guidance_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/guidance_utils.py -------------------------------------------------------------------------------- /nag_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/nag_nodes.py -------------------------------------------------------------------------------- /pag_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/pag_nodes.py -------------------------------------------------------------------------------- /pag_trt_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/pag_trt_nodes.py -------------------------------------------------------------------------------- /pladis_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/pladis_nodes.py -------------------------------------------------------------------------------- /pladis_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/pladis_utils.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/pyproject.toml -------------------------------------------------------------------------------- /res/comfyui-node-pag-advanced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/res/comfyui-node-pag-advanced.png -------------------------------------------------------------------------------- /res/comfyui-node-pag-basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/res/comfyui-node-pag-basic.png -------------------------------------------------------------------------------- /res/comfyui-node-seg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/res/comfyui-node-seg.png -------------------------------------------------------------------------------- /res/forge-pag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/res/forge-pag.png -------------------------------------------------------------------------------- /res/forge-seg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/res/forge-seg.png -------------------------------------------------------------------------------- /res/trt-engines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/res/trt-engines.png -------------------------------------------------------------------------------- /res/trt-inference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/res/trt-inference.png -------------------------------------------------------------------------------- /scripts/pag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/scripts/pag.py -------------------------------------------------------------------------------- /scripts/seg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/scripts/seg.py -------------------------------------------------------------------------------- /scripts/swg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/scripts/swg.py -------------------------------------------------------------------------------- /tpg_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pamparamm/sd-perturbed-attention/HEAD/tpg_nodes.py --------------------------------------------------------------------------------