oid costly dtype conversions before and after each generation. You only need to do this one before your first generation:   Copied pipe.upcast_vae() As an alternative, you can also use a 16-bit VAE created by community member @madebyollin that does not need to be upcasted to float32.
