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 / text_encoder
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
DJCan's picture
DJCan
Upload folder using huggingface_hub
19cf8db verified almost 2 years ago
  • config.json
    1.45 kB
    Upload folder using huggingface_hub almost 2 years ago
  • model.fp16-00001-of-00003.safetensors
    4.91 GB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • model.fp16-00002-of-00003.safetensors
    4.9 GB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • model.fp16-00003-of-00003.safetensors
    2.68 GB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • model.safetensors.index.fp16.json
    19 kB
    Upload folder using huggingface_hub almost 2 years ago