anokimchen commited on
Commit
77257a2
1 Parent(s): 2e50a8f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +26 -0
README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/sd-turbo
3
+ pipeline_tag: text-to-image
4
+ tags:
5
+ - openvino
6
+ - nncf
7
+ - 8-bit
8
+ inference: false
9
+ ---
10
+
11
+ This model is a quantized version of [`stabilityai/sd-turbo`](https://huggingface.co/stabilityai/sd-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).
12
+
13
+ First make sure you have `optimum-intel` installed:
14
+
15
+ ```bash
16
+ pip install optimum[openvino]
17
+ ```
18
+
19
+ To load your model you can do as follows:
20
+
21
+ ```python
22
+ from optimum.intel import OVStableDiffusionPipeline
23
+
24
+ model_id = "anokimchen/sd-turbo-openvino-8bit"
25
+ model = OVStableDiffusionPipeline.from_pretrained(model_id)
26
+ ```