Skip to content

Releases: huggingface/optimum

v1.27.0: Last release before v2, Transformers 4.53 support, SmolLM3, VisualBert...

30 Jul 17:15
Compare
Choose a tag to compare

🚀 Major Upgrades

🔧 Enhancements & Fixes

🧹 Deprecations & v2

  • Deprecated support for TFLite, BetterTransformer, and ONNXRuntime‑Training, these integrations will be fully removed in v2.
  • TensorFlow models export will be removed in v2, consistent with Transformer library dropping TF/JAX support.
  • ONNX and ONNXRuntime integrations will move into the new Optimum‑ONNX package.

New Contributors

Full Changelog: v1.26.1...v1.27.0

v1.26.1: Patch release

13 Jun 10:30
Compare
Choose a tag to compare

Add back from_transformers for base model by @echarlaix in #2288

v1.26.0: ColPali, D-FINE, InternLM2

13 Jun 07:54
Compare
Choose a tag to compare

ONNX export

New features & enhancements

New Contributors

v1.25.3: Patch release

16 May 14:23
Compare
Choose a tag to compare

Full Changelog**: v1.25.2...v1.25.3

v1.25.2: Patch release

15 May 16:30
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.25.1...v1.25.2

v1.25.1: Patch release

15 May 13:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.25.0...v1.25.1

v1.25.0: ViTPose, RT-DETR, EfficientNet, Moonshine ONNX

13 May 15:21
Compare
Choose a tag to compare

🚀 New Features & Enhancements

  • Add ONNX export support for ViTPose, RT-DETR, EfficientNet, Moonshine
  • Infer if the model needs to be exported to ONNX during loading
  from optimum.onnxruntime import ORTModelForCausalLM

  model_id = "meta-llama/Llama-3.2-1B"
- model = ORTModelForCausalLM.from_pretrained(model_id, export=True)
+ model = ORTModelForCausalLM.from_pretrained(model_id)
  • Transformers v4.49, v4.50 and v4.51 compatibility

👥 New Contributors

A huge thank you to our first-time contributors:

What's Changed

v1.24.0: SD3 & Flux, DinoV2, Modernbert, GPTQModel, Transformers v4.48...

30 Jan 16:26
Compare
Choose a tag to compare

Release Notes: Optimum v1.24.0

We’re excited to announce the release of Optimum v1.24.0. This update expands ONNX-based model capabilities and includes several improvements, bug fixes, and new contributions from the community.

🚀 New Features & Enhancements

  • ORTQuantizer now supports models with ONNX subfolders.
  • ONNX Runtime IO Binding support for all supported Transformers models (no models left behind).
  • SD3 and Flux model support added to ORTDiffusionPipeline enabling latest diffusion-based models.
  • Transformers v4.47 and v4.48 compatibility, ensuring seamless integration with the latest advancements in Hugging Face's ecosystem.
  • ONNX export support extended to various models, including Decision Transformer, ModernBERT, Megatron-BERT, Dinov2, OLMo, and many more (see details).

🔧 Key Fixes & Optimizations

  • Dropped support for Python 3.8
  • Bug fixes in ModelPatcher, SDXL refiner export, and device checks for improved reliability.

👥 New Contributors

A huge thank you to our first-time contributors:

Your contributions make Optimum better! 🎉

For a detailed list of all changes, please check out the full changelog.

🚀 Happy optimizing!

What's Changed

v1.23.3: Patch release

29 Oct 17:44
Compare
Choose a tag to compare

v1.23.2: Patch release

22 Oct 15:04
Compare
Choose a tag to compare

Full Changelog: v1.23.1...v1.23.2