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 unet/diffusion_pytorch_model.safetensors from diffusers/tiny-stable-diffusion-torch: direct link, hf CLI and curl.
- Browser
- Download file 5.74 MB
-
https://huggingface.co/diffusers/tiny-stable-diffusion-torch/resolve/refs%2Fpr%2F2/unet/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://diffusers/tiny-stable-diffusion-torch@refs/pr/2/unet/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/diffusers/tiny-stable-diffusion-torch/resolve/refs%2Fpr%2F2/unet/diffusion_pytorch_model.safetensors
5.74 MB
- Xet hash:
- 15351763e2a5e7ab0750bd5a51c96dceeb995e512bfa4697b6858653e731b561
- Size of remote file:
- 5.74 MB
- SHA256:
- c69e435ef37a4e0fe3471d2c9488924bdf534cb51c08e9450420784d53336d73
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.