pypi / ai-edge-quantizer
ai-edge-quantizer
What changed in ai-edge-quantizer 0.4 to 0.10, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
3 breaking11 new APIs and options5 performance2 behavior and defaults1 tooling6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initai-edge-quantizer 0.103 changes
New APIs and options 2
Adds an experimental algorithm for FULLY_CONNECTED that combines activation-aware per-channel activation scaling with optimal weight clipping.
Adds uint8 data type support for model INPUT/OUTPUT tensors in recipes, enabling compatibility with some hardware accelerators.
Fixes and other changes 1
Recipe validation no longer requires weight_tensor_config for ops without weights, such as model INPUT/OUTPUT, so dummy weight configs are unnecessary.
ai-edge-quantizer 0.920 changes
Breaking changes 1
Same-size Hadamard matrices now use a single tensor, and inserted Hadamard matrices are float.
New APIs and options 8
Recipes and buffer packing were added for 2-bit model quantization.
Weight recovery algorithms now support scale recovery and blockwise quantization, with ready-to-use 4-bit and 8-bit named recipes.
Calibrator and Quantizer gained a profiler-based calibration mode for faster, more memory-efficient XNNPACK-assisted calibration.
A calibration API was added that lets developers reuse the inference pipeline for calibration.
GPTQ support was added as a quantization algorithm.
Int4 matrix multiplication Hadamard transforms gained a max_hadamard_size control.
LiteRT-LM files can now be read, quantized, and written, including extracting serialized TFLite models and applying recipes across TFLiteModel sections.
Model validation now supports multiple metrics.
Performance 5
Large tensors are processed in chunks along the leading dimension to avoid generating large intermediate values.
These buffers are explicitly garbage-collected immediately after output buffer writing to reclaim memory.
Model serialization uses disk-backed memory mappings and chunk-by-chunk file writing to prevent OOM errors on large LLMs.
Buffer mapping IDs are tracked, producer and consumer ops are pre-computed, and empty buffers are pruned to reduce serialized file size and parsing overhead.
Quantization uses zero-copy array views and in-place core operations instead of unnecessary copies, lowering peak memory usage.
Tooling 1
A CLI was introduced for running model quantization workflows from the terminal.
Fixes and other changes 5
Calibration metadata tracking was added.
Crashes in float casting operations with non-constant weights were fixed.
Output tensors are no longer inadvertently rotated during fully connected op processing.
Accidental double-quantization of input tensors is prevented.
Progress bars and reports were added for quantization steps and calibration passes.
ai-edge-quantizer 0.45 changes
Breaking changes 2
Bias error checks are disabled.
Python 3.9 support was dropped and Python 3.13 support was added.
New APIs and options 1
Progress bars and reporting utilities were added.
Behavior and default changes 2
Paths now support PathLike objects.
The skip_checks configuration is now propagated.