-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AutoScheduler] Add tips on resuming the search from a log file #7039
Conversation
@@ -94,8 +94,18 @@ def make_search_policies( | |||
raise ValueError("Invalid search policy: " + search_policy) | |||
|
|||
if policy_type == "sketch": | |||
if load_log_file: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to check if the log file exists?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. This function correctly handles this case and prints
SearchPolicy: No measurement records found in XXX.json
A new flaky test from topi argwhere https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/PR-7039/1/pipeline cc @zhiics |
…he#7039) * [AutoScheduler] Add tips on resuming the search from a log file * Trigger CI
…he#7039) * [AutoScheduler] Add tips on resuming the search from a log file * Trigger CI
…he#7039) * [AutoScheduler] Add tips on resuming the search from a log file * Trigger CI
Auto-scheduler has very good support for resuming the search from a log file. We just need to add one more parameter when creating the task scheduler.