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 text_encoder/pytorch_model.bin from diffusers/tiny-stable-diffusion-torch: direct link, hf CLI and curl.
- Browser
- Download file 301 kB
-
https://huggingface.co/diffusers/tiny-stable-diffusion-torch/resolve/refs%2Fpr%2F2/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://diffusers/tiny-stable-diffusion-torch@refs/pr/2/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/diffusers/tiny-stable-diffusion-torch/resolve/refs%2Fpr%2F2/text_encoder/pytorch_model.bin
301 kB
- Xet hash:
- 610eaa69813d26b41b3a731a94bf978cf33b3a8ff0bd7eb3e542a7d6f9404f32
- Size of remote file:
- 301 kB
- SHA256:
- 9d56720d7eb5270ea803289848671ddcc3de5c80a56641e88148136d2de28ed8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.