-
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] Use a smaller iteration number for GA to acclerate the search #6994
Conversation
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.
I can give it a try, but it should be fine as long as it's configurable. One related issue is that it's not trivial to configure policy parameters in task scheduler. If we can expose them to task scheduler, I think it's fine to change the default value of most parameters to smaller numbers.
@comaniac I added a new argument to control the parameters of search policy from the task scheduler. I tested |
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.
LGTM
…e search (apache#6994) * [AutoScheduler] Use a smaller GA iteration number * fix * fix * add a new argument to control the search policy from task scheduler
…e search (apache#6994) * [AutoScheduler] Use a smaller GA iteration number * fix * fix * add a new argument to control the search policy from task scheduler
…e search (apache#6994) * [AutoScheduler] Use a smaller GA iteration number * fix * fix * add a new argument to control the search policy from task scheduler
The default value of
evolutionary_search_num_iters
is 10. I did some experiments and found this value is too large.I changed it to 3 or 4 and got almost the same final latency for resnet-50. So I think we can change it to a smaller number to save some search time.
cc @comaniac @jcf94 Could you also verify this for your workloads?