unstale

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-11-30.

10 breaking1 deprecations23 new APIs and options5 performance11 behavior and defaults1 tooling9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

ai-edge-quantizer 0.107 changes

Breaking changes 3

  • Imports change from ai_edge_quantizer to litert_quantizer; the API is otherwise unchanged.

    0.10.1release notes

  • The command-line tool is renamed from aeq to litert-quantizer.

    0.10.1release notes

  • The replacement package is installed with pip install litert-quantizer.

    0.10.1release notes

Deprecations 1

  • Importing the package now emits a deprecation warning.

    0.10.1release notes

New APIs and options 2

  • Adds an experimental algorithm for FULLY_CONNECTED that combines activation-aware per-channel activation scaling with optimal weight clipping.

    0.10.0release notes

  • Adds uint8 data type support for model INPUT/OUTPUT tensors in recipes, enabling compatibility with some hardware accelerators.

    0.10.0release notes

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.

    0.10.0release notes

ai-edge-quantizer 0.920 changes

Breaking changes 1

  • Same-size Hadamard matrices now use a single tensor, and inserted Hadamard matrices are float.

    0.9.0release notes

New APIs and options 8

  • Recipes and buffer packing were added for 2-bit model quantization.

    0.9.0release notes

  • Weight recovery algorithms now support scale recovery and blockwise quantization, with ready-to-use 4-bit and 8-bit named recipes.

    0.9.0release notes

  • Calibrator and Quantizer gained a profiler-based calibration mode for faster, more memory-efficient XNNPACK-assisted calibration.

    0.9.0release notes

  • A calibration API was added that lets developers reuse the inference pipeline for calibration.

    0.9.0release notes

  • GPTQ support was added as a quantization algorithm.

    0.9.0release notes

  • Int4 matrix multiplication Hadamard transforms gained a max_hadamard_size control.

    0.9.0release notes

  • LiteRT-LM files can now be read, quantized, and written, including extracting serialized TFLite models and applying recipes across TFLiteModel sections.

    0.9.0release notes

  • Model validation now supports multiple metrics.

    0.9.0release notes

Performance 5

  • Large tensors are processed in chunks along the leading dimension to avoid generating large intermediate values.

    0.9.0release notes

  • These buffers are explicitly garbage-collected immediately after output buffer writing to reclaim memory.

    0.9.0release notes

  • Model serialization uses disk-backed memory mappings and chunk-by-chunk file writing to prevent OOM errors on large LLMs.

    0.9.0release notes

  • 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.

    0.9.0release notes

  • Quantization uses zero-copy array views and in-place core operations instead of unnecessary copies, lowering peak memory usage.

    0.9.0release notes

Tooling 1

  • A CLI was introduced for running model quantization workflows from the terminal.

    0.9.0release notes

Fixes and other changes 5

  • Calibration metadata tracking was added.

    0.9.0release notes

  • Crashes in float casting operations with non-constant weights were fixed.

    0.9.0release notes

  • Output tensors are no longer inadvertently rotated during fully connected op processing.

    0.9.0release notes

  • Accidental double-quantization of input tensors is prevented.

    0.9.0release notes

  • Progress bars and reports were added for quantization steps and calibration passes.

    0.9.0release notes

ai-edge-quantizer 0.433 changes

Breaking changes 6

  • Bias error checks are disabled.

    0.4.2release notes

  • Python 3.9 support was dropped and Python 3.13 support was added.

    0.4.2release notes

  • The tensorflow dependency was removed, resulting in a leaner installation.

    0.4.1release notes

  • Removed dynamically quantized FullyConnected and Conv2D from latest operations.

    0.4.0release notes

  • Removed EMBEDDING_LOOKUP from the static quantization allowlist.

    0.4.0release notes

  • Raises an error when the quantized dimension is not divisible by the block size.

    0.4.0release notes

New APIs and options 13

  • Progress bars and reporting utilities were added.

    0.4.2release notes

  • A new dynamic_wi4_afp32_hadamard recipe is available.

    0.4.1release notes

  • AEQ support for the RELU operator now includes int8 and int16.

    0.4.1release notes

  • An option was added to validate tensor outputs exclusively.

    0.4.1release notes

  • Added support for blockwise dequantization in AEQ.

    0.4.0release notes

  • Added Cosine Similarity as a model validation metric.

    0.4.0release notes

  • Added Embedding Lookup to the supported subchannel operations for weight-only quantization.

    0.4.0release notes

  • Added KL Divergence as a model validation metric.

    0.4.0release notes

  • Added Mean Squared Error quantization support for FullyConnected, EmbeddingLookup, Conv, TransposeConv, and DepthWise Conv.

    0.4.0release notes

  • Added validator support for pre-quantized models.

    0.4.0release notes

  • Added int8 and int16 support for REDUCE_MIN via Adaptive Edge Quantization.

    0.4.0release notes

  • Added Signal-to-Noise Ratio (SNR) as a model validation metric.

    0.4.0release notes

  • Added int8 support for SPACE_TO_DEPTH via Adaptive Edge Quantization.

    0.4.0release notes

Behavior and default changes 11

  • Paths now support PathLike objects.

    0.4.2release notes

  • The skip_checks configuration is now propagated.

    0.4.2release notes

  • Decomposed Hadamard is enabled for full integer paths.

    0.4.1release notes

  • For 16-bit activations, quantized bias is now 32 bits and stored as 64 bits.

    0.4.0release notes

  • Increased the error tolerance for bias quantization.

    0.4.0release notes

  • Added int8 and int16 support for EQUAL via Adaptive Edge Quantization.

    0.4.0release notes

  • Removed channel-wise constraints in Hadamard quantization.

    0.4.0release notes

  • Reduced the minimum quantization scale bound from 10^-4 to 10^-9 to support finer precision levels.

    0.4.0release notes

  • Added int8 and int16 support for MIRROR_PAD via Adaptive Edge Quantization.

    0.4.0release notes

  • Added int8 and int16 support for PADV2 via Adaptive Edge Quantization.

    0.4.0release notes

  • Extended the list of quantizable composites.

    0.4.0release notes

Fixes and other changes 3

  • Fixed a bug so the float_casting algorithm can be used in add_weight_only_config.

    0.4.0release notes

  • Fixed the cosine_similarity metric to handle zero-length tensors.

    0.4.0release notes

  • Corrected signature defs when dequantization precedes graph output during Static Range Quantization.

    0.4.0release notes