merrymercy commented on a change in pull request #7039:
URL: https://github.com/apache/tvm/pull/7039#discussion_r536890232
##########
File path: python/tvm/auto_scheduler/task_scheduler.py
##########
@@ -94,8 +94,18 @@ def make_search_policies(
raise ValueError("Invalid search policy: " + search_policy)
if policy_type == "sketch":
+ if load_log_file:
+ init_search_callbacks = [PreloadMeasuredStates(load_log_file)]
Review comment:
```suggestion
# use the log file to restore the status of search policies.
init_search_callbacks =
[PreloadMeasuredStates(load_log_file)]
```
----------------------------------------------------------------
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]