The components of a diffusion model, like the UNet and scheduler, can be optimized to improve the quality of generated images leading to better details. These techniques are especially useful if you don't have the resources to simply use a larger model for inference. You can enable these techniques during inference without any additional training.  
This guide will show you how to turn these techniques on in your pipeline and how to configure them to improve the quality of your generated images.