Skip to content

v0.3.5

Latest

Choose a tag to compare

@begumcig begumcig released this 29 Oct 16:30
3795e63

The juiciest bits 🧃

FP8 quantization lands in the garden 🌱

This release brings two new FP8 quantization algorithms: a static one, and a time-aware one built for diffusion pipelines. Time-aware quantization already works with more pipelines, and there is a tutorial to walk you through both. All of it comes from @kfachikov, who joined us as a first-time contributor this release and did not slow down once!

  • feat: add static fp8 quantization algorithm by @kfachikov in #733
  • feat: add time-aware fp8 quantization for diffuser by @kfachikov in #737
  • feat: support for more pipelines for time-aware quantization by @kfachikov in #746
  • feat: tutorial on static and time-aware quantizrion algorithms by @kfachikov in #741

A new metric for the evaluation toolbox 📊

Locking the garden gate 🔒

We tightened security across the repo. Checkpoints now load with weights_only, GitHub Actions are pinned to commit SHAs, and dependency updates wait 7 days before we pick them up:

Some Bug Fixing 🐞 and Maintenance

Metric evaluation, device handling and diffusers pipelines all got a round of fixes:

  • fix: unallocate metric model prior restoring original model by @kfachikov in #690
  • fix: file exists on consecutive metric evaluations by @kfachikov in #699
  • fix: make CallSequenceTracker unwrap idempotent for bound methods by @FAdrien in #701
  • fix: parameters order assumption in diffuser by @kfachikov in #706
  • fix: use dtype instead of deprecated torch_dtype by @xyf5432 in #735
  • fix: always move diffusers pipelines in move_to_device by @begumcig in #778

We also capped a few dependencies to keep installs stable, and kept the test suite up to date with new library versions:

  • build: cap pyarrow below 26 in the vbench extra by @begumcig in #785
  • fix: cap huggingface-hub below 2.0 by @begumcig in #790
  • test: change test fixure for new diffusers version by @begumcig in #777
  • test: stop patching OTLP exporter internals in telemetry log-level tests by @begumcig in #779
  • build: bump pruna version to v0.3.5 by @begumcig in #789

Documentation updates 📚

A new tutorial shows how to measure the energy and emissions side of your optimized models:

New Faces in the Garden 👩‍🌾

Five first-time contributors this release, our biggest batch yet 💐

Full Changelog: v0.3.4...v0.3.5