Skip to content

Commit

Permalink
Use '--project-option' in runner too
Browse files Browse the repository at this point in the history
  • Loading branch information
gromero committed Oct 22, 2021
1 parent e2acda0 commit 0e21e63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tvm/driver/tvmc/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def add_run_parser(subparsers, main_parser):
help_text_by_option = [opt["help_text"] for opt in options_by_method["open_transport"]]
help_text = "\n\n".join(help_text_by_option) + "\n\n"
parser.add_argument(
"--options", required=True, metavar="OPTION=VALUE", nargs=nargs, help=help_text
"--project-option", required=True, metavar="OPTION=VALUE", nargs=nargs, help=help_text
)


Expand Down Expand Up @@ -197,7 +197,7 @@ def drive_run(args):
if args.profile:
raise TVMCException("--profile is not supported for micro targets.")

options = get_options(args.options)
options = get_options(args.project_option)
check_options(options, args.valid_options)
check_options_choices(options, args.valid_options)

Expand Down

0 comments on commit 0e21e63

Please sign in to comment.