The simplest optimization to run IF faster is to move all model components to the GPU.  
```py
pipe = DiffusionPipeline.from_pretrained("DeepFloyd/IF-I-XL-v1.0", variant="fp16", torch_dtype=torch.float16)
pipe.to("cuda")
```  
You can also run the diffusion process for a shorter number of timesteps.  
This can either be done with the `num_inference_steps` argument:  
```py
pipe("<prompt>", num_inference_steps=30)
```  
Or with the `timesteps` argument:  
```py