aimet icon indicating copy to clipboard operation
aimet copied to clipboard

2.13.0 is not compatible with ONNX 1.19.0

Open xiaoyu-work opened this issue 1 year ago • 4 comments

ONNX just released new version 1.19.0 and it removes mapping. Here are a few reference links that might be helpful for your fix:

  • https://github.com/quic/aimet/blob/2.13.0/TrainingExtensions/onnx/src/python/aimet_onnx/utils.py#L5
  • https://github.com/onnx/onnx/pull/6914
  • https://github.com/microsoft/Olive/pull/2129/files

Can we have a dot release to fix this issue? Thanks!

xiaoyu-work avatar Aug 29 '25 22:08 xiaoyu-work

Thank you @xiaoyu-work for filing this.

We are aware of this and actually waiting for 1.19.0 update that fixes opset upgrade bug for large models :) We will soon add support for ONNX 1.19.0

bhushan23 avatar Aug 30 '25 06:08 bhushan23

onnx1.18.0 changed the implementation of Extractor, which would cause a keyerror when quantifying the onnx model using the mse method. 1.19.0 also changed the implementation and name of mapping, which would lead to the failure of importing the mapping module. After my testing, To use aimet-onnx2.13.0, the onnx version must be less than or equal to 1.17.0

742671920 avatar Sep 01 '25 04:09 742671920

Hi @xiaoyu-work , @742671920 , thanks for reporting. These issues will be fixed in the next release expected early next week

michaelgtuttle avatar Sep 05 '25 21:09 michaelgtuttle

issue fixed

quic-bhushans avatar Mar 16 '26 21:03 quic-bhushans