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

Sparse CSR CPU: add triangular_solve_out #62180

Closed
wants to merge 61 commits into from

Conversation

IvanYashchuk
Copy link
Collaborator

@IvanYashchuk IvanYashchuk commented Jul 26, 2021

Stack from ghstack:

This PR adds CPU dispatch for triangular_solve with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

cc @nikitaved @pearu @cpuhrsch @IvanYashchuk

Differential Revision: D32581395

This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jul 26, 2021

🔗 Helpful links

💊 CI failures summary and remediations

As of commit 757d1a0 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

IvanYashchuk added a commit that referenced this pull request Jul 26, 2021
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

ghstack-source-id: 6fdcdfbaeafc3478f854a3416bd8b4c31adaee78
Pull Request resolved: #62180
@pearu pearu added this to In progress in Sparse tensors Aug 10, 2021
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

[ghstack-poisoned]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Aug 18, 2021
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

ghstack-source-id: 9c1ff61e92b7718a5ab0de43190eb12afe165c7f
Pull Request resolved: pytorch#62180
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

[ghstack-poisoned]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Aug 19, 2021
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

ghstack-source-id: dc447d57b2108f7f166746d35ec0b70404c0a2e1
Pull Request resolved: pytorch#62180
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

[ghstack-poisoned]
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

[ghstack-poisoned]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Aug 24, 2021
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

ghstack-source-id: d2e5f8756910634edf233e3de22c95c9abfd2076
Pull Request resolved: pytorch#62180
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

[ghstack-poisoned]
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

[ghstack-poisoned]
This PR adds CPU dispatch for `triangular_solve` with sparse CSR matrix.
The implementation uses MKL Sparse library. If it's not available then a runtime error is thrown.

[ghstack-poisoned]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Nov 21, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once pytorch#62180 is merged)

ghstack-source-id: 6ad0cb252b26b3439cd93aa1af520a4dd06470eb
Pull Request resolved: pytorch#68710
Sparse tensors automation moved this from In progress to Done Nov 22, 2021
@facebook-github-bot
Copy link
Contributor

@cpuhrsch merged this pull request in 3b3dc1a.

IvanYashchuk added a commit that referenced this pull request Nov 23, 2021
…or MKL path"

This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit that referenced this pull request Nov 23, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Nov 23, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once pytorch#62180 is merged)

ghstack-source-id: cfca0fd15da7cd2d08e267e340524404fe7dfb2f
Pull Request resolved: pytorch#68710
IvanYashchuk added a commit that referenced this pull request Nov 24, 2021
…or MKL path"

This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit that referenced this pull request Nov 24, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Nov 24, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once pytorch#62180 is merged)

ghstack-source-id: 616dc39ab8b822e4219d9d15a7086174eff758fb
Pull Request resolved: pytorch#68710
IvanYashchuk added a commit that referenced this pull request Nov 25, 2021
…or MKL path"

This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit that referenced this pull request Nov 25, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit that referenced this pull request Nov 25, 2021
…or MKL path"

This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit that referenced this pull request Nov 25, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Nov 25, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once pytorch#62180 is merged)

ghstack-source-id: aa6f61cb0a0c658e0d5f2ce49a00b3267a3b8256
Pull Request resolved: pytorch#68710
@facebook-github-bot facebook-github-bot deleted the gh/ivanyashchuk/32/head branch November 25, 2021 15:17
IvanYashchuk added a commit that referenced this pull request Dec 7, 2021
…or MKL path"

This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit that referenced this pull request Dec 7, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Dec 7, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once pytorch#62180 is merged)

ghstack-source-id: 9a06f7c11de78ae14d361961d1ea0964b411c467
Pull Request resolved: pytorch#68710
IvanYashchuk added a commit that referenced this pull request Dec 13, 2021
…or MKL path"

This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit that referenced this pull request Dec 13, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Dec 13, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once pytorch#62180 is merged)

ghstack-source-id: a6573db40c0eca6153851ea1ff37a61c33cedb59
Pull Request resolved: pytorch#68710
IvanYashchuk added a commit that referenced this pull request Dec 16, 2021
…or MKL path"

This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit that referenced this pull request Dec 16, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

[ghstack-poisoned]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Dec 16, 2021
This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once pytorch#62180 is merged)

ghstack-source-id: 12607605e047afaf104a4c65514240584c3009ac
Pull Request resolved: pytorch#68710
facebook-github-bot pushed a commit that referenced this pull request Dec 17, 2021
Summary:
Pull Request resolved: #68710

This PR adds support for block sparse (BSR) matrices for functions that
use Inspector-Executor MKL Sparse API. At the moment of this PR it's:
* torch.addmm
* torch.addmv
* torch.triangular_solve (once #62180 is merged)

cc nikitaved pearu cpuhrsch IvanYashchuk

Test Plan: Imported from OSS

Reviewed By: ZolotukhinM

Differential Revision: D33179486

Pulled By: cpuhrsch

fbshipit-source-id: e1dec0dccdbfed8b280be16b8c11fc9e770d50ae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed Merged module: mkl Related to our MKL support module: sparse Related to torch.sparse open source
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants