tmoreau89 opened a new issue #8838:
URL: https://github.com/apache/tvm/issues/8838


   ### Summary
   
   This issue will be used to track ONNX importer coverage progress of standard 
and non-standard quantized ops in TVM, and can be used to coordinate 
distributed efforts on improving quantized importer coverage work across 
organizations. 
   
   ### Status
   
   To this day (Aug 24th 2021) we'd like to account for both standard ONNX 
quantized ops and non-standard quantized contrib ops introduced by ONNXRT, as 
shown in the table below:
   
   
   | Operator | Standard | Opset | Status | Owner | PR |
   |---|---|---|---|---|---|
   | 
[ConvInteger](https://github.com/onnx/onnx/blob/master/docs/Operators.md#ConvInteger)
 | Y | 10 | Supported | @jwfromm | https://github.com/apache/tvm/pull/8456 |
   | 
[DequantizeLinear](https://github.com/onnx/onnx/blob/master/docs/Operators.md#DequantizeLinear)
 | Y | 13, 10 | Supported | @mbrookhart | 
https://github.com/apache/tvm/pull/7802 |
   | 
[DynamicQuantizeLinear](https://github.com/onnx/onnx/blob/master/docs/Operators.md#DynamicQuantizeLinear)
 | Y | 11 | Supported | @mbrookhart | https://github.com/apache/tvm/pull/7802 |
   | 
[MatMulInteger](https://github.com/onnx/onnx/blob/master/docs/Operators.md#MatMulInteger)
 | Y | 10 | TODO |  |  |
   | 
[QLinearConv](https://github.com/onnx/onnx/blob/master/docs/Operators.md#QLinearConv)
 | Y | 10 | Supported | @huochaitiantang | 
https://github.com/apache/tvm/pull/8007 |
   | 
[QLinearMatMul](https://github.com/onnx/onnx/blob/master/docs/Operators.md#QLinearMatMul)
 | Y | 10 | TODO |  |  |
   | 
[QuantizeLinear](https://github.com/onnx/onnx/blob/master/docs/Operators.md#QuantizeLinear)
 | Y | 13, 10 | Supported | @mbrookhart | 
https://github.com/apache/tvm/pull/7802 |
   | 
[com.microsoft.DequantizeLinear](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.DequantizeLinear)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.DynamicQuantizeLSTM](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.DynamicQuantizeLSTM)
 | N | n/a | TODO |  |  |
   | [com.microsoft.DynamicQuantizeMatMul]( 
https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.DynamicQuantizeMatMul)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.MatMulInteger16](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.MatMulInteger16)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.MatMulIntegerToFloat](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.MatMulIntegerToFloat)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.MulInteger](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.MulInteger)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.QAttention](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QAttention)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.QGemm](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QGemm)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.QLinearAdd](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QLinearAdd)
 | N | n/a | Supported | @mbrookhart | https://github.com/apache/tvm/pull/8305 |
   | 
[com.microsoft.QLinearAveragePool](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QLinearAveragePool)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.QLinearConcat](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QLinearConcat)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.QLinearConv](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QLinearConv)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.QLinearGlobalAveragePool](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QLinearGlobalAveragePool)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.QLinearLeakyRelu](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QLinearLeakyRelu)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.QLinearMul](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QLinearMul)
 | N | n/a | Supported | @anwang2009 | https://github.com/apache/tvm/pull/8773 |
   | 
[com.microsoft.QLinearReduceMean](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QLinearReduceMean)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.QLinearSigmoid](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QLinearSigmoid)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.QuantizeLinear](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.QuantizeLinear)
 | N | n/a | TODO |  |  |
   | 
[com.microsoft.ReduceSumInteger](https://github.com/microsoft/onnxruntime/blob/master/docs/ContribOperators.md#com.microsoft.ReduceSumInteger)
 | N | n/a | TODO |  |  |
   
   ### Coordination
   
   Improving the importers can be a good onboarding task for engineers that 
would like to get a more in-depth exposure to the TVM stack. The goal is that 
if folks want to claim an operator they can feel reassured that their work 
won't be deprecated by work that is in flight.
   
   We provide reference PRs that can serve as a template to adding a quantized 
standard op: https://github.com/apache/tvm/pull/7802 by @mbrookhart. As well as 
non-standard op from the Microsoft ContribOperators set in ONNXRT: 
https://github.com/apache/tvm/pull/8773 by @anwang2009.
   
   Please comment in this issue if you'd like to add to Relay ONNX importer 
coverage so I can update the table.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to