-
Notifications
You must be signed in to change notification settings - Fork 72
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
parallel trial execution #380
Labels
Comments
Possible method would be to use the async + background event loop thread technique demonstrated in #510 |
Related: #463 (First class scheduler support) |
A few thoughts on design possibilities for this:
|
This was referenced Nov 30, 2023
bpkroth
added a commit
that referenced
this issue
Jan 10, 2025
This is another step in adding support for parallel trial execution #380. Here we separate out the running of an individual trial to a single class - TrialRunner. Multiple TrialRunners are instantiated at CLI invocation with the `--num-trial-runners` argument. Each TrialRunner associated with a single copy of the root Environment and its Services (important for eventual parallelization reasons), and made unique by means of a unique `trial_runner_id` value that's also included in that Environment's global_config. In future PRs we will add: - New Scheduler implementations to run TrialRunners in parallel. - Async polling of status results in each TrialRunner independently. --------- Co-authored-by: Sergiy Matusevych <sergiym@microsoft.com> Co-authored-by: Sergiy Matusevych <sergiy.matusevych@gmail.com>
Some of this has been implemented in #720. Still todo are the parallel execution scheduler using forked children. |
This was referenced Jan 13, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would like to be able to execute multiple experiment trials in parallel
The text was updated successfully, but these errors were encountered: