[AutoScheduler] Improve warning messages - #6935
Merged
Merged
Conversation
merrymercy
commented
Nov 18, 2020
Comment on lines
-227
to
+238
| wrap_topi_schedule(tvm.te.create_schedule), | ||
| naive_schedule, # this implementation should never be picked by autotvm |
Member
Author
There was a problem hiding this comment.
tvm.te.create_schedule is not a valid topi schedule. Their signatures are different. So I created a new one.
merrymercy
force-pushed
the
pr-improve-warning
branch
from
November 18, 2020 03:09
9d96987 to
cdc45fd
Compare
merrymercy
force-pushed
the
pr-improve-warning
branch
from
November 18, 2020 03:13
cdc45fd to
3409768
Compare
comaniac
approved these changes
Nov 18, 2020
| raise RuntimeError( | ||
| "Cannot compile for GPU targets if no tuned schedule is found. Please see the warning messages above for more information about the failed workloads." | ||
| ) | ||
| return tvm.te.create_schedule(outs[-1].op) |
Contributor
There was a problem hiding this comment.
Maybe we need to add a comment saying that it would be a problem for the DAG with multiple outputs.
trevor-m
pushed a commit
to trevor-m/tvm
that referenced
this pull request
Dec 2, 2020
* [AutoScheduler] Improve warning messages * fix lint
trevor-m
pushed a commit
to trevor-m/tvm
that referenced
this pull request
Dec 4, 2020
* [AutoScheduler] Improve warning messages * fix lint
trevor-m
pushed a commit
to neo-ai/tvm
that referenced
this pull request
Dec 4, 2020
* [AutoScheduler] Improve warning messages * fix lint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improve the warning messages for #6903