AutoencoderKLKVAE
Kandinsky Lab's 8x8, 16-channel image VAE tokenizer built to feed latent diffusion models.
Diffusion and generative · 425 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 217.4M
- Operations
- 425
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2026
- Cited by
- 2 (as of 26 November 2026)
- Authors
- Andrey Shutkin, Denis Parkhomenko, Ivan Kirillov and others
- Source
- diffusers 0.38.0
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m147
- Graph hash
- 6252d993fba5a4f09946b4f42b347ffad2a5d4e407fbfa3560785024db747df1
- Skeleton hash
- 29666381a489d3fba202aab00513745efd44c5f2f066d87ec1ed2cf940820569
- Architecture hash
- 36c1de9703f127ac054c25a54b472629e3df0757f7459e1a1e1dc12afb30270b
- Diagram SHA-256
- 1c01e8e40852bb1934036aea1761a5b627b9203998fd54f1fbfe60032dac304e
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
diffusers.AutoencoderKLKVAE(in_channels=3, channels=128, num_enc_blocks=2, num_dec_blocks=2, z_channels=16, double_z=True, ch_mult=[1, 2, 4, 8], sample_size=1024)
What it is
KVAE-Image 1.0 is the image tokenizer from KVAE 1.0, a family of image and video tokenizers designed for latent diffusion models. Its job is to squeeze an RGB image into a compact continuous latent and then rebuild the picture from that latent with high fidelity. This release uses 8 x 8 spatial compression with 16 latent channels, and it is the original image tokenizer that shipped with KVAE 1.0.
The reason a tokenizer deserves a graph of its own is that latent diffusion leans on it to map the input signal to a compressed representation. That dependency makes the tokenizer part of the generation process itself, since it affects learning speed and the quality of synthesized samples. The accompanying technical report presents the broader KVAE series of tokenizers for audio, image and video, all designed for subsequent text-conditioned generation. The report itself describes a newer KVAE-2D image model that compresses by a factor of 8 with 32 channels, so read the paper's image numbers as belonging to that later version. Architecturally the report describes KVAE-2D-2.0 as a four-level convolutional residual autoencoder with base width 128 and channel multipliers (1, 2, 4, 8). The report comes from the team at Kandinsky Lab.
For the 1.0 image tokenizer, the Hub card evaluates reconstruction against models that all use 8 x 8 spatial compression and 16 latent channels. On the ImageNet-256 validation split the card reports a PSNR of 31.71 and an SSIM of 0.91 for KVAE-Image 1.0. On DIV2K it reports 33.67 PSNR, 0.92 SSIM and 0.060 LPIPS. The card also charts CLIP score and FID during DiT training, comparing a DiT on the FLUX VAE with two versions of a DiT on KVAE-Image 1.0. Everything in the KVAE line is released as open source under the MIT license.
Key idea. KVAE provides pretrained variational autoencoders that turn images into compact latent representations for diffusion generative models. The captured 1.0 image tokenizer uses 8 x 8 spatial compression with 16 latent channels.
- KVAE
- KVAE-Image 1.0
- KVAE-2D
- KVAE-2D-1.0
- K-VAE
- AutoencoderKLKVAE
- Kandinsky
- Kandinsky Lab
- image tokenizer
- VAE
- variational autoencoder
- latent diffusion
- image reconstruction
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{shutkin2026kvaefamilytokenizersmultimodal,
title={KVAE: Family of Tokenizers for Multimodal Generative Models},
author={Andrey Shutkin and Denis Parkhomenko and Ivan Kirillov and Kirill Chernyshev and Kirill Malakhov and Ilia Vasiliev and Ilia Trushkin and Valeriya Kobenko and David Chikovani and Alexander Ivanov and Azat Saginbaev and Egor Silvestrov and Ivan Mikheev and Konstantin Zakharov},
year={2026},
eprint={2608.05798},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2608.05798},
}