-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Add CSR (compressed sparse row) layout for sparse tensors #50937
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
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Apr 22, 2021
aocsa
added a commit
that referenced
this pull request
Apr 22, 2021
Fixes for gh-56371 and gh-56369 Differential Revision: [D27913212](https://our.internmc.facebook.com/intern/diff/D27913212) Note: The following requests about testing listed here https://pearu.github.io/csr_tensor_support.html #50937 (comment) - see modern COO testing #50937 (comment) - don’t set default_dtype_type #50937 (comment) - avoid using numpy #50937 (comment) - inefficient CSR samples are being solved in this PR [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 22, 2021
Fixes for gh-56371 and gh-56369 Differential Revision: [D27913212](https://our.internmc.facebook.com/intern/diff/D27913212) Note: The following requests about testing listed here https://pearu.github.io/csr_tensor_support.html #50937 (comment) - see modern COO testing #50937 (comment) - don’t set default_dtype_type #50937 (comment) - avoid using numpy #50937 (comment) - inefficient CSR samples are being solved in this PR [ghstack-poisoned]
facebook-github-bot
pushed a commit
that referenced
this pull request
Apr 22, 2021
Summary: Follow up to #50937, Fixes build failures in #56561 Currently SparseCsrCUDA is included in cpu build and also doesn't get code-generated device guards. This fixed both issues. Pull Request resolved: #56602 Reviewed By: albanD Differential Revision: D27921001 Pulled By: ezyang fbshipit-source-id: 2b3b0b66d0a7c5ef96e0817d8852d511dd954ae4
aocsa
added a commit
that referenced
this pull request
Apr 22, 2021
…t_dtype in sparse test" Fixes for gh-56369 Note: The following request about testing #50937 (comment) - don’t set default_dtype_type is being solved in this PR Differential Revision: [D27913266](https://our.internmc.facebook.com/intern/diff/D27913266) [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 22, 2021
…e test" Fixes for gh-56369 Note: The following request about testing #50937 (comment) - don’t set default_dtype_type is being solved in this PR Differential Revision: [D27913266](https://our.internmc.facebook.com/intern/diff/D27913266) [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 22, 2021
Fixes for gh-56371 and gh-56369 Differential Revision: [D27913212](https://our.internmc.facebook.com/intern/diff/D27913212) Note: The following requests about testing listed here https://pearu.github.io/csr_tensor_support.html #50937 (comment) - see modern COO testing #50937 (comment) - avoid using numpy #50937 (comment) - inefficient CSR samples are being solved in this PR [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 22, 2021
…t_dtype in sparse test" Fixes for gh-56369 Note: The following request about testing #50937 (comment) - don’t set default_dtype_type is being solved in this PR Differential Revision: [D27913266](https://our.internmc.facebook.com/intern/diff/D27913266) [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 22, 2021
Fixes for gh-56371 and gh-56369 Differential Revision: [D27913212](https://our.internmc.facebook.com/intern/diff/D27913212) Note: The following requests about testing listed here https://pearu.github.io/csr_tensor_support.html #50937 (comment) - see modern COO testing #50937 (comment) - avoid using numpy #50937 (comment) - inefficient CSR samples are being solved in this PR [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 22, 2021
…e test" Fixes for gh-56369 Note: The following request about testing #50937 (comment) - don’t set default_dtype_type is being solved in this PR Differential Revision: [D27913266](https://our.internmc.facebook.com/intern/diff/D27913266) [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 23, 2021
Fixes for gh-56371 and gh-56369 Differential Revision: [D27913212](https://our.internmc.facebook.com/intern/diff/D27913212) Note: The following requests about testing listed [here](https://pearu.github.io/csr_tensor_support.html) #50937 (comment) - see modern COO testing #50937 (comment) - avoid using numpy #50937 (comment) - inefficient CSR samples are being solved in this PR [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 23, 2021
Fixes for gh-56371 and gh-56369 Differential Revision: [D27913212](https://our.internmc.facebook.com/intern/diff/D27913212) Note: The following requests about testing listed [here](https://pearu.github.io/csr_tensor_support.html) #50937 (comment) - see modern COO testing #50937 (comment) - avoid using numpy #50937 (comment) - inefficient CSR samples are being solved in this PR [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 23, 2021
…t_dtype in sparse test" Fixes for gh-56369 Note: The following request about testing #50937 (comment) - don’t set default_dtype_type is being solved in this PR Differential Revision: [D27913266](https://our.internmc.facebook.com/intern/diff/D27913266) [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 23, 2021
…e test" Fixes for gh-56369 Note: The following request about testing #50937 (comment) - don’t set default_dtype_type is being solved in this PR Differential Revision: [D27913266](https://our.internmc.facebook.com/intern/diff/D27913266) [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 23, 2021
Fixes for gh-56371 and gh-56369 Differential Revision: [D27913212](https://our.internmc.facebook.com/intern/diff/D27913212) Note: The following requests about testing listed [here](https://pearu.github.io/csr_tensor_support.html) #50937 (comment) - see modern COO testing #50937 (comment) - avoid using numpy #50937 (comment) - inefficient CSR samples are being solved in this PR [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 23, 2021
…t_dtype in sparse test" Fixes for gh-56369 Note: The following request about testing #50937 (comment) - don’t set default_dtype_type is being solved in this PR Differential Revision: [D27913266](https://our.internmc.facebook.com/intern/diff/D27913266) [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 23, 2021
…e test" Fixes for gh-56369 Note: The following request about testing #50937 (comment) - don’t set default_dtype_type is being solved in this PR Differential Revision: [D27913266](https://our.internmc.facebook.com/intern/diff/D27913266) [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 23, 2021
Fixes for gh-56371 and gh-56369 Differential Revision: [D27913212](https://our.internmc.facebook.com/intern/diff/D27913212) Note: The following requests about testing listed [here](https://pearu.github.io/csr_tensor_support.html) #50937 (comment) - see modern COO testing #50937 (comment) - avoid using numpy #50937 (comment) - inefficient CSR samples are being solved in this PR [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 26, 2021
Fixes for gh-56371 and gh-56369 Differential Revision: [D27913212](https://our.internmc.facebook.com/intern/diff/D27913212) Note: The following requests about testing listed [here](https://pearu.github.io/csr_tensor_support.html) #50937 (comment) - see modern COO testing #50937 (comment) - avoid using numpy #50937 (comment) - inefficient CSR samples are being solved in this PR [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 26, 2021
…t_dtype in sparse test" Fixes for gh-56369 Note: The following request about testing #50937 (comment) - don’t set default_dtype_type is being solved in this PR Differential Revision: [D27913266](https://our.internmc.facebook.com/intern/diff/D27913266) [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 26, 2021
…e test" Fixes for gh-56369 Note: The following request about testing #50937 (comment) - don’t set default_dtype_type is being solved in this PR Differential Revision: [D27913266](https://our.internmc.facebook.com/intern/diff/D27913266) [ghstack-poisoned]
aocsa
added a commit
that referenced
this pull request
Apr 26, 2021
Fixes for gh-56371 and gh-56369 Differential Revision: [D27913212](https://our.internmc.facebook.com/intern/diff/D27913212) Note: The following requests about testing listed [here](https://pearu.github.io/csr_tensor_support.html) #50937 (comment) - see modern COO testing #50937 (comment) - avoid using numpy #50937 (comment) - inefficient CSR samples are being solved in this PR [ghstack-poisoned]
krshrimali
pushed a commit
to krshrimali/pytorch
that referenced
this pull request
May 19, 2021
) Summary: Implement compressed sparse row format. Derived from the GCS implementation at pytorch#44190 Pull Request resolved: pytorch#50937 Reviewed By: mrshenli Differential Revision: D27439865 Pulled By: ezyang fbshipit-source-id: 3ba3dcb9679505b980ff6a5f513e913bbae2fb1d
krshrimali
pushed a commit
to krshrimali/pytorch
that referenced
this pull request
May 19, 2021
Summary: Follow up to pytorch#50937, Fixes build failures in pytorch#56561 Currently SparseCsrCUDA is included in cpu build and also doesn't get code-generated device guards. This fixed both issues. Pull Request resolved: pytorch#56602 Reviewed By: albanD Differential Revision: D27921001 Pulled By: ezyang fbshipit-source-id: 2b3b0b66d0a7c5ef96e0817d8852d511dd954ae4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cla signed
Merged
module: sparse
Related to torch.sparse
open source
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement compressed sparse row format. Derived from the GCS implementation at #44190