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/07/23 20:34:09 UTC

[GitHub] [incubator-tvm] merrymercy commented on issue #6096: apply_history_best requires extract_from_program to be run even if log file already exists

merrymercy commented on issue #6096:
URL: https://github.com/apache/incubator-tvm/issues/6096#issuecomment-663218666


   I ran the code and found adding `compile_engine.get().clear()`  before `with autotvm.apply_history_best(log_filename):` acutally fixes the issue.
   This issue is not related to autotvm at all. The autotvm feature extraction is not stateful.
   Instead, the relay compiler is stateful. We have to clear the relay cache before using a different schedule
   @tkonolige @jwfromm Could you double-check. This issue disappears after 
   
   


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