map_overlap performance on large inputs #7404
Replies: 5 comments 9 replies
-
cc @rjzamora and @ian-r-rose who have thought about high level graphs for arrays. One way to solve this problem would be to make a high level graph layer for map-overlap and then implement culling/dependency for that layer. |
Beta Was this translation helpful? Give feedback.
-
The blockwise work will be great in accelerating things like from_array or from_zarr, however it won't help with |
Beta Was this translation helpful? Give feedback.
-
FYI @gjoseph92 & @ian-r-rose My colleague just pointed out a spot where re-inventing a version of map_overlap helped avoid some of the performance problems we've been talking about: |
Beta Was this translation helpful? Give feedback.
-
@jni requested links to:
|
Beta Was this translation helpful? Give feedback.
-
Ian's written a summary of the current status and next steps necessary for the high level graph work for slicing and array overlap. The gist is here: https://gist.github.com/ian-r-rose/4221ebf52f3423203640c498fb815f21 |
Beta Was this translation helpful? Give feedback.
-
We had a discussion with @GenevieveBuckley and @jni about our attempts to use dask arrays in ilastik.
Our application is a 5D image viewer that also interactively applies ML algorithms to user data. One of our workflows needs to compute various filters from the input data of arbitrary size. For the purposes of this discussion, assume that the input data is blocked (HDF5, Zarr, N5). All these filters are convolutional (Gaussian, DoG etc.), so they can be computed only for blocks that fully cover the current GUI viewport. Also, in order to maintain an acceptable latency, and to reduce the amount of wasted compute, block sizes should be quite small (we use 64^3 for 3D data). This creates a performance problem if one wants to use dask arrays for all lazy computations in a pipeline, due to the large size of a dask graph for intermediate computations.
Output:
I wonder if #6438 is somehow related to this problem?
Beta Was this translation helpful? Give feedback.
All reactions