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