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
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,10 +9,11 @@ tags:
|
|
| 9 |
- onnxruntime-directml
|
| 10 |
library_name: diffusers
|
| 11 |
---
|
| 12 |
-
Model playground-v2-1024px-aesthetic optimized using Microsoft Olive (https://github.com/microsoft/Olive). Provides massively increased generation speed on my AMD RX 7900 XT on Windows 11 for images of size 1024*1024. (~10s/it --> ~3.
|
| 13 |
|
| 14 |
-
Warning: Requires ONNX Runtime, so this will not work interchangably with any other custom model.
|
| 15 |
-
|
|
|
|
| 16 |
|
| 17 |
Credit for the original model to PlaygroundAI: https://huggingface.co/playgroundai/playground-v2-1024px-aesthetic
|
| 18 |
|
|
|
|
| 9 |
- onnxruntime-directml
|
| 10 |
library_name: diffusers
|
| 11 |
---
|
| 12 |
+
Model playground-v2-1024px-aesthetic optimized using Microsoft Olive (https://github.com/microsoft/Olive). Provides massively increased generation speed on my AMD RX 7900 XT on Windows 11 for images of size 1024*1024. (~10s/it --> ~3.85it/s, faster than ROCm!)
|
| 13 |
|
| 14 |
+
Warning: Requires ONNX Runtime, so this will not work interchangably with any other custom model.
|
| 15 |
+
|
| 16 |
+
Warning 2: Outputs from this model will contain some noise and may need to be refined using another model. I'm commited to updating this if the optimization is improved.
|
| 17 |
|
| 18 |
Credit for the original model to PlaygroundAI: https://huggingface.co/playgroundai/playground-v2-1024px-aesthetic
|
| 19 |
|