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

  • Log In
  • Sign Up

Hanbin42
/
stable-diffusion-onnx

Text-to-Image
Diffusers
ONNX
Model card Files Files and versions
xet
Community

Instructions to use Hanbin42/stable-diffusion-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Hanbin42/stable-diffusion-onnx with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Hanbin42/stable-diffusion-onnx", 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
  • Local Apps
  • Draw Things
  • DiffusionBee
stable-diffusion-onnx
4.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Hanbin42's picture
Hanbin42
Update README.md
a741837 verified over 1 year ago
  • text_encoder
    Upload Stable Diffusion ONNX components over 1 year ago
  • unet
    Upload Stable Diffusion ONNX components over 1 year ago
  • vae_decoder
    Upload Stable Diffusion ONNX components over 1 year ago
  • .gitattributes
    17.2 kB
    Upload Stable Diffusion ONNX components over 1 year ago
  • README.md
    178 Bytes
    Update README.md over 1 year ago
  • model_index.json
    295 Bytes
    Upload Stable Diffusion ONNX components over 1 year ago