Skip to content

Conversation

@ekalda
Copy link
Contributor

@ekalda ekalda commented Jan 31, 2023

A simple tvmc tune command currently results in a huge wall of warnings about target_host parameter being deprecated, even when the user hasn't provided a target-host cmd line argument.

We can prevent that happening from just not providing the default target-host to tvmc. Also, ensure that when the user does provide target-host, we print the warning once, not 500 times.

A simple tvmc tune command currently results in a huge wall of warnings
about target_host parameter being deprecated, even when the user hasn't
provided a target-host cmd line argument.

We can prevent that happening from just not providing the default
target-host to tvmc. Also, ensure that when the user does provide
target-host, we print the warning once, not 500 times.
@tvm-bot
Copy link
Collaborator

tvm-bot commented Jan 31, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

Copy link
Contributor

@asparkhi asparkhi left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @ekalda for the screen log improvements 😄

@asparkhi asparkhi merged commit 62a69a6 into apache:main Feb 3, 2023
@ekalda ekalda deleted the tvmc-tune-fix branch February 3, 2023 10:37
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.

4 participants