Instructions to use kandinskylab/Kandinsky-6.0-VSR-2.0-distilled2steps-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kandinskylab/Kandinsky-6.0-VSR-2.0-distilled2steps-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kandinskylab/Kandinsky-6.0-VSR-2.0-distilled2steps-Diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download vae/config.json from kandinskylab/Kandinsky-6.0-VSR-2.0-distilled2steps-Diffusers: direct link, hf CLI and curl.
- Browser
- Download file 569 Bytes
-
https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-2.0-distilled2steps-Diffusers/resolve/main/vae/config.json
- Command line
-
hf download hf://kandinskylab/Kandinsky-6.0-VSR-2.0-distilled2steps-Diffusers/vae/config.json
-
curl -L -o config.json https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-2.0-distilled2steps-Diffusers/resolve/main/vae/config.json
569 Bytes
| { | |
| "scaling_factor": 0.910344004631042, | |
| "spatial_factor": 16, | |
| "temporal_factor": 4, | |
| "vae_type": "video-kvae", | |
| "in_channels": 3, | |
| "out_channels": 3, | |
| "z_channels": 64, | |
| "ch": 128, | |
| "ch_mult": [ | |
| 0.125, | |
| 1, | |
| 2, | |
| 4, | |
| 8 | |
| ], | |
| "decoder_ch": 256, | |
| "decoder_ch_mult": [ | |
| 0.0625, | |
| 1, | |
| 2, | |
| 4, | |
| 8 | |
| ], | |
| "num_res_blocks": 2, | |
| "resolution": 0, | |
| "padding_mode": "zeros", | |
| "temporal_compress_times": 4, | |
| "temporal_compress_start_level": 1, | |
| "norm_type": "rms_norm", | |
| "double_z": true, | |
| "downsample_version": 2, | |
| "fix_pxs": true | |
| } |