Skip to content

Conversation

@v0dro
Copy link
Contributor

@v0dro v0dro commented Jan 22, 2021

Implement compressed sparse row format. Derived from the GCS implementation at #44190

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.