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