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

[Relay][heterogeneous pass] remove on_device op after annotation #3204

Merged
merged 2 commits into from
May 21, 2019

Conversation

zhiics
Copy link
Member

@zhiics zhiics commented May 17, 2019

This PR removes the on_device operator after rewriting the annotated graph so that users can conveniently use this pass.

cc' @kazum @imorinaga @jroesch @yzhliu

@jroesch
Copy link
Member

jroesch commented May 17, 2019

Looks good, idea is to only leave the copies in place?

@zhiics
Copy link
Member Author

zhiics commented May 17, 2019

@jroesch Yes. With on_device on the leaves, users have to specifically exclude them.

@jroesch
Copy link
Member

jroesch commented May 20, 2019

@imorinaga could you explicitly approve the changes using the interface?

@jroesch jroesch self-assigned this May 20, 2019
@imorinaga
Copy link
Contributor

Looks good to me.

@jroesch jroesch merged commit 21935dc into apache:master May 21, 2019
@zhiics zhiics deleted the remove_on_device branch May 21, 2019 19:58
wweic pushed a commit to wweic/tvm that referenced this pull request Jun 26, 2019
…che#3204)

* remove on_device op after annotation

* Update src/relay/pass/device_annotation.cc

Co-Authored-By: MORINAGA <[email protected]>
wweic pushed a commit to neo-ai/tvm that referenced this pull request Jun 27, 2019
…che#3204)

* remove on_device op after annotation

* Update src/relay/pass/device_annotation.cc

Co-Authored-By: MORINAGA <[email protected]>
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