Skip to content

[ci-all] [do not merge] will be closed by 53104#53992

Closed
xwang233 wants to merge 29 commits intomasterfrom
ci-all/cusolver-cholesky-1
Closed

[ci-all] [do not merge] will be closed by 53104#53992
xwang233 wants to merge 29 commits intomasterfrom
ci-all/cusolver-cholesky-1

Conversation

@xwang233
Copy link
Copy Markdown
Collaborator

Fixes #{issue number}

@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Mar 15, 2021

💊 CI failures summary and remediations

As of commit d52f95d (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).Follow this link to opt-out of these comments for your Pull Requests.

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@mruberry merged this pull request in 2f3b194.

@github-actions github-actions Bot deleted the ci-all/cusolver-cholesky-1 branch February 11, 2024 01:51
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…decomposition (pytorch#53104)

Summary:
This PR adds cusolver potrf and potrfBatched to the backend of torch.cholesky and torch.linalg.cholesky.

Cholesky heuristics:

- Use cusolver potrf for batch_size 1
- Use magma_xpotrf_batched for batch_size >= 2
- if magma is not available, use loop of cusolver potrf for batch_size >= 2

cusolver potrf batched currently has some nan output issue, we will switch to cusolver potrf batched after it's fixed

See also pytorch#42666 pytorch#47953

Todo:

- [x] benchmark and heuristic

Close pytorch#53992

Pull Request resolved: pytorch#53104

Reviewed By: agolynski

Differential Revision: D27113963

Pulled By: mruberry

fbshipit-source-id: 1429f63891cfc6176f9d8fdeb5c3b0617d750803
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants