8000 cuSOLVER backend for Sparse CSR direct linear solvers · Issue #69538 · pytorch/pytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
cuSOLVER backend for Sparse CSR direct linear solvers #69538
Closed
@IvanYashchuk

Description

@IvanYashchuk

🚀 Feature

cuSolverSP (part of cuSOLVER) provides linear solver, least-square solver routines for matrices in CSR format. We can use it as a backend for torch.linalg.solve and torch.linalg.lstsq.

We are working on improving coverage of Sparse CSR matrices in PyTorch. Solving systems of linear equations is one of the 7282 fundamental operations in computational linear algebra.

From cuSOLVER docs:

The high-level API is designed for ease-of-use, so it allocates any required memory under the hood automatically. If the host or GPU system memory is not enough, an error is returned.

Unfortunately, it means these functions do not allow passing externally allocated buffers, and paths with inputs on GPU are not implemented (there remarks for relevant functions "only CPU (Host) path is provided").

cc @nikitaved @pearu @cpuhrsch @IvanYashchuk @ngimel @jianyuh @mruberry @walterddr @xwang233 @lezcano

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: cudaRelated to torch.cuda, and CUDA support in generalmodule: linear algebraIssues related to specialized linear algebra operations in PyTorch; includes matrix multiply matmulmodule: sparseRelated to torch.sparsetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0