leffff commited on
Commit
87e112b
·
verified ·
1 Parent(s): cebac92

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,121 +1,3 @@
1
- ---
2
- license: mit
3
- ---
4
-
5
- <div align="center">
6
- <picture>
7
- <img src="assets/KANDINSKY_LOGO_1_BLACK.png">
8
- </picture>
9
- </div>
10
-
11
- <div align="center">
12
- <a href="https://habr.com/ru/companies/sberbank/articles/951800/">Habr</a> | <a href="https://kandinskylab.ai/">Project Page</a> | <a href="https://arxiv.org/abs/2511.14993">Technical Report</a> | 🤗 <a href=https://huggingface.co/collections/kandinskylab/kandinsky-50-video-lite> Video Lite </a> / <a href=https://huggingface.co/collections/kandinskylab/kandinsky-50-video-pro> Video Pro </a> / <a href=https://huggingface.co/collections/kandinskylab/kandinsky-50-image-lite> Image Lite </a> | <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/kandinsky5"> 🤗 Diffusers </a> | <a href="https://github.com/kandinskylab/kandinsky-5/blob/main/comfyui/README.md">ComfyUI</a>
13
- </div>
14
-
15
-
16
- ## Kandinsky 5.0 I2V Pro Diffusers
17
-
18
- Kandinsky 5.0 Pro line-up of large high quality video generation models (19B parameters). It offers high qualty generation in HD and more generation formats like I2V.
19
-
20
-
21
- **⚠️ Warning!** all Pro models should be infered with pipeline.enable_model_cpu_offload()
22
- ```python
23
- import torch
24
- from diffusers import Kandinsky5I2VPipeline
25
- from diffusers.utils import export_to_video, load_image
26
-
27
- pipe = Kandinsky5I2VPipeline.from_pretrained(
28
- "kandinskylab/Kandinsky-5.0-I2V-Pro-distilled-5s-Diffusers",
29
- torch_dtype=torch.bfloat16,
30
- )
31
-
32
- pipe = pipe.to("cuda:0")
33
- pipe.transformer.set_attention_backend("flex")
34
- pipe.enable_model_cpu_offload()
35
- pipe.transformer.compile(mode="max-autotune-no-cudagraphs", dynamic=True)
36
-
37
- image = load_image(
38
- "https://img.freepik.com/free-photo/pug-dog-isolated-white-background_2829-11416.jpg?semt=ais_hybrid&w=740&q=80"
39
- )
40
-
41
- height = 640
42
- width = 640
43
- image = image.resize((width, height))
44
-
45
- prompt = "A pug smiles happily holding a sign that says KANDINSKY"
46
-
47
- negative_prompt = "Static, 2D cartoon, cartoon, 2d animation, paintings, images, worst quality, low quality, ugly, deformed, walking backwards"
48
-
49
-
50
- output = pipe(
51
- image=image,
52
- prompt=prompt,
53
- negative_prompt=negative_prompt,
54
- height=height,
55
- width=width,
56
- num_frames=121,
57
- num_inference_steps=16,
58
- guidance_scale=1.0,
59
- num_videos_per_prompt=1,
60
- generator=torch.Generator(43)
61
- )
62
- ```
63
-
64
-
65
-
66
- # Authors
67
-
68
-
69
- <B>Core Contributors</B>:
70
- - <B>Video</B>: Alexey Letunovskiy, Maria Kovaleva, Lev Novitskiy, Denis Koposov, Dmitrii
71
- Mikhailov, Anastasiia Kargapoltseva, Anna Dmitrienko, Anastasia Maltseva
72
- - <B>Image & Editing</B>: Nikolai Vaulin, Nikita Kiselev, Alexander Varlamov
73
- - <B>Pre-training Data</B>: Ivan Kirillov, Andrey Shutkin, Nikolai Vaulin, Ilya Vasiliev
74
- - <B>Post-training Data</B>: Julia Agafonova, Anna Averchenkova, Olga Kim
75
- - <B>Research Consolidation & Paper</B>: Viacheslav Vasilev, Vladimir Polovnikov
76
-
77
- <B>Contributors</B>: Yury Kolabushin, Kirill Chernyshev, Alexander Belykh, Mikhail Mamaev, Anastasia Aliaskina, Kormilitsyn Semen, Tatiana Nikulina, Olga Vdovchenko, Polina Mikhailova, Polina
78
- Gavrilova, Nikita Osterov, Bulat Akhmatov
79
-
80
- <B>Track Leaders</B>: Vladimir Arkhipkin, Vladimir Korviakov, Nikolai Gerasimenko, Denis
81
- Parkhomenko
82
-
83
- <B>Project Supervisor</B>: Denis Dimitrov
84
-
85
-
86
- # Citation
87
-
88
- ```
89
- @misc{kandinsky2025,
90
- author = {Alexander Belykh and Alexander Varlamov and Alexey Letunovskiy and Anastasia Aliaskina and Anastasia Maltseva and Anastasiia Kargapoltseva and Andrey Shutkin and Anna Averchenkova and Anna Dmitrienko and Bulat Akhmatov and Denis Dimitrov and Denis Koposov and Denis Parkhomenko and Dmitrii and Ilya Vasiliev and Ivan Kirillov and Julia Agafonova and Kirill Chernyshev and Kormilitsyn Semen and Lev Novitskiy and Maria Kovaleva and Mikhail Mamaev and Mikhailov and Nikita Kiselev and Nikita Osterov and Nikolai Gerasimenko and Nikolai Vaulin and Olga Kim and Olga Vdovchenko and Polina Gavrilova and Polina Mikhailova and Tatiana Nikulina and Viacheslav Vasilev and Vladimir Arkhipkin and Vladimir Korviakov and Vladimir Polovnikov and Yury Kolabushin},
91
- title = {Kandinsky 5.0: A family of diffusion models for Video & Image generation},
92
- howpublished = {\url{https://github.com/kandinskylab/Kandinsky-5}},
93
- year = 2025
94
- }
95
-
96
- @misc{mikhailov2025nablanablaneighborhoodadaptiveblocklevel,
97
- title={$\nabla$NABLA: Neighborhood Adaptive Block-Level Attention},
98
- author={Dmitrii Mikhailov and Aleksey Letunovskiy and Maria Kovaleva and Vladimir Arkhipkin
99
- and Vladimir Korviakov and Vladimir Polovnikov and Viacheslav Vasilev
100
- and Evelina Sidorova and Denis Dimitrov},
101
- year={2025},
102
- eprint={2507.13546},
103
- archivePrefix={arXiv},
104
- primaryClass={cs.CV},
105
- url={https://arxiv.org/abs/2507.13546},
106
- }
107
- ```
108
-
109
- # Acknowledgements
110
-
111
- We gratefully acknowledge the open-source projects and research that made Kandinsky 5.0 possible:
112
-
113
- - [PyTorch](https://pytorch.org/) — for model training and inference.
114
- - [FlashAttention 3](https://github.com/Dao-AILab/flash-attention) — for efficient attention and faster inference.
115
- - [Qwen2.5-VL](https://github.com/QwenLM/Qwen3-VL) — for providing high-quality text embeddings.
116
- - [CLIP](https://github.com/openai/CLIP) — for robust text–image alignment.
117
- - [HunyuanVideo](https://huggingface.co/tencent/HunyuanVideo) — for video latent encoding and decoding.
118
- - [MagCache](https://github.com/Zehong-Ma/MagCache) — for accelerated inference.
119
- - [ComfyUI](https://github.com/comfyanonymous/ComfyUI) — for integration into node-based workflows.
120
-
121
- We deeply appreciate the contributions of these communities and researchers to the open-source ecosystem.
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
transformer/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dfc0f04906bc99e3d77bac44ef98373b776d1fd23fdf8c909f974040fb9993b3
3
- size 77245505744
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0785ba728fc179bae4352df2aaae5936b5f6c65c1dabe0c9f839935d27e7b06
3
+ size 43385935392