Instructions to use diffusers/tiny-stable-diffusion-torch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/tiny-stable-diffusion-torch with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/tiny-stable-diffusion-torch", 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
Download vae/diffusion_pytorch_model.safetensors from diffusers/tiny-stable-diffusion-torch: direct link, hf CLI and curl.
- Browser
- Download file 2.65 MB
-
https://huggingface.co/diffusers/tiny-stable-diffusion-torch/resolve/refs%2Fpr%2F2/vae/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://diffusers/tiny-stable-diffusion-torch@refs/pr/2/vae/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/diffusers/tiny-stable-diffusion-torch/resolve/refs%2Fpr%2F2/vae/diffusion_pytorch_model.safetensors
2.65 MB
- Xet hash:
- 98f5c19d1da38e2cb865abe09e27f23cfc957b77cf8df6026ed8ef8b84e8629d
- Size of remote file:
- 2.65 MB
- SHA256:
- c213c835649125fac247c14d88c1dc7ef46468f324c350baa1285cf39e22aee9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.