Text-to-Image
Diffusers
ONNX
English
ORTStableDiffusionXLPipeline
art
stable-diffusion-xl
onnxruntime-directml
Instructions to use greentree/SDXL-olive-optimized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use greentree/SDXL-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/SDXL-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,12 +9,14 @@ tags:
|
|
| 9 |
- onnxruntime-directml
|
| 10 |
library_name: diffusers
|
| 11 |
---
|
| 12 |
-
Model Stable Diffusion XL 1.0 Base optimized using Microsoft Olive (https://github.com/microsoft/Olive). Provides massively increased generation speed on my AMD RX 7900 XT for images of size 1024*1024. (~10s/it --> ~3.80it/s)
|
| 13 |
|
| 14 |
Warning: Requires ONNX Runtime, so this will not work interchangably with any other custom model. I hope all these downloads weren't just like four people trying in vain.
|
| 15 |
|
|
|
|
|
|
|
| 16 |
Credit for the original model to StabilityAI: https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0
|
| 17 |
|
| 18 |
-
Other models I've uploaded: https://huggingface.co/greentree/SDXL-Refiner-olive-optimized, https://huggingface.co/greentree/Dreamshaper-XL-olive-optimized
|
| 19 |
|
| 20 |
-
|
|
|
|
| 9 |
- onnxruntime-directml
|
| 10 |
library_name: diffusers
|
| 11 |
---
|
| 12 |
+
Model Stable Diffusion XL 1.0 Base 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.80it/s)
|
| 13 |
|
| 14 |
Warning: Requires ONNX Runtime, so this will not work interchangably with any other custom model. I hope all these downloads weren't just like four people trying in vain.
|
| 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 StabilityAI: https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0
|
| 19 |
|
| 20 |
+
Other models I've uploaded: https://huggingface.co/greentree/SDXL-Refiner-olive-optimized, https://huggingface.co/greentree/Dreamshaper-XL-olive-optimized, https://huggingface.co/greentree/playground-v2-olive-optimized
|
| 21 |
|
| 22 |
+
Also see a collection of many more models like this by https://huggingface.co/softwareweaver
|