Skip to content

Releases: huggingface/optimum

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

v1.23.1: Patch release

11 Oct 10:37
Compare
Choose a tag to compare
  • Fix doc build by @regisss in #2050
  • Don't hardcode the logger level to INFO let users set TRANSFORMERS_VERBOSITY by @tomaarsen in #2047
  • Add workflow to mark issues as stale by @regisss in #2051
  • Fix onnx export when transformers >= v4.45 (impacting sentence-transformers and timm models) by @echarlaix in #2053 and #2054

v1.23.0: ORTDiffusionPipeline, transformers v4.45

10 Oct 11:52
Compare
Choose a tag to compare

ONNX Runtime Diffusion pipeline

Adding ORTDiffusionPipeline to simplify diffusers model loading by @IlyasMoutawwakil in #1960 and #2021

  model_id = "runwayml/stable-diffusion-v1-5"
- pipeline = ORTStableDiffusionPipeline.from_pretrained(model_id, revision="onnx")
+ pipeline = ORTDiffusionPipeline.from_pretrained(model_id, revision="onnx")
  image = pipeline("sailing ship in storm by Leonardo da Vinci").images[0]

Transformers v4.45

Transformers v4.45 support by @echarlaix in #2023 and #2045

Subfolder

Remove the restriction for the model's config to be in the model's subfolder by @echarlaix in #2044

New Contributors

Full Changelog: v1.22.0...v1.23.0

v1.22.0: transformers 4.44 compatibility, bugfixes

10 Sep 21:37
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.21.4...v1.22.0

v1.21.4: Patch release

16 Aug 13:25
Compare
Choose a tag to compare

Full Changelog: v1.21.3...v1.21.4

v1.21.3: Patch release

06 Aug 15:44
Compare
Choose a tag to compare

Full Changelog: v1.21.2...v1.21.3

v1.21.2: Patch release

05 Jul 11:46
Compare
Choose a tag to compare

Full Changelog: v1.21.1...v1.21.2

v1.21.1: Patch release

02 Jul 14:38
Compare
Choose a tag to compare

Full Changelog: v1.21.0...v1.21.1