Text-to-Image
Diffusers
ONNX
English
ORTStableDiffusionXLPipeline
art
stable-diffusion-xl
onnxruntime-directml
Instructions to use greentree/playground-v2-olive-optimized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use greentree/playground-v2-olive-optimized with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("greentree/playground-v2-olive-optimized", 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 vae_encoder/model.onnx from greentree/playground-v2-olive-optimized: direct link, hf CLI and curl.
- Browser
- Download file 68.4 MB
-
https://huggingface.co/greentree/playground-v2-olive-optimized/resolve/main/vae_encoder/model.onnx
- Command line
-
hf download hf://greentree/playground-v2-olive-optimized/vae_encoder/model.onnx
-
curl -L -o model.onnx https://huggingface.co/greentree/playground-v2-olive-optimized/resolve/main/vae_encoder/model.onnx
68.4 MB
- Xet hash:
- 11eec0d78c0dea77701160b081c360fff00d3b9b6955859a6b78d13810ad199b
- Size of remote file:
- 68.4 MB
- SHA256:
- b4522892aa834a0f81bcda88c9e39ab7c39aa9f3b0fe91fefeebb312dcbf0c68
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.