et to the maximum.  If you’re interested in the full benchmarking code, take a look at huggingface/diffusion-fast.  Baseline Let’s start with a baseline. Disable reduced precision and the scaled_dot_product_attention (SDPA) function which is automatically used by Diffusers:   Copied from diffusers import StableDiffusionXLPipeline

# Load the pipeline in full-precision and place its model components on CUDA.
pipe = StableDiffusionXLPipeline.from