Skip to content

[Feature request] Batch linear algebra operators #7500

@gpleiss

Description

@gpleiss

It would be awesome if there were batched versions of potrf, potrs, potri, and qr. The batch Cholesky functions would be useful in MultivariateNormal, which currently uses a for loop to compute a batch of Cholesky decompositions.

It looks like Magma has batched versions of these functions. Lapack does not, but the Lapack version of this function could always use a for-loop internally.

Open to a PR?
/cc @vishwakftw @ssnl @jacobrgardner

Edit: and batched matrix inverse
Edit [vishwakftw]: Added a checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: linear algebraIssues related to specialized linear algebra operations in PyTorch; includes matrix multiply matmultodoNot as important as medium or high priority tasks, but we will work on these.triagedThis 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