Skip to content

Conversation

@IvanYashchuk
Copy link
Collaborator

@IvanYashchuk IvanYashchuk commented Oct 2, 2020

This PR updates derivatives for a few functions so that gradgradcheck for torch.cholesky is passed (ref).

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

@IvanYashchuk IvanYashchuk added module: complex Related to complex number support in PyTorch complex_autograd labels Oct 2, 2020
@IvanYashchuk IvanYashchuk requested a review from anjali411 October 2, 2020 14:36
@IvanYashchuk IvanYashchuk removed the request for review from apaszke October 2, 2020 14:36
@VitalyFedyunin VitalyFedyunin added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Oct 5, 2020
@dr-ci
Copy link

dr-ci bot commented Oct 11, 2020

💊 CI failures summary and remediations

As 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.

See how this bot performed.

This comment has been revised 16 times.

@anjali411
Copy link
Contributor

@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
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a 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.

@codecov
Copy link

codecov bot commented Oct 13, 2020

Codecov Report

Merging #45737 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bbb3f09...f0908d6. Read the comment docs.

'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
Copy link
Contributor

@anjali411 anjali411 Oct 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit - not currently implemented for complex tensors

Copy link
Contributor

@anjali411 anjali411 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks @IvanYashchuk

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a 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.

@IvanYashchuk IvanYashchuk deleted the complex-grad branch October 15, 2020 18:40
@facebook-github-bot
Copy link
Contributor

@anjali411 merged this pull request in 528158a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

complex_autograd Merged module: complex Related to complex number support in PyTorch open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants