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 README.md from optimum-intel-internal-testing/tiny-random-z-image: direct link, hf CLI and curl.
- Browser
- Download file 28 Bytes
-
https://huggingface.co/optimum-intel-internal-testing/tiny-random-z-image/resolve/main/README.md
- Command line
-
hf download hf://optimum-intel-internal-testing/tiny-random-z-image/README.md
-
curl -L -o README.md https://huggingface.co/optimum-intel-internal-testing/tiny-random-z-image/resolve/main/README.md
28 Bytes
metadata
license: apache-2.0