Skip to content

v1.7.0: OpenVINO pruning, knowledge distillation, Stable Diffusion models inference

Compare
Choose a tag to compare
@echarlaix echarlaix released this 02 Mar 16:42
· 536 commits to main since this release

NNCF Joint pruning quantization and distillation

Enable joint pruning, quantization and distillation through the OVTrainer by @vuiseng9 in #150

Stable Diffusion models OpenVINO export and inference

Add stable diffusion OpenVINO pipeline by @echarlaix in #195

from optimum.intel.openvino import OVStableDiffusionPipeline

model_id = "stabilityai/stable-diffusion-2-1"
stable_diffusion = OVStableDiffusionPipeline.from_pretrained(model_id, export=True)
prompt = "sailing ship in storm by Rembrandt"
images = stable_diffusion(prompt).images