ent attention 2.63s x3.61  Sliced VAE Sliced VAE enables decoding large batches of images with limited VRAM or batches with 32 images or more by decoding the batches of latents one image at a time. You’ll likely want to couple this with enable_xformers_memory_efficient_attention() to reduce memory use further if you have xFormers installed. To use sliced VAE, call enable_vae_slicing() on your pipeline before inference:   Copied import torch
fro