echarlaix HF staff commited on
Commit
fcab836
·
verified ·
1 Parent(s): b7b3b03

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +27 -0
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 is a quantized version of [`stabilityai/sdxl-turbo`](https://huggingface.co/stabilityai/sdxl-turbo) and was exported to the OpenVINO format using [optimum-intel](https://github.com/huggingface/optimum-intel) via the [nncf-quantization](https://huggingface.co/spaces/echarlaix/nncf-quantization) space.
13
+
14
+ First make sure you have optimum-intel installed:
15
+
16
+ ```bash
17
+ pip install optimum[openvino]
18
+ ```
19
+
20
+ To load your model you can do as follows:
21
+
22
+ ```python
23
+ from optimum.intel import OVStableDiffusionXLPipeline
24
+
25
+ model_id = "echarlaix/sdxl-turbo-openvino-int8"
26
+ model = OVStableDiffusionXLPipeline.from_pretrained(model_id)
27
+ ```