Skip to content

Conversation

ogrisel
Copy link
Contributor

@ogrisel ogrisel commented Jul 23, 2018

The manual and auto-scattering of numpy arrays disabled nested parallelism. To fix it's much easier to include the code of the backend as part of joblib itself.

@codecov
Copy link

codecov bot commented Jul 24, 2018

Codecov Report

Merging #722 into master will increase coverage by 0.03%.
The diff coverage is 96.73%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #722      +/-   ##
==========================================
+ Coverage   95.23%   95.26%   +0.03%     
==========================================
  Files          40       42       +2     
  Lines        5769     6103     +334     
==========================================
+ Hits         5494     5814     +320     
- Misses        275      289      +14
Impacted Files Coverage Δ
joblib/test/test_parallel.py 96.71% <100%> (+0.08%) ⬆️
joblib/parallel.py 97.97% <100%> (+0.58%) ⬆️
joblib/_dask.py 94.93% <94.93%> (ø)
joblib/test/test_dask.py 98.11% <98.11%> (ø)
joblib/disk.py 81.66% <0%> (-6.67%) ⬇️
joblib/test/test_memory.py 97.49% <0%> (-0.36%) ⬇️
joblib/_parallel_backends.py 97.2% <0%> (+0.4%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b80c96c...c86b4d0. Read the comment docs.

@ogrisel ogrisel force-pushed the test-nested-dask branch 3 times, most recently from 85e2a39 to e58b3dc Compare July 25, 2018 09:13
@ogrisel ogrisel force-pushed the test-nested-dask branch from e58b3dc to a363d40 Compare July 25, 2018 10:05
@ogrisel ogrisel merged commit c0b5c41 into joblib:master Jul 25, 2018
@ogrisel ogrisel deleted the test-nested-dask branch July 25, 2018 13:20
@ogrisel ogrisel changed the title [WIP] investigating with nested parallelism and dask Fix nested parallelism and dask auto-scatter Aug 2, 2018
@jakirkham
Copy link

cc @mrocklin @TomAugspurger

@mrocklin
Copy link
Contributor

mrocklin commented Aug 2, 2018

Cool. I'm glad to see this move over.

@jakirkham
Copy link

Should we be updating Distributed in light of this? Note this in Joblib as of version 0.12.2.

yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Aug 22, 2018
* tag '0.12.2':
  Release 0.12.2
  Pin numpy version for sklearn test (joblib#734)
  Loky 2.2.0 (joblib#733)
  [MRG] BatchedCalls backward compat (joblib#732)
  Better detection for the cloudpickle wrapper (joblib#726)
  DOC: attempt to fix the build on RTD (joblib#725)
  Include dask backend to fix nested parallelism and auto-scatter (joblib#722)
  FIX: re-establish argument_hash attribute for backward compat (joblib#716)
  Fix cachedir deprecation message (joblib#720)
yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Aug 22, 2018
* releases:
  Release 0.12.2
  Pin numpy version for sklearn test (joblib#734)
  Loky 2.2.0 (joblib#733)
  [MRG] BatchedCalls backward compat (joblib#732)
  Better detection for the cloudpickle wrapper (joblib#726)
  DOC: attempt to fix the build on RTD (joblib#725)
  Include dask backend to fix nested parallelism and auto-scatter (joblib#722)
  FIX: re-establish argument_hash attribute for backward compat (joblib#716)
  Fix cachedir deprecation message (joblib#720)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants