"Execution time -- 29884.2 ms"  original Stable Diffusion (45781.5 ms)  distilled Stable Diffusion (29884.2 ms)  Tiny AutoEncoder To speed inference up even more, use a tiny distilled version of the Stable Diffusion VAE to denoise the latents into images. Replace the VAE in the distilled Stable Diffusion model with the tiny VAE:   Copied from diffusers import AutoencoderTiny