You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/01/09 23:36:42 UTC

[GitHub] [incubator-tvm] comaniac commented on a change in pull request #4671: [AutoTVM] Download fallback schedule file if it does not exist

comaniac 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_r365012071
 
 

 ##########
 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:
   It would be better to move this logic after key checking.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services