Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: stabilityai/sdxl-turbo
|
3 |
+
license: other
|
4 |
+
license_name: sai-nc-community
|
5 |
+
license_link: https://huggingface.co/stabilityai/sdxl-turbo/blob/main/LICENSE.md
|
6 |
+
pipeline_tag: text-to-image
|
7 |
+
tags:
|
8 |
+
- openvino
|
9 |
+
inference: false
|
10 |
+
---
|
11 |
+
|
12 |
+
This model was converted to OpenVINO from [`stabilityai/sdxl-turbo`](https://huggingface.co/stabilityai/sdxl-turbo) using [optimum-intel](https://github.com/huggingface/optimum-intel)
|
13 |
+
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
|
14 |
+
|
15 |
+
First make sure you have optimum-intel installed:
|
16 |
+
|
17 |
+
```bash
|
18 |
+
pip install optimum[openvino]
|
19 |
+
```
|
20 |
+
|
21 |
+
To load your model you can do as follows:
|
22 |
+
|
23 |
+
```python
|
24 |
+
from optimum.intel import OVStableDiffusionXLPipeline
|
25 |
+
|
26 |
+
model_id = "echarlaix/sdxl-turbo-openvino"
|
27 |
+
model = OVStableDiffusionXLPipeline.from_pretrained(model_id)
|
28 |
+
```
|