Skip to content

Support QLinearAdd from onnx runtime com.microsoft contrib ops. - #8305

Merged
masahi merged 3 commits into
apache:mainfrom
mbrookhart:onnx_QLinearAdd
Jul 1, 2021
Merged

Support QLinearAdd from onnx runtime com.microsoft contrib ops.#8305
masahi merged 3 commits into
apache:mainfrom
mbrookhart:onnx_QLinearAdd

Conversation

@mbrookhart

Copy link
Copy Markdown
Contributor

Interestingly, Onnxruntime doesn't actually run this op in integer, they dequantize/run it/requantize. I had to do the same here to get the tests to pass.

Has a kind of crazy way to produce contrib ops from onnx runtime for testing. Let me know what you think.

Comment thread tests/python/frontend/onnx/test_forward.py Outdated
@masahi
masahi merged commit 39e1ffe into apache:main Jul 1, 2021
lygztq pushed a commit to lygztq/tvm that referenced this pull request Jul 1, 2021
…he#8305)

* support QLinearAdd

* fix comment line length

* use platform independent temp directory
@FrozenGene

Copy link
Copy Markdown
Member

@mbrookhart I think you should make a new pull request of test_forward. Because I just find that in ONNX test_forward, your test_qlinearadd doesn't be called.

@mbrookhart

Copy link
Copy Markdown
Contributor Author

======== 82 passed, 1122 deselected, 835 warnings in 723.89s (0:12:03) =========

Something appears to be broken with how CI is running the onnx tests.

ylc pushed a commit to ylc/tvm that referenced this pull request Sep 29, 2021
…he#8305)

* support QLinearAdd

* fix comment line length

* use platform independent temp directory
zxy844288792 pushed a commit to zxy844288792/tvm that referenced this pull request Mar 4, 2022
…he#8305)

* support QLinearAdd

* fix comment line length

* use platform independent temp directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants