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