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

Allow da.asarray to chunk inputs #5586

Merged
merged 1 commit into from
Nov 13, 2019
Merged

Conversation

mrocklin
Copy link
Member

Previously asarray used a single chunk.
This made sense with numpy arrays but didn't make sense when given large
on-disk arrays. Now we allow chunks to pass through, and use auto
otherwise.

@jakirkham ran into this

Previously asarray used a single chunk.
This made sense with numpy arrays but didn't make sense when given large
on-disk arrays.  Now we allow chunks to pass through, and use auto
otherwise.
@jakirkham
Copy link
Member

LGTM. Thanks @mrocklin!

To get some other opinions, @shoyer @jrbourbeau, any thoughts?

@shoyer
Copy link
Member

shoyer commented Nov 13, 2019

Looks good to me!

@mrocklin mrocklin merged commit 830e692 into dask:master Nov 13, 2019
@mrocklin mrocklin deleted the asarray-chunks branch November 13, 2019 19:09
@jrbourbeau
Copy link
Member

+1 thanks @mrocklin

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.

4 participants