Instructions to use shahid202/small-sd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use shahid202/small-sd with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("shahid202/small-sd", 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 shahid202/small-sd: direct link, hf CLI and curl.
- Browser
- Download file 492 MB
-
https://huggingface.co/shahid202/small-sd/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://shahid202/small-sd/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/shahid202/small-sd/resolve/main/text_encoder/pytorch_model.bin
492 MB
- Xet hash:
- 4bd50e99f76d02791a20f80a7befec537592719b6c7c3e25e730170c0e8df27a
- Size of remote file:
- 492 MB
- SHA256:
- 7562ffd7a145d2bf2c5e7cfdfe89f331d8ebb0c22c191d0f8fb8a92bbb100c51
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.