Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

kandinskylab
/
Kandinsky-5.0-I2I-Lite-sft-Diffusers

Image-to-Image
Diffusers
Safetensors
Kandinsky5T2IPipeline
Model card Files Files and versions
xet
Community
1

Instructions to use kandinskylab/Kandinsky-5.0-I2I-Lite-sft-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use kandinskylab/Kandinsky-5.0-I2I-Lite-sft-Diffusers with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("kandinskylab/Kandinsky-5.0-I2I-Lite-sft-Diffusers", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
Kandinsky-5.0-I2I-Lite-sft-Diffusers / text_encoder
16.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
nvvaulin's picture
nvvaulin
Upload folder using huggingface_hub
c98e46b verified 6 months ago
  • .gitattributes
    1.52 kB
    Upload folder using huggingface_hub 6 months ago
  • README.md
    18.6 kB
    Upload folder using huggingface_hub 6 months ago
  • chat_template.json
    1.05 kB
    Upload folder using huggingface_hub 6 months ago
  • config.json
    1.37 kB
    Upload folder using huggingface_hub 6 months ago
  • generation_config.json
    216 Bytes
    Upload folder using huggingface_hub 6 months ago
  • model-00001-of-00005.safetensors
    3.9 GB
    xet
    Upload folder using huggingface_hub 6 months ago
  • model-00002-of-00005.safetensors
    3.86 GB
    xet
    Upload folder using huggingface_hub 6 months ago
  • model-00003-of-00005.safetensors
    3.86 GB
    xet
    Upload folder using huggingface_hub 6 months ago
  • model-00004-of-00005.safetensors
    3.86 GB
    xet
    Upload folder using huggingface_hub 6 months ago
  • model-00005-of-00005.safetensors
    1.09 GB
    xet
    Upload folder using huggingface_hub 6 months ago
  • model.safetensors.index.json
    57.6 kB
    Upload folder using huggingface_hub 6 months ago