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

  • Log In
  • Sign Up

Kwai-Kolors
/
Kolors-diffusers

Diffusers
Safetensors
Chinese
English
KolorsPipeline
Kolors
Model card Files Files and versions
xet
Community
14

Instructions to use Kwai-Kolors/Kolors-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Kwai-Kolors/Kolors-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("Kwai-Kolors/Kolors-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
Kolors-diffusers
17.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
DJCan's picture
DJCan
Update README.md
7e091c7 verified almost 2 years ago
  • imgs
    Upload t2i.png almost 2 years ago
  • scheduler
    Upload folder using huggingface_hub almost 2 years ago
  • text_encoder
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer
    Upload folder using huggingface_hub almost 2 years ago
  • unet
    Upload folder using huggingface_hub almost 2 years ago
  • vae
    Upload folder using huggingface_hub almost 2 years ago
  • .gitattributes
    1.68 kB
    Upload t2i.png almost 2 years ago
  • MODEL_LICENSE
    14.9 kB
    Create MODEL_LICENSE almost 2 years ago
  • README.md
    4.9 kB
    Update README.md almost 2 years ago
  • model_index.json
    416 Bytes
    Update model_index.json almost 2 years ago