Updated derivatives for complex mm, mv, ger, bmm, triangular_solve#45737
Updated derivatives for complex mm, mv, ger, bmm, triangular_solve#45737IvanYashchuk wants to merge 10 commits intopytorch:masterfrom
Conversation
Enable gradgradcheck for complex cholesky
💊 CI failures summary and remediationsAs of commit f0908d6 (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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 16 times. |
|
@IvanYashchuk this PR looks good overall. Sorry I didn't get a chance to finish working on #42553 because of complex autograd issues. I would try to work on it this week. In case, it's blocking a lot of other work, would you like to take over #42553? |
Correctness of the derivatiev rule for bmm is being implicitly tested in triangular_solve for now.
We should remember to re-enable them once batched matmul for complex is supported on cuda
facebook-github-bot
left a comment
There was a problem hiding this comment.
@anjali411 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Codecov Report
@@ Coverage Diff @@
## master #45737 +/- ##
=======================================
Coverage 68.20% 68.20%
=======================================
Files 410 410
Lines 53453 53453
=======================================
Hits 36458 36458
Misses 16995 16995 Continue to review full report at Codecov.
|
| 'cosh', '__rmul__', 'sgn', 'abs', 'dot', 'vdot', 'tensor_split', | ||
| 'matmul', 'bmm', 'mv', 'ger', 'diagonal', ] + separate_complex_tests | ||
|
|
||
| # this list corresponds to cases that are not currently implemented |
There was a problem hiding this comment.
nit - not currently implemented for complex tensors
anjali411
left a comment
There was a problem hiding this comment.
LGTM thanks @IvanYashchuk
facebook-github-bot
left a comment
There was a problem hiding this comment.
@anjali411 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
@anjali411 merged this pull request in 528158a. |
…ytorch#45737) Summary: This PR updates derivatives for a few functions so that `gradgradcheck` for `torch.cholesky` is passed ([ref](pytorch#45267 (comment))). Some tests (that call to `bmm_cuda`) fail with with `RuntimeError: _th_bmm_out not supported on CUDAType for ComplexDouble` until PR pytorch#42553 is merged. Ref. pytorch#33152 Pull Request resolved: pytorch#45737 Reviewed By: bdhirsh Differential Revision: D24279917 Pulled By: anjali411 fbshipit-source-id: 7b696d2cfc2ef714332c2e3e5d207e257be67744
This PR updates derivatives for a few functions so that
gradgradcheckfortorch.choleskyis passed (ref).Some tests (that call to
bmm_cuda) fail with withRuntimeError: _th_bmm_out not supported on CUDAType for ComplexDoubleuntil PR #42553 is merged.
Ref. #33152