Instructions to use kandinskylab/Kandinsky-6.0-Pro-5s-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kandinskylab/Kandinsky-6.0-Pro-5s-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kandinskylab/Kandinsky-6.0-Pro-5s-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
quantizations coming soon?
please consider quantizing this models for fp8, int8 and nvfp8 format. The demo is very promising.
Hello. Yes, we plan to add them soon.
There is a bunch of options here to explore: https://huggingface.co/docs/diffusers/en/api/quantization. I think you could also do it.
If you need NVFP4: https://pytorch.org/blog/faster-diffusion-on-blackwell-mxfp8-and-nvfp4-with-diffusers-and-torchao/
Thank you. We will try it.
int8_convrot would be great for ComfyUI. π
MiniMax-like Day 0 ComfyUI support could have been even more ideal (to be compatible with all the current and future optimizations/community plugins) though
And native ComfyUI code makes the checkpoint compatible with the official Comfy-Org/comfy-quants package, through which fp8/int8-convrot/nvfp4/... quantization is a ready-made breeze
Made the quantization of the Lite model using the code above (but with the kand6 branch)
https://huggingface.co/kabachuha/Kandinsky-6.0-Lite-5s-int8-convrot
In my experiments, it fully works and it's fast. (It's designed for the native integration, didn't test yet with the authors' nodes)
My Internet bandwidth is awful, so cannot really upload the big Pro file.
Update: int8 convrot Pro quantization works and tested with the fork. Still cannot upload
im currently downloading to GGUF the model for you guys