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

  • Log In
  • Sign Up

opencli
/
sana-0.6b-4bit

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use opencli/sana-0.6b-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use opencli/sana-0.6b-4bit with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("opencli/sana-0.6b-4bit", 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
sana-0.6b-4bit
5.96 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
amadeu's picture
amadeu
Refresh 512/1024 artifacts after duplicate-weight dedup in quantization pipeline
020d67a verified 19 days ago
  • variants
    Refresh 512/1024 artifacts after duplicate-weight dedup in quantization pipeline 19 days ago
  • .gitattributes
    1.7 kB
    Republish Sana 0.6B 4-bit with real fp16 VAE artifacts 23 days ago
  • README.md
    24 Bytes
    initial commit 24 days ago
  • published-artifacts.json
    606 Bytes
    Refresh 512/1024 artifacts after duplicate-weight dedup in quantization pipeline 19 days ago