Skip to content

Conversation

@zxy844288792
Copy link

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.

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
@merrymercy could you help review and merge?

Copy link
Contributor

@kevinthesun kevinthesun left a comment

Choose a reason for hiding this comment

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

LGTM

@kevinthesun kevinthesun merged commit 06ce76b into apache:master Jan 10, 2020
@kevinthesun
Copy link
Contributor

Thanks @zxy844288792 @comaniac

@CoinCheung
Copy link

Hi,

Does this requires downloading from blocked websites. Do we need to download through the firewall?
I just got the error message of:

download failed due to URLError(ConnectionRefusedError(111, 'Connection refused'),), retrying, 2 attempts left

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