-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Support sum on a sparse COO tensor. #86300
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/86300
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Failures, 2 PendingAs of commit 6ae8a14: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
[ghstack-poisoned]
Related: #86232 If sum is supported by direct dispatch (only as sparse_coo_tensor.sum() or also as torch.sum(sparse_coo_tensor)? If so, then is torch.sparse.sum still needed? |
We are not quite there yet. This PR implements support for the sum over all values but we'll also need to implement the support for |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
Summary: Pull Request resolved: #86300 Approved by: https://github.com/cpuhrsch Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/88b882cd1c93e8fe9b4f2bf0c542c700a8ba69a6 Reviewed By: seemethere Differential Revision: D40167132 Pulled By: seemethere fbshipit-source-id: ea8af116fc65cd1f7280046b824415b055aab61e
Stack from ghstack (oldest at bottom):
cc @alexsamardzic @nikitaved @cpuhrsch @amjames @bhosmer