-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[Ansor] Parallel the InitPopulation #6529
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
Conversation
|
We probably should only benchmark the sample initial population part and compare the actual speedup with idea speedup. |
Good suggestion, from the tuning log I can see it reduced from an average of 2~3 seconds: to an average of 0.05~0.5 seconds: on my server. cc @FrozenGene And I'm thinking about maybe the Evolutionary Search part can also benefit from parallel_for in the same way? @merrymercy @comaniac |
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. Yeah I think the mutation part could also use parallel_for.
Some small fix:
test_auto_scheduler_layout_rewritetest@FrozenGene I tested this parallel implementation in my server, the running time of
tests/python/unittest/test_auto_scheduler_search_policy.pyreduced from 33s to 27s. Since your environment suffered more from this performance problem, you can have a try to see if this can help.cc @merrymercy @comaniac