Skip to content

[TVMC] Fix tvmc run when using rpc#11757

Merged
leandron merged 2 commits into
apache:mainfrom
lhutton1:fix-tvmc-rpc
Jun 20, 2022
Merged

[TVMC] Fix tvmc run when using rpc#11757
leandron merged 2 commits into
apache:mainfrom
lhutton1:fix-tvmc-rpc

Conversation

@lhutton1

Copy link
Copy Markdown
Contributor

As described in #11707, the RPC mechanism does not support objects of type Map which breaks the use of tvmc run when using RPC after #9889. This commit intends to workaround this issue by providing a fallback to the old implementation when RPC is being used. Further, a test has been provided to help prevent this regression in the future.

cc @leandron @leeexyz @masahi @Mousius @gromero

As described in apache#11707, the RPC mechanism does not support
objects of type Map which breaks the use of tvmc run when using
RPC after apache#9889. This commit intends to workaround this issue by
providing a fallback to the old implementation when RPC is being
used. Further, a test has been provided to help prevent this
regression in the future.

Change-Id: I70c1863d00098270e27c08ba834a3587e9132d69
Change-Id: I958cf4e19988d047bdd2e02f6475b9f70afe80c8

@leandron leandron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks @lhutton1!

@leandron leandron merged commit 8bf6cd5 into apache:main Jun 20, 2022
@lhutton1 lhutton1 deleted the fix-tvmc-rpc branch June 20, 2022 12:48
lhutton1 added a commit to lhutton1/tvm that referenced this pull request Jun 21, 2022
* [TVMC] Fix tvmc run when using rpc

As described in apache#11707, the RPC mechanism does not support
objects of type Map which breaks the use of tvmc run when using
RPC after apache#9889. This commit intends to workaround this issue by
providing a fallback to the old implementation when RPC is being
used. Further, a test has been provided to help prevent this
regression in the future.

Change-Id: I70c1863d00098270e27c08ba834a3587e9132d69

* fix lint

Change-Id: I958cf4e19988d047bdd2e02f6475b9f70afe80c8
blackkker pushed a commit to blackkker/tvm that referenced this pull request Jul 7, 2022
* [TVMC] Fix tvmc run when using rpc

As described in apache#11707, the RPC mechanism does not support
objects of type Map which breaks the use of tvmc run when using
RPC after apache#9889. This commit intends to workaround this issue by
providing a fallback to the old implementation when RPC is being
used. Further, a test has been provided to help prevent this
regression in the future.

Change-Id: I70c1863d00098270e27c08ba834a3587e9132d69

* fix lint

Change-Id: I958cf4e19988d047bdd2e02f6475b9f70afe80c8
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.

2 participants