Skip to content

Releases: huggingface/optimum-intel

v1.12.1: Patch release

08 Nov 09:31
Compare
Choose a tag to compare

v1.12.0: Weight only quantization, LCM, Pix2Struct , GPTBigCode

07 Nov 16:02
Compare
Choose a tag to compare

OpenVINO

Export CLI

optimum-cli export openvino --model gpt2 ov_model

New architectures

LCMs

  • Enable Latent Consistency models OpenVINO export and inference by @echarlaix in #463
from optimum.intel import OVLatentConsistencyModelPipeline

pipe = OVLatentConsistencyModelPipeline.from_pretrained("SimianLuo/LCM_Dreamshaper_v7", export=True)
prompt = "sailing ship in storm by Leonardo da Vinci"
images = pipe(prompt=prompt, num_inference_steps=4, guidance_scale=8.0).images

Pix2Struct

  • Add support for export and inference for pix2struct models by @eaidova in #450

GPTBigCode

  • Add support for export and inference for GPTBigCode models by @echarlaix in #459

Changes and bugfixes

model = OVModelForCausalLM.from_pretrained(model_id, load_in_8bit=True)
  • Create default attention mask when needed but not provided by @eaidova in #457
  • Do not automatically cache models when exporting a model in a temporary directory by @helena-intel in #462

Neural Compressor

Full Changelog: https://github.com/huggingface/optimum-intel/commits/v1.12.0

v1.11.1: Patch release

06 Nov 23:50
Compare
Choose a tag to compare

Full Changelog: v1.11.0...v1.11.1

v1.11.0: MPT, TIMM models, VAE image processor

08 Sep 13:16
Compare
Choose a tag to compare

OpenVINO

Neural Compressor

Full Changelog: https://github.com/huggingface/optimum-intel/commits/v1.11.0

v1.10.1: Patch release

26 Jul 15:00
Compare
Choose a tag to compare

v1.10.0: Stable Diffusion XL pipelines

25 Jul 16:09
Compare
Choose a tag to compare

Stable Diffusion XL

Enable SD XL OpenVINO export and inference for text-to-image and image-to-image tasks by @echarlaix in #377

from optimum.intel import OVStableDiffusionXLPipeline

model_id = "stabilityai/stable-diffusion-xl-base-0.9"
pipeline = OVStableDiffusionXLPipeline.from_pretrained(model_id, export=True)

prompt = "sailing ship in storm by Leonardo da Vinci"
image = pipeline(prompt).images[0]
pipeline.save_pretrained("openvino-sd-xl-base-0.9")

More examples in documentation

Full Changelog: v1.9.0...v1.10.0

v1.9.4: Patch release

20 Jul 22:45
Compare
Choose a tag to compare
  • Fix OVDataLoader for NNCF quantization aware training for transformers > v4.31.0 by @echarlaix in #376

Full Changelog: v1.9.3...v1.9.4

v1.9.3: Patch release

30 Jun 16:24
Compare
Choose a tag to compare

Full Changelog: v1.9.2...v1.9.3

v1.9.2: Patch release

26 Jun 22:31
Compare
Choose a tag to compare
  • Fix INC distillation to be compatible with neural-compressor v2.2.0 breaking changes by @echarlaix in #338

v1.9.1: Patch release

15 Jun 15:47
Compare
Choose a tag to compare
  • Fix inference for OpenVINO export for causal language models by @echarlaix in #351