Instructions to use optimum-intel-internal-testing/tiny-random-z-image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use optimum-intel-internal-testing/tiny-random-z-image 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-intel-internal-testing/tiny-random-z-image", 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-intel-internal-testing/tiny-random-z-image: direct link, hf CLI and curl.
- Browser
- Download file 155 kB
-
https://huggingface.co/optimum-intel-internal-testing/tiny-random-z-image/resolve/main/text_encoder/model.safetensors
- Command line
-
hf download hf://optimum-intel-internal-testing/tiny-random-z-image/text_encoder/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/optimum-intel-internal-testing/tiny-random-z-image/resolve/main/text_encoder/model.safetensors
155 kB
- Xet hash:
- a6bd7c6f69ca9b76d31af514e1af501d7e9992b60f88c169812508a53d04f180
- Size of remote file:
- 155 kB
- SHA256:
- 9a82e96548b102cbd9f201425e383a5a540b3b2570623826833b51e9cb744f3f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.