Commit 528158a
Updated derivatives for complex mm, mv, ger, bmm, triangular_solve (#45737)
Summary:
This PR updates derivatives for a few functions so that `gradgradcheck` for `torch.cholesky` is passed ([ref](#45267 (comment))).
Some tests (that call to `bmm_cuda`) fail with with `RuntimeError: _th_bmm_out not supported on CUDAType for ComplexDouble`
until PR #42553 is merged.
Ref. #33152
Pull Request resolved: #45737
Reviewed By: bdhirsh
Differential Revision: D24279917
Pulled By: anjali411
fbshipit-source-id: 7b696d2cfc2ef714332c2e3e5d207e257be677441 parent 7f458e1 commit 528158a
File tree
4 files changed
+33
-24
lines changed- test
- tools/autograd
- torch/csrc/autograd
4 files changed
+33
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2509 | 2509 | | |
2510 | 2510 | | |
2511 | 2511 | | |
2512 | | - | |
2513 | | - | |
2514 | | - | |
| 2512 | + | |
2515 | 2513 | | |
2516 | 2514 | | |
2517 | 2515 | | |
| |||
2684 | 2682 | | |
2685 | 2683 | | |
2686 | 2684 | | |
2687 | | - | |
2688 | | - | |
2689 | | - | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
2690 | 2688 | | |
2691 | 2689 | | |
2692 | 2690 | | |
| |||
2695 | 2693 | | |
2696 | 2694 | | |
2697 | 2695 | | |
2698 | | - | |
2699 | | - | |
2700 | | - | |
2701 | | - | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
2702 | 2701 | | |
2703 | 2702 | | |
2704 | 2703 | | |
| |||
4833 | 4832 | | |
4834 | 4833 | | |
4835 | 4834 | | |
4836 | | - | |
| 4835 | + | |
| 4836 | + | |
| 4837 | + | |
| 4838 | + | |
| 4839 | + | |
4837 | 4840 | | |
4838 | 4841 | | |
4839 | 4842 | | |
| |||
5019 | 5022 | | |
5020 | 5023 | | |
5021 | 5024 | | |
| 5025 | + | |
| 5026 | + | |
| 5027 | + | |
| 5028 | + | |
| 5029 | + | |
5022 | 5030 | | |
5023 | 5031 | | |
5024 | 5032 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
| 278 | + | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
501 | | - | |
502 | | - | |
| 501 | + | |
| 502 | + | |
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
752 | | - | |
753 | | - | |
| 752 | + | |
| 753 | + | |
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
533 | | - | |
| 533 | + | |
534 | 534 | | |
535 | | - | |
| 535 | + | |
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
| 553 | + | |
554 | 554 | | |
555 | | - | |
| 555 | + | |
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| |||
2123 | 2123 | | |
2124 | 2124 | | |
2125 | 2125 | | |
2126 | | - | |
| 2126 | + | |
2127 | 2127 | | |
2128 | | - | |
| 2128 | + | |
2129 | 2129 | | |
2130 | 2130 | | |
2131 | 2131 | | |
| |||
0 commit comments