2.13.0 is not compatible with ONNX 1.19.0
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!
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
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
Hi @xiaoyu-work , @742671920 , thanks for reporting. These issues will be fixed in the next release expected early next week
issue fixed