Skip to content
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

Don't run non-tvm_op GraphRuntime nodes in Debug Runtime over RPC. #7512

Merged
merged 4 commits into from
Feb 27, 2021

Conversation

areusch
Copy link
Contributor

@areusch areusch commented Feb 24, 2021

  • These are filtered out in SetupOpExecs for normal debug runtime operation.
  • Fixes use of debug runtime with µTVM.

@tmoreau89 @tqchen @jroesch @tkonolige

 * These are filtered out in SetupOpExecs for normal debug runtime
 operation.
@areusch areusch force-pushed the fix-graph-runtime-debug-ops branch from 22f28ae to 5145a28 Compare February 24, 2021 01:58
@tkonolige
Copy link
Contributor

Is this for ops that are extern calls? Like calling into MKL?

@areusch
Copy link
Contributor Author

areusch commented Feb 25, 2021

@tkonolige no, the GraphRuntime has two different paths to run operators: one for local operators where non-kernel ops could be done fairly inexpensively (I.e. layout transforms maybe? this isn't actually used) and one for RPC operators (where that is not easy). right now tvm_op == "null" (for graph nodes which are inputs) or "tvm_op" (for graph nodes which are operator function execs).

@areusch
Copy link
Contributor Author

areusch commented Feb 27, 2021

@tqchen

Copy link
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

@tmoreau89 tmoreau89 merged commit f6d0fee into apache:main Feb 27, 2021
@tmoreau89
Copy link
Contributor

Thanks @tkonolige @areusch the PR has been merged

Lokiiiiii pushed a commit to Lokiiiiii/tvm that referenced this pull request Mar 2, 2021
…pache#7512)

* Don't run non-tvm_op GraphRuntime nodes in Debug Runtime over RPC.

 * These are filtered out in SetupOpExecs for normal debug runtime
 operation.

* retrigger CI

* retrigger CI

* address tkonolige comment
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Mar 2, 2021
…pache#7512)

* Don't run non-tvm_op GraphRuntime nodes in Debug Runtime over RPC.

 * These are filtered out in SetupOpExecs for normal debug runtime
 operation.

* retrigger CI

* retrigger CI

* address tkonolige comment
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