You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Array.__getitem__ should consider array.chunk-size for concrete indexers? #6270
If the indexer isn't chunked, perhaps dask could examine the input array and indexer and chunk the indexer if we detect that the output chunksize would exceed dask.config.get('array.chunk-size')?
If the indexer isn't chunked, perhaps dask could examine the input array and indexer and chunk the indexer if we detect that the output chunksize would exceed dask.config.get('array.chunk-size')?
I think this strategy could work well for chunking arr[indexer] if any chunks would exceed some maximum chunk sizes.
However, I wouldn't implement this via chunking indexer. This removes information about which source chunks different parts of the indexer refer to, which makes indexing require a quadratic number of tasks.
Activity
shoyer commentedon Jun 13, 2020
I think this strategy could work well for chunking
arr[indexer]if any chunks would exceed some maximum chunk sizes.However, I wouldn't implement this via chunking
indexer. This removes information about which source chunks different parts of the indexer refer to, which makes indexing require a quadratic number of tasks.Avoid large chunks from getitem with lists
Avoid large chunks from getitem with lists (#6514)
Avoid large chunks from getitem with lists (dask#6514)