Stable Diffusion, Image Compression, Machine Learning, Artificial Intelligence, Deep Learning.
decoded from 8-bit integer latents To quantize the latents generated by the VAE, I first scaled them by 1 / 0.18215, a number you may have come across in the Stable Diffusion source code already. It seems dividing the latents by this number maps them quite well to the [-1, 1] range, though some