Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

doji-tech
/
tiny-stable-diffusion-2-pipe-onnx

Text-to-Image
Diffusers
ONNX
StableDiffusionPipeline
stable-diffusion
tiny-random
Model card Files Files and versions
xet
Community

Instructions to use doji-tech/tiny-stable-diffusion-2-pipe-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use doji-tech/tiny-stable-diffusion-2-pipe-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("doji-tech/tiny-stable-diffusion-2-pipe-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 Settings
  • Draw Things
  • DiffusionBee
tiny-stable-diffusion-2-pipe-onnx / tokenizer
23.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
julienkay's picture
julienkay
Dummy components of the diffusers 0.43.0 fast test, exported with optimum
f54ef10 verified 13 days ago
  • merges.txt
    5.43 kB
    Tiny random SD2 pipeline (diffusers SD2 fast-test dummy components), exported with optimum 14 days ago
  • special_tokens_map.json
    496 Bytes
    Dummy components of the diffusers 0.43.0 fast test, exported with optimum 13 days ago
  • tokenizer_config.json
    758 Bytes
    Dummy components of the diffusers 0.43.0 fast test, exported with optimum 13 days ago
  • vocab.json
    16.6 kB
    Tiny random SD2 pipeline (diffusers SD2 fast-test dummy components), exported with optimum 14 days ago