Skip to content

Version 2.40.0

Choose a tag to compare

@aimet-bot aimet-bot released this 21 Sep 19:34
70091e7

2.40.0

  • New Features

    • ONNX
      • Add encodings_to_onnx_qdq to convert an ONNX model plus encodings into a QDQ model (fcfc439)
      • Add session_options_kwargs argument to QuantizationSimModel to set onnxruntime session options (c173926)
      • Accept an explicit LlmTopology in apply_spinquant and apply_adascale (00c6089, c548be0)
      • Enable FP8 (float8e4m3fn, float8e5m2) quantization simulation on both CPU and CUDA, completing FP8 support alongside ONNX QDQ export (644c7bd)
    • Torch
      • Implement set_weight_quantizer_to_nvfp4_int8 API (05cc606)
  • Bug fixes and Improvements

    • ONNX

      • Fix calibration state restoration in QuantizationSimModel (df58875)
      • Analyze LLM topology and run SpinQuant on onnx_ir instead of ConnectedGraph (23633b1, 7b9aef6, 092a9dc)
      • Add all kv-cache inputs/outputs to LlmTopology (68e24d2)
      • Drop ignored connected_graph parameter from get_decoder_block_boundaries (2d71c85)
      • Auto-upcast fp16 AdaScale blocks to bf16 (1f03b7c)
      • Default to using all float outputs in make_psnr_eval_fn (5c41452)
    • Torch

      • Fix device mismatch upon .to() for qmodules with pre-quantized parameters (4111e41)
      • Fix fp4-int8 dynamo export bug (68588d4)
    • Common

      • Exclude depthwise Conv/ConvTranspose from supergroups and fix false negatives in depthwise conv detection (7729c97, 2a6b723)
      • Publish a single wheel per platform instead of +cpu/+cuXXX variants to the GitHub release (4fc12d8)