Uh oh!
There was an error while loading. Please reload this page.
[AutoTVM] Download fallback schedule file if it does not exist - #4671
Merged
Conversation
comaniac
requested changes
Jan 9, 2020
Uh oh!
There was an error while loading. Please reload this page.
comaniac
reviewed
Jan 9, 2020
Uh oh!
There was an error while loading. Please reload this page.
comaniac
approved these changes
Jan 10, 2020
comaniac
left a comment
Contributor
There was a problem hiding this comment.
LGTM
@merrymercy could you help review and merge?
kevinthesun
commented
Jan 10, 2020
Contributor
Thanks @zxy844288792@comaniac |
CoinCheung
commented
Jan 20, 2020
Hi, Does this requires downloading from blocked websites. Do we need to download through the firewall? |
alexwong pushed a commit
to alexwong/tvm
that referenced
this pull request
Feb 26, 2020
alexwong pushed a commit
to alexwong/tvm
that referenced
this pull request
Feb 28, 2020
zhiics pushed a commit
to neo-ai/tvm
that referenced
this pull request
Mar 2, 2020
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 freeto 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.
Autotvm will download the default schedule file from tophub if user does not specify a schedule file. Howver, if user specifies a shedule file but a certain workload is not found in the file. It will fallback to default config, which will search the default schedule file for a closest config. However, in this case, as no schedule is downloaded from tophub, it fails to find a closest config and the performance is really bad.
An example of performance before and after is shown below:
The model is mxnet resnet50_v1 and device is NVIDIA K80 GPU
Before:
Total_time - 550853.527(us)
After:
Total_time - 28898.537(us)
Thanks for contributing to TVM! Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.