AIFunOver's picture
Upload README.md with huggingface_hub
6995429 verified
---
base_model: stabilityai/sdxl-turbo
license: other
license_name: sai-nc-community
license_link: https://huggingface.co/stabilityai/sdxl-turbo/blob/main/LICENSE.md
pipeline_tag: text-to-image
tags:
- openvino
- nncf
- 8-bit
inference: false
base_model_relation: quantized
---
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).
First make sure you have `optimum-intel` installed:
```bash
pip install optimum[openvino]
```
To load your model you can do as follows:
```python
from optimum.intel import OVStableDiffusionXLPipeline
model_id = "AIFunOver/sdxl-turbo-openvino-8bit"
model = OVStableDiffusionXLPipeline.from_pretrained(model_id)
```