Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: stabilityai/stable-diffusion-3.5-large-turbo
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
license: other
|
6 |
+
license_name: stabilityai-ai-community
|
7 |
+
license_link: LICENSE.md
|
8 |
+
pipeline_tag: text-to-image
|
9 |
+
tags:
|
10 |
+
- text-to-image
|
11 |
+
- stable-diffusion
|
12 |
+
- diffusers
|
13 |
+
- openvino
|
14 |
+
- nncf
|
15 |
+
- 8-bit
|
16 |
+
inference: true
|
17 |
+
extra_gated_prompt: By clicking "Agree", you agree to the [License Agreement](https://huggingface.co/stabilityai/stable-diffusion-3.5-large-turbo/blob/main/LICENSE.md)
|
18 |
+
and acknowledge Stability AI's [Privacy Policy](https://stability.ai/privacy-policy).
|
19 |
+
extra_gated_fields:
|
20 |
+
Name: text
|
21 |
+
Email: text
|
22 |
+
Country: country
|
23 |
+
Organization or Affiliation: text
|
24 |
+
Receive email updates and promotions on Stability AI products, services, and research?:
|
25 |
+
type: select
|
26 |
+
options:
|
27 |
+
- 'Yes'
|
28 |
+
- 'No'
|
29 |
+
What do you intend to use the model for?:
|
30 |
+
type: select
|
31 |
+
options:
|
32 |
+
- Research
|
33 |
+
- Personal use
|
34 |
+
- Creative Professional
|
35 |
+
- Startup
|
36 |
+
- Enterprise
|
37 |
+
I agree to the License Agreement and acknowledge Stability AI's Privacy Policy: checkbox
|
38 |
+
base_model_relation: quantized
|
39 |
+
---
|
40 |
+
|
41 |
+
This model is a quantized version of [`stabilityai/stable-diffusion-3.5-large-turbo`](https://huggingface.co/stabilityai/stable-diffusion-3.5-large-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).
|
42 |
+
First make sure you have `optimum-intel` installed:
|
43 |
+
```bash
|
44 |
+
pip install optimum[openvino]
|
45 |
+
```
|
46 |
+
To load your model you can do as follows:
|
47 |
+
```python
|
48 |
+
from optimum.intel import OVPipelineForText2Image
|
49 |
+
model_id = "AIFunOver/stable-diffusion-3.5-large-turbo-openvino-8bit"
|
50 |
+
model = OVPipelineForText2Image.from_pretrained(model_id)
|
51 |
+
```
|