Views
No views yet

| Model | Modality | Compression | Latent channels |
|---|---|---|---|
| KVAE-Image 2.0 | Image | 8 x 8 | 32 |
| KVAE-Video 2.0 t4s8 | Video | 4 x 8 x 8 | 16 |
| KVAE-Video 2.0 t4s16 | Video | 4 x 16 x 16 | 64 |
1pip install -r requirements.txt
2pip install --editable .1import torch
2
3from data import VideoReader
4from kvae import KVAEVideo
5
6device = torch.device("cuda:0")
7dtype = torch.bfloat16
8
9model = (
10 KVAEVideo.from_pretrained("kandinskylab/KVAE-3D-2.0-t4s8").eval().to(device=device, dtype=dtype)
11)
12reader = VideoReader(stream_pattern="*.png", input_norm="m11")
13video = reader.read_video("path/to/video_frames")["frames"].unsqueeze(0)
14video = video.to(device=device, dtype=dtype)
15
16with torch.no_grad():
17 latent = model.encode(video, seg_len=16).latent_dist.mode()
18 reconstruction = model.decode(latent, seg_len=16).clip(-1, 1)KVAEVideo instance per concurrent stream.| Model | PSNR↑ | SSIM↑ | LPIPS↓ |
|---|---|---|---|
| HunyuanVideo 1.0 | 34.3 | 0.90 | 0.047 |
| Wan 2.1 | 34.3 | 0.89 | 0.044 |
| KVAE-Video 2.0 t4s8 | 36.0 | 0.92 | 0.047 |

1@misc{kvae20,
2 title = {KVAE 2.0: video tokenizers for Image & Video generation models},
3 author = {Andrey Shutkin, Denis Parkhomenko, Kirill Chernyshev,
4 Ivan Kirillov, Denis Dimitrov,
5 Valeriya Kobenko, Kirill Malakhov},
6 year = {2026},
7 eprint = {2608.05798},
8 archivePrefix = {arXiv},
9 primaryClass = {cs.CV},
10 url = {https://arxiv.org/abs/2608.05798}
11}