Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
06ce76b6
Commit
06ce76b6
authored
Jan 09, 2020
by
Xingyu Zhou
Committed by
Yao Wang
Jan 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
download fallback config file for search from tophub if it does not exist (#4671)
parent
d6a23cf5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
python/tvm/autotvm/tophub.py
+5
-1
No files found.
python/tvm/autotvm/tophub.py
View file @
06ce76b6
...
...
@@ -214,7 +214,11 @@ def load_reference_log(backend, model, workload_name, template_key):
if
key
not
in
REFERENCE_LOG_CACHE
:
tmp
=
[]
if
os
.
path
.
isfile
(
os
.
path
.
join
(
AUTOTVM_TOPHUB_ROOT_PATH
,
package_name
)):
# Download the config file from tophub if not exists.
if
not
os
.
path
.
exists
(
filename
):
tophub_location
=
_get_tophub_location
()
download_package
(
tophub_location
,
package_name
)
if
os
.
path
.
isfile
(
filename
):
# in case download failed
find
=
False
inp
=
None
counts
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment