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

  • Log In
  • Sign Up

williamberman
/
consistency-decoder

Diffusers
Safetensors
Model card Files Files and versions
xet
Community
1

Instructions to use williamberman/consistency-decoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use williamberman/consistency-decoder with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("williamberman/consistency-decoder", 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
consistency-decoder
1.31 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
patrickvonplaten's picture
patrickvonplaten
Create README.md
06a1422 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    27 Bytes
    Create README.md over 2 years ago
  • config.json
    2.06 kB
    vae not pipeline over 2 years ago
  • diffusion_pytorch_model.safetensors
    1.31 GB
    xet
    vae not pipeline over 2 years ago