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

Add first array draft #1090

Merged
merged 30 commits into from
Jun 25, 2024
Merged

Add first array draft #1090

merged 30 commits into from
Jun 25, 2024

Conversation

fjetter
Copy link
Member

@fjetter fjetter commented Jun 24, 2024

This is an attempt to get #471 passing.

Apart from missing implementation, I encountered a lot of trouble in the assertion code. For example

https://github.com/dask/dask/blob/36e9d7c84c619abcfc498e3fdf7b37f7fb8fd400/dask/array/utils.py#L240

is accessing a key of a HLG and is expecting this to resolve to the key in the low level graph, see custom getitem logic https://github.com/dask/dask/blob/36e9d7c84c619abcfc498e3fdf7b37f7fb8fd400/dask/highlevelgraph.py#L508-L528
This works... at times. Especially, the later part of the graph expects this result, i.e. the low level graph value to be an actual array (since it was persisted a couple of lines further above) which breaks since we have to attach a dummy layer in the FromGraph (to avoid name collisions). Ideally, this would use a "Get Nth chunk" API but I'm not sure if that exists.

There are likely plenty of other problems around here but this is what I found so far

mrocklin and others added 30 commits December 5, 2023 15:02
@fjetter fjetter marked this pull request as ready for review June 25, 2024 11:57
@phofl phofl changed the title Array rebase Add first array draft Jun 25, 2024
@phofl
Copy link
Collaborator

phofl commented Jun 25, 2024

lets merge this

@phofl phofl merged commit 3997b82 into dask:main Jun 25, 2024
7 checks passed
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