echarlaix's picture
echarlaix HF staff
Upload README.md with huggingface_hub
fcab836 verified
metadata
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
inference: false

This model is a quantized version of stabilityai/sdxl-turbo and was exported to the OpenVINO format using optimum-intel via the nncf-quantization space.

First make sure you have optimum-intel installed:

pip install optimum[openvino]

To load your model you can do as follows:

from optimum.intel import OVStableDiffusionXLPipeline

model_id = "echarlaix/sdxl-turbo-openvino-int8"
model = OVStableDiffusionXLPipeline.from_pretrained(model_id)