Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
- nncf
|
10 |
+
- 8-bit
|
11 |
+
inference: false
|
12 |
+
base_model_relation: quantized
|
13 |
+
---
|
14 |
+
|
15 |
+
This model is a quantized version of [`stabilityai/sdxl-turbo`](https://huggingface.co/stabilityai/sdxl-turbo) and is converted to the OpenVINO format. This model was obtained via the [nncf-quantization](https://huggingface.co/spaces/echarlaix/nncf-quantization) space with [optimum-intel](https://github.com/huggingface/optimum-intel).
|
16 |
+
First make sure you have `optimum-intel` installed:
|
17 |
+
```bash
|
18 |
+
pip install optimum[openvino]
|
19 |
+
```
|
20 |
+
To load your model you can do as follows:
|
21 |
+
```python
|
22 |
+
from optimum.intel import OVStableDiffusionXLPipeline
|
23 |
+
model_id = "AIFunOver/sdxl-turbo-openvino-8bit"
|
24 |
+
model = OVStableDiffusionXLPipeline.from_pretrained(model_id)
|
25 |
+
```
|