Skip to content

Avoid fusing dependencies of atop reductions - #4207

Merged
mrocklin merged 1 commit into
dask:masterfrom
mrocklin:atop-reduction-fuse
Nov 15, 2018
Merged

mrocklin merged 1 commit into
dask:masterfrom
mrocklin:atop-reduction-fuse

Conversation

@mrocklin

Copy link
Copy Markdown
Member

Previously we were comfortable fusing atop computations that contained
reductions with their dependencies. This had two problems:

  1. The non-reduction functions would receive lists of arrays that they
    didn't know how to handle
  2. We would have more data in ram for a task than was perhaps intended.

Now we avoid traversing past atop computations where reductions occur.

Fixes #4201

  • Tests added / passed
  • Passes flake8 dask

Previously we were comfortable fusing atop computations that contained
reductions with their dependencies.  This had two problems:

1.  The non-reduction functions would receive lists of arrays that they
    didn't know how to handle
2.  We would have more data in ram for a task than was perhaps intended.

Now we avoid traversing past atop computations where reductions occur.

Fixes dask#4201
@mrocklin

Copy link
Copy Markdown
Member Author

Merging tomorrow morning if there are no objections

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.

1 participant