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