Skip to content

Version 2.38.0

Choose a tag to compare

@aimet-bot aimet-bot released this 24 Aug 21:10
3166759

2.38.0

  • New Features

    • ONNX
      • Add QSpec and QcQuantizeOp.set_qspec to configure a quantizer's precision, granularity, and symmetry in a single call (495702e)
      • Accept QSpec in set_param_type to configure blockwise/LPBQ param quantization (e29e8d9)
      • Add experimental create_truncation_aware_session to simulate int32 accumulator truncation for MatMul/Conv (cc65cdc)
      • Support SpinQuant R1 with online embedding rotation, including models with no LM head (8960f1b, 9a7726e)
    • Torch
      • Preserve the graph signature of user inputs throughout aimet_torch.export (443f638)
    • Common
      • Propagate encodings of grid-equivariant ops at export time (89bf3b7)
  • Bug fixes and Improvements

    • ONNX

      • Skip overwriting encodings of frozen quantizers when loading encodings (1feeb61)
      • Consolidate LPBQ encoding loading directly onto QcQuantizeOp in support of the new QSpec API (354a33e)
    • Torch

      • Permanently remove the deprecated enable_recompute API; use torch.utils.checkpoint instead (006db48)
      • Fix sequential MSE failure with deepspeed 0.19.4 (cee185a)
      • Export transposed linear weight as a param encoding in v1.0.0 format (2411e7f)
      • Recognize quantize_per_tensor/dequantize_per_tensor as quantization encodings during ONNX QDQ export (d76bb1e)
      • Suppress encoding propagation across RotaryEmbedding boundary during export (0d653dc)
    • Common

      • Fix sin/cos output range to -1..1 in default quantsim configs (2c95329)