Instructions to use doji-tech/tiny-stable-diffusion-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-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-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
Download vae_decoder/model.onnx from doji-tech/tiny-stable-diffusion-pipe-onnx: direct link, hf CLI and curl.
- Browser
- Download file 1.67 MB
-
https://huggingface.co/doji-tech/tiny-stable-diffusion-pipe-onnx/resolve/main/vae_decoder/model.onnx
- Command line
-
hf download hf://doji-tech/tiny-stable-diffusion-pipe-onnx/vae_decoder/model.onnx
-
curl -L -o model.onnx https://huggingface.co/doji-tech/tiny-stable-diffusion-pipe-onnx/resolve/main/vae_decoder/model.onnx
1.67 MB
- Xet hash:
- c5501610e45e96664d916eccfa6f65abd7c94fb97f64f1eed990c324d93456b5
- Size of remote file:
- 1.67 MB
- SHA256:
- faa2a827bfea9706820ca88ed451a4fd9d6a0f1a02c61f215687489f8a6b130f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.