Skip to content
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

Explain how to use Dask to parallelize grid search across GPUs #241

Merged
merged 1 commit into from
Jun 14, 2018

Conversation

dnouri
Copy link
Member

@dnouri dnouri commented Jun 1, 2018

Based on #237

Work in progress, but please give me feedback.

Also explains how to use Palladium to run grid search in parallel. This feature currently requires ottogroup/palladium#87

Copy link
Contributor

@benjamin-work benjamin-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor change requests regarding the text.

Skorch supports model parallelism via `Dask
<https://dask.pydata.org>`_. In this section we'll describe how to
use Dask to efficiently distribute a grid search or a randomized
search on hyper paramerers across multiple GPUs and potentially
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paramerers parameters

CUDA_VISIBLE_DEVICES=1 dask-worker 127.0.0.1:8786 --nthreads 1

Now, instead of importing ``GridSearchCV`` or ``RandomizedSearchCV``
from scikit-learn, import from ``dask_searchcv`` instead. And set up
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"instead ... instead." Remove the 2nd "instead"

@benjamin-work
Copy link
Contributor

addresses #95

@dnouri dnouri force-pushed the feature/search-parallelism-tutorial branch from d71022f to d3bdbaa Compare June 13, 2018 16:03
@dnouri
Copy link
Member Author

dnouri commented Jun 13, 2018

Updated to use joblib's parallel_backend instead of dask-searchcv.

@benjamin-work
Copy link
Contributor

Thanks, great work.

@benjamin-work benjamin-work merged commit 77e291d into master Jun 14, 2018
@ottonemo ottonemo moved this from In progress to Done in Release 0.3.0 Jun 14, 2018
@ottonemo ottonemo deleted the feature/search-parallelism-tutorial branch July 17, 2018 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Release 0.3.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants