You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/05/13 22:55:23 UTC

[GitHub] [tvm] comaniac commented on a change in pull request #8039: Fix minor issues in the tvmc tune CLI

comaniac commented on a change in pull request #8039:
URL: https://github.com/apache/tvm/pull/8039#discussion_r632151817



##########
File path: python/tvm/driver/tvmc/autotuner.py
##########
@@ -116,7 +116,7 @@ def add_tune_parser(subparsers):
         help="the host compilation target, defaults to 'llvm'",
         default="llvm",
     )
-    parser.add_argument("--timeout", default=10, help="compilation timeout, in seconds")
+    parser.add_argument("--timeout", default=10, help="compilation timeout, in seconds", type=int)

Review comment:
       ```suggestion
       parser.add_argument("--timeout", type=int, default=10, help="compilation timeout, in seconds")
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org