e = pipe.to("cuda")

prompt = "a photo of an astronaut riding a horse on mars"
pipe.enable_vae_slicing()
#pipe.enable_xformers_memory_efficient_attention()
images = pipe([prompt] * 32).images You may see a small performance boost in VAE decoding on multi-image batches, and there should be no performance impact on single-image batches.  Tiled VAE Tiled VAE processing also enables working with large images on limited VRAM (for example, generating