Skip to content

[ONNX] Add support for QLinearConcat contrib op#8907

Merged
masahi merged 10 commits intoapache:mainfrom
anwang2009:aw/qlinearconcat
Sep 8, 2021
Merged

[ONNX] Add support for QLinearConcat contrib op#8907
masahi merged 10 commits intoapache:mainfrom
anwang2009:aw/qlinearconcat

Conversation

@anwang2009
Copy link
Copy Markdown
Contributor

  • Moves get_scalar to common point where other Q op impls can reach it.
  • Adds QLinearConcat
  • Note the Lowering function within _qnn.op.concatenate will requantize as necessary, so there is nothing special necessary that needs to be done here for this Q op.

@anwang2009
Copy link
Copy Markdown
Contributor Author

cc @AndrewZhaoLuo @mbrookhart

Copy link
Copy Markdown
Contributor

@AndrewZhaoLuo AndrewZhaoLuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments but LGTM

Comment thread python/tvm/relay/frontend/onnx.py
Comment thread python/tvm/relay/frontend/onnx.py
Comment thread tests/python/frontend/onnx/test_forward.py Outdated
@tmoreau89
Copy link
Copy Markdown
Contributor

Awesome to see this thank you @anwang2009 ! Could you add the [ONNX] tag to the PR? Thank you!

@anwang2009 anwang2009 changed the title Add support for QLinearConcat contrib op [ONNX] Add support for QLinearConcat contrib op Sep 3, 2021
Copy link
Copy Markdown
Contributor

@mbrookhart mbrookhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Looks like you hit a flaky test, try relaunching CI?

Copy link
Copy Markdown
Contributor

@tmoreau89 tmoreau89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thank you!

@tmoreau89
Copy link
Copy Markdown
Contributor

It seems we have a CI error which I'm not sure relates to the PR at all:

java.io.IOException: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class org.jenkinsci.plugins.workflow.job.WorkflowRun

@AndrewZhaoLuo
Copy link
Copy Markdown
Contributor

It seems we have a CI error which I'm not sure relates to the PR at all:

java.io.IOException: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class org.jenkinsci.plugins.workflow.job.WorkflowRun

If you jostle ci via git commit -m "jostle ci" --allow-empty` and push it should restart it. It's jsut something flaky with CI

@masahi masahi merged commit 475e9e0 into apache:main Sep 8, 2021
ylc pushed a commit to ylc/tvm that referenced this pull request Sep 29, 2021
* add qlinearconcat op

* fix tests

* Fix

* lint

* lint

* review

* boop ci

* fix regression

* noop

* jostle ci
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
* add qlinearconcat op

* fix tests

* Fix

* lint

* lint

* review

* boop ci

* fix regression

* noop

* jostle ci
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.

5 participants