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
Add Joblib Launcher for parallel execution (multi-process and multi-threaded) #392
Conversation
Awesome! Let's call this jobid_launcher. |
PR is ready for code review As far as I can tell the CI failures should be unrelated to the plugin (?) |
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.
Awesome! first round of review.
- rebase on master, it should address the omegaconf related errors.
- Address lint errors (nox -s lint is the easiest for now).
- Add a news fragment
- See my comments.
If you haven't already go through the contributing page in the website.
plugins/joblib_launcher/example/conf/hydra/launcher/example.yaml
Outdated
Show resolved
Hide resolved
plugins/joblib_launcher/hydra_plugins/joblib_launcher/conf/hydra/launcher/example.yaml
Outdated
Show resolved
Hide resolved
plugins/joblib_launcher/hydra_plugins/joblib_launcher/joblib_launcher.py
Outdated
Show resolved
Hide resolved
plugins/joblib_launcher/hydra_plugins/joblib_launcher/joblib_launcher.py
Outdated
Show resolved
Hide resolved
About the sort lint failure, I saw the same with the ax plugin. |
plugins/joblib_launcher/hydra_plugins/joblib_launcher/joblib_launcher.py
Outdated
Show resolved
Hide resolved
plugins/joblib_launcher/hydra_plugins/joblib_launcher/joblib_launcher.py
Outdated
Show resolved
Hide resolved
plugins/joblib_launcher/hydra_plugins/joblib_launcher/conf/hydra/launcher/joblib.yaml
Outdated
Show resolved
Hide resolved
plugins/joblib_launcher/hydra_plugins/joblib_launcher/conf/hydra/launcher/joblib.yaml
Outdated
Show resolved
Hide resolved
plugins/joblib_launcher/hydra_plugins/joblib_launcher/conf/hydra/launcher/joblib.yaml
Outdated
Show resolved
Hide resolved
plugins/joblib_launcher/hydra_plugins/joblib_launcher/conf/hydra/launcher/joblib.yaml
Outdated
Show resolved
Hide resolved
plugins/joblib_launcher/hydra_plugins/joblib_launcher/joblib_launcher.py
Outdated
Show resolved
Hide resolved
plugins/joblib_launcher/hydra_plugins/joblib_launcher/joblib_launcher.py
Outdated
Show resolved
Hide resolved
This pull request introduces 1 alert when merging 81a2616 into e19b96b - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 61a1f9a into e19b96b - view on LGTM.com new alerts:
|
[__main__][INFO] - Process ID 14335 executing task 4 ... | ||
[__main__][INFO] - Process ID 14337 executing task 5 ... | ||
``` | ||
See [website](https://hydra.cc/docs/plugins/joblib_launcher) for more information |
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.
Until 1.0.0 is released, the url will be:
This pull request introduces 1 alert when merging 74eb284 into 0bdf355 - view on LGTM.com new alerts:
|
|
This pull request introduces 1 alert when merging 96744ec into 9f2cd9f - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging d86c242 into 9f2cd9f - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 3b9cc8a into 9f2cd9f - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 1d10c9b into 9f2cd9f - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging febcf68 into 9f2cd9f - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 4a421f7 into 9f2cd9f - view on LGTM.com new alerts:
|
Supresses error: Untyped decorator makes function "test_discovery" untyped
This pull request introduces 1 alert when merging 9f92a1c into 9f2cd9f - view on LGTM.com new alerts:
|
Using a different circleci python 3.6 Image for Linux to work around new issue
This pull request introduces 1 alert when merging 7f2e75a into 9f2cd9f - view on LGTM.com new alerts:
|
Because you are cherry-picking from master it's hard to say what this diff is adding and what is new. |
This example demonstrates how to to customize the logging behavior of your Hydra app, by making the following changes | ||
|
||
This example demonstrates how to customize the logging behavior of your Hydra app, by making the following changes |
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.
nice catch.
And btw: awesome that tests are now passing! :) |
This is awesome work, thanks for putting so much time into it! |
Motivation
Launcher for local parallel sweeps using
Joblib.Parallel
, as proposed in #357, and discussed with @omry.Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Added tests following the
example_launcher_plugin
.Related Issues and PRs
Implements #357