zxy844288792 commented on a change in pull request #4671: [AutoTVM] Download
fallback schedule file if it does not exist
URL: https://github.com/apache/incubator-tvm/pull/4671#discussion_r365014847
##########
File path: python/tvm/autotvm/tophub.py
##########
@@ -208,6 +208,10 @@ def load_reference_log(backend, model, workload_name,
template_key):
version = PACKAGE_VERSION[backend]
package_name = "%s_%s.log" % (backend, version)
filename = os.path.join(AUTOTVM_TOPHUB_ROOT_PATH, package_name)
+ # if fallback config file does not exist, download it from tophub
+ if not os.path.exists(filename):
Review comment:
Thanks! Comments have been addressed
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services