-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[AutoTVM] Download fallback schedule file if it does not exist #4671
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
Conversation
comaniac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@merrymercy could you help review and merge?
kevinthesun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thanks @zxy844288792 @comaniac |
|
Hi, Does this requires downloading from blocked websites. Do we need to download through the firewall? |
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.