You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by co...@apache.org on 2020/10/26 20:42:50 UTC

[incubator-tvm] branch main updated: [TVMC] 'tvmc run' --rpc-tracker and --rpc-tracker fail due to argparse misconfiguration (#6762)

This is an automated email from the ASF dual-hosted git repository.

comaniac pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 5051943  [TVMC] 'tvmc run' --rpc-tracker and --rpc-tracker fail due to argparse misconfiguration (#6762)
5051943 is described below

commit 5051943f6c2507a2c48db74d82134f4925122514
Author: Leandro Nunes <le...@gmail.com>
AuthorDate: Mon Oct 26 20:42:37 2020 +0000

    [TVMC] 'tvmc run' --rpc-tracker and --rpc-tracker fail due to argparse misconfiguration (#6762)
    
    to be identified as a list of strings, rathat than the expected
    string type.
    
    
    Co-authored-by: Giuseppe Rossini <gi...@arm.com>
    
    Co-authored-by: Giuseppe Rossini <gi...@arm.com>
---
 python/tvm/driver/tvmc/runner.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/python/tvm/driver/tvmc/runner.py b/python/tvm/driver/tvmc/runner.py
index d86d4db..a4abe8c 100644
--- a/python/tvm/driver/tvmc/runner.py
+++ b/python/tvm/driver/tvmc/runner.py
@@ -86,12 +86,10 @@ def add_run_parser(subparsers):
     )
     parser.add_argument(
         "--rpc-key",
-        nargs=1,
         help="the RPC tracker key of the target device",
     )
     parser.add_argument(
         "--rpc-tracker",
-        nargs=1,
         help="hostname (required) and port (optional, defaults to 9090) of the RPC tracker, "
         "e.g. '192.168.0.100:9999'",
     )