github huggingface/optimum-intel v1.15.0
v1.15.0: Improved OpenVINO export support

latest releases: v1.20.1, v1.20.0, v1.19.0...
8 months ago
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")

Don't miss a new optimum-intel release

NewReleases is sending notifications on new releases.