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_2/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_2/model.safetensors
- Command line
-
hf download hf://optimum-internal-testing/tiny-random-stable-diffusion-3/text_encoder_2/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/optimum-internal-testing/tiny-random-stable-diffusion-3/resolve/main/text_encoder_2/model.safetensors
1.59 MB
- Xet hash:
- 738f06490e8151e617e5de01b470ff9ccbc47f06e4ee4ce14dfe1d40bd72f67e
- Size of remote file:
- 1.59 MB
- SHA256:
- 9a86da5f9753f19bb464e6f732a607b498c5e47fe5bbe64b69ceaa35ab56b456
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.