Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX,AUTOTVM] Print warning when all autotvm tasks fail with errors #6612

Merged
merged 7 commits into from Oct 5, 2020

Conversation

tkonolige
Copy link
Contributor

I recently encountered an issue where all my autotvm tasks failed. Unfortunately, I got no warnings, so I was very confused when I got a bunch of fallback config messages.

This PR fixes this situation by printing an error message is no config can be generated.

python/tvm/autotvm/tuner/tuner.py Outdated Show resolved Hide resolved
python/tvm/autotvm/tuner/tuner.py Outdated Show resolved Hide resolved
Copy link
Contributor

@comaniac comaniac 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. Please fix the CI error. It seems like res.costs[0] is not always a string.

@tkonolige
Copy link
Contributor Author

@comaniac CI is all green now.

@comaniac comaniac merged commit 86122d1 into apache:master Oct 5, 2020
@comaniac
Copy link
Contributor

comaniac commented Oct 5, 2020

Thanks @tkonolige

TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Oct 13, 2020
…pache#6612)

* [FIX,AUTOTVM] Print warning when all autotvm tasks fail with errors.

* formatting

* write errors to tempfile

* wording

* wording

* don't duplicate errors

* Ensure we have a string for an error
TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Oct 14, 2020
…pache#6612)

* [FIX,AUTOTVM] Print warning when all autotvm tasks fail with errors.

* formatting

* write errors to tempfile

* wording

* wording

* don't duplicate errors

* Ensure we have a string for an error
TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Oct 15, 2020
…pache#6612)

* [FIX,AUTOTVM] Print warning when all autotvm tasks fail with errors.

* formatting

* write errors to tempfile

* wording

* wording

* don't duplicate errors

* Ensure we have a string for an error
TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Oct 16, 2020
…pache#6612)

* [FIX,AUTOTVM] Print warning when all autotvm tasks fail with errors.

* formatting

* write errors to tempfile

* wording

* wording

* don't duplicate errors

* Ensure we have a string for an error
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Oct 19, 2020
…pache#6612)

* [FIX,AUTOTVM] Print warning when all autotvm tasks fail with errors.

* formatting

* write errors to tempfile

* wording

* wording

* don't duplicate errors

* Ensure we have a string for an error
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.

None yet

2 participants