Using compiled components in the SD3 pipeline can speed up inference by as much as 4X. The following code snippet demonstrates how to compile the Transformer and VAE components of the SD3 pipeline.  
```python
import torch
from diffusers import StableDiffusion3Pipeline

torch.set_float32_matmul_precision("high")