-
Notifications
You must be signed in to change notification settings - Fork 48
[ONNX Importer] Incorrect return type for ops from "com.microsoft" domain (!torch.none) #949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This op is not part of https://onnx.ai/onnx/operators/ doc: https://github.com/microsoft/onnxruntime/blob/main/docs/ContribOperators.md#com.microsoft.QLinearAdd More information regarding this: onnx/onnx#5895 |
ONNX Runtime ticket to track the support -> microsoft/onnxruntime#24028 |
ORT changes are merged . Working on supporting the op using the ort shape inference |
QLinearLeakyRelu - Model : yolov3-12-int8
|
QLinearConcat - Model : version-RFB-320-int8
|
onnx.QLinearGlobalAveragePool - Model: squeezenet1.0-12-int8
|
@vivekkhandelwal1 IR with ort shape inference for QLinearAdd
|
The lowering for the |
Hi @pravg-amd, can you please add the repro IRs for other ops? |
QLinearLeakyRelu
|
QLinearConcat
|
QLinearGlobalAveragePool
|
The lowering for the |
The lowering for remaining 2 ops are added here: |
All the PRs, related to this issue are merged. |
QLinearSigmoid
|
FusedMatMul
|
QLinearAveragePool
|
Some of the onnx zoo models have" QLinearAdd" op which results in return type !torch.none on importing the model.
Steps to reproduce:
Build SHARK-TestSuite by following the steps below
https://github.com/nod-ai/SHARK-TestSuite/tree/main/alt_e2eshark
Run the following command
The model will be available test-run/bvlcalexnet-12-int8/
bvlcalexnet-12-int8
squeezenet1.0-12-int8
caffenet-12-int8
densenet-12-int8
vgg16-12-int8
mobilenetv2-12-int8
The text was updated successfully, but these errors were encountered: