hsuwill000 commited on
Commit
b27f4de
·
verified ·
1 Parent(s): e182e8b

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/stable-diffusion-xl-base-1.0
3
+ license: openrail++
4
+ tags:
5
+ - text-to-image
6
+ - stable-diffusion
7
+ - openvino
8
+ - nncf
9
+ - 8-bit
10
+ ---
11
+
12
+ This model is a quantized version of [`stabilityai/stable-diffusion-xl-base-1.0`](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0) 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).
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 = "hsuwill000/stable-diffusion-xl-base-1.0-openvino-8bit"
26
+ model = OVStableDiffusionXLPipeline.from_pretrained(model_id)
27
+ ```