Instructions to use kandinsky-community/kandinsky-2-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kandinsky-community/kandinsky-2-1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kandinsky-community/kandinsky-2-1", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
How do I convert own kandinsky model into DF format?
#4
by Madiator2011 - opened
Hi there! I have trained my own kandinsky model and have ckpt files for both prio and decoder. Question is how I would go about converting them into DF?
@Madiator2011
Hi! I updated the conversion script here https://github.com/huggingface/diffusers/pull/3766
you can just download this script and run it from the root directory of diffusers folder