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

Fail during planning if map_blocks drop_axis is for a chunked dimension #569

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

tomwhite
Copy link
Member

@tomwhite tomwhite commented Sep 6, 2024

Cubed does not automatically concatenate chunks in blockwise operations (by design - since it can lead to large memory usage), and will fail in this situation. This PR makes the failure happen during planning rather than during computation, and improves the error message.

Related: sgkit-dev/sgkit#1254 (comment)

@tomwhite tomwhite added the core label Sep 6, 2024
@tomwhite tomwhite merged commit 7b32304 into main Sep 9, 2024
10 of 11 checks passed
@tomwhite tomwhite deleted the better-error-for-drop-axis-chunked branch September 9, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant