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

Sum on 3 dimensions raises NotImplementedError #1109

Open
CharlelieLrt opened this issue Jan 2, 2024 · 0 comments
Open

Sum on 3 dimensions raises NotImplementedError #1109

CharlelieLrt opened this issue Jan 2, 2024 · 0 comments
Labels
category:improvement PR introduces an improvement and will be classified as such in release notes

Comments

@CharlelieLrt
Copy link

This might be already documented elsewhere, but when trying to execute a numpy-based code with cunumeric in place of numpy, some of the reductions such arr.sum(axis=(-3, -2, -1)) fails with NotImplementedError: Need support for reducing multiple dimensions.

A simple workaround is to instead do it dimensions by dimension with arr.sum(axis=-1).sum(axis=-1).sum(axis=-1), but it would be nice to have the multi-dimensional reduction. Having this limitation mentioned in the documentation of cunumeric.sum could also be useful.

@CharlelieLrt CharlelieLrt changed the title Sum on 3 dimensions raises Sum on 3 dimensions raises NotImplementedError Jan 2, 2024
@manopapad manopapad added the category:improvement PR introduces an improvement and will be classified as such in release notes label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:improvement PR introduces an improvement and will be classified as such in release notes
Projects
None yet
Development

No branches or pull requests

2 participants