v1.15.0: OpenVINO Tokenizers, quantization configuration
-
Add OpenVINO Tokenizers by @apaniukov #513
-
Introduce the OpenVINO quantization configuration by @AlexKoff88 #538
-
Enable model OpenVINO export by @echarlaix in #557
from diffusers import StableDiffusionPipeline
from optimum.exporters.openvino import export_from_model
model_id = "runwayml/stable-diffusion-v1-5"
model = StableDiffusionPipeline.from_pretrained(model_id)
export_from_model(model, output="ov_model", task="stable-diffusion")