> [!TIP]
> 🤗 Diffusers currently only supports using PAG with selected SDXL pipelines and [`PixArtSigmaPAGPipeline`]. But feel free to open a [feature request](https://github.com/huggingface/diffusers/issues/new/choose) if you want to add PAG support to a new pipeline!  
<hfoptions id="tasks">
<hfoption id="Text-to-image">  
```py
from diffusers import AutoPipelineForText2Image
from diffusers.utils import load_image
import torch