leffff commited on
Commit
dde952f
·
verified ·
1 Parent(s): fae8ac7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -14
README.md CHANGED
@@ -24,15 +24,15 @@ import torch
24
  from diffusers import Kandinsky5I2VPipeline
25
  from diffusers.utils import export_to_video, load_image
26
 
27
- pipeline = Kandinsky5I2VPipeline.from_pretrained(
28
  "kandinskylab/Kandinsky-5.0-I2V-Pro-sft-5s-Diffusers",
29
  torch_dtype=torch.bfloat16,
30
  )
31
 
32
- pipeline = pipeline.to("cuda:0")
33
- pipeline.transformer.set_attention_backend("flex")
34
- pipeline.enable_model_cpu_offload()
35
- pipeline.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"
@@ -47,7 +47,7 @@ prompt = "A pug smiles happily holding a sign that says KANDINSKY"
47
  negative_prompt = "Static, 2D cartoon, cartoon, 2d animation, paintings, images, worst quality, low quality, ugly, deformed, walking backwards"
48
 
49
 
50
- output = pipeline(
51
  image=image,
52
  prompt=prompt,
53
  negative_prompt=negative_prompt,
@@ -86,14 +86,11 @@ Parkhomenko
86
  # Citation
87
 
88
  ```
89
- @misc{arkhipkin2025kandinsky50familyfoundation,
90
- title={Kandinsky 5.0: A Family of Foundation Models for Image and Video Generation},
91
- author={Vladimir Arkhipkin and Vladimir Korviakov and Nikolai Gerasimenko and Denis Parkhomenko and Viacheslav Vasilev and Alexey Letunovskiy and Nikolai Vaulin and Maria Kovaleva and Ivan Kirillov and Lev Novitskiy and Denis Koposov and Nikita Kiselev and Alexander Varlamov and Dmitrii Mikhailov and Vladimir Polovnikov and Andrey Shutkin and Julia Agafonova and Ilya Vasiliev and Anastasiia Kargapoltseva and Anna Dmitrienko and Anastasia Maltseva and Anna Averchenkova and Olga Kim and Tatiana Nikulina and Denis Dimitrov},
92
- year={2025},
93
- eprint={2511.14993},
94
- archivePrefix={arXiv},
95
- primaryClass={cs.CV},
96
- url={https://arxiv.org/abs/2511.14993},
97
  }
98
 
99
  @misc{mikhailov2025nablanablaneighborhoodadaptiveblocklevel,
 
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-sft-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"
 
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,
 
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,