-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Added support for complex input for Cholesky decomposition #44895
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
Conversation
…_value Modified random_fullrank_matrix_distinct_singular_value to have random singular values
💊 CI failures summary and remediationsAs of commit 2c02725 (more details on the Dr. CI page):
1 failure confirmed as flaky and can be ignored:
ci.pytorch.org: 1 failedThis 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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 42 times. |
39fb705 to
2b921c1
Compare
2b921c1 to
7409222
Compare
Codecov Report
@@ Coverage Diff @@
## master #44895 +/- ##
=======================================
Coverage 67.83% 67.83%
=======================================
Files 384 384
Lines 49962 49962
=======================================
+ Hits 33892 33893 +1
+ Misses 16070 16069 -1
Continue to review full report at Codecov.
|
10eb62a to
39e5044
Compare
|
@anjali411, regarding your comments about changes |
facebook-github-bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anjali411 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also update the backward definition for cholesky operation and gradcheck test for complex. @IvanYashchuk would you like to create a follow-up PR for that? you can find the gradient formula for cholesky decomposition in https://arxiv.org/pdf/1701.00392.pdf 4.53 and 4.54
Yes, I'll do that. |
|
@anjali411 merged this pull request in 5b20bf4. |
Summary: Updated `cholesky_backward` to work correctly for complex input. Note that the current implementation gives the conjugate of what JAX would return. anjali411 is that correct thing to do? Ref. #44895 Pull Request resolved: #45267 Reviewed By: bwasti Differential Revision: D23975269 Pulled By: anjali411 fbshipit-source-id: 9908b0bb53c411e5ad24027ff570c4f0abd451e6
Cholesky decomposition now works for complex inputs.
Fixes #44637.