Skip to content

Conversation

@anjali411
Copy link
Contributor

@anjali411 anjali411 commented Jun 11, 2020

Stack from ghstack:

Differential Revision: D22163234

@dr-ci
Copy link

dr-ci bot commented Jun 11, 2020

💊 CI failures summary and remediations

As of commit cea0162 (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 121 times.

@anjali411 anjali411 requested a review from mruberry June 11, 2020 16:03
@anjali411 anjali411 added the module: complex Related to complex number support in PyTorch label Jun 11, 2020
anjali411 added a commit that referenced this pull request Jun 11, 2020
ghstack-source-id: a0063f0
Pull Request resolved: #39860
anjali411 added a commit that referenced this pull request Jun 11, 2020
ghstack-source-id: ae213f6
Pull Request resolved: #39860
anjali411 added a commit that referenced this pull request Jun 12, 2020
ghstack-source-id: 136f549
Pull Request resolved: #39860
anjali411 added a commit that referenced this pull request Jun 12, 2020
ghstack-source-id: df05cc9
Pull Request resolved: #39860
@mruberry mruberry removed the request for review from apaszke June 12, 2020 20:04
anjali411 added a commit that referenced this pull request Jun 15, 2020
ghstack-source-id: 1dddaf3
Pull Request resolved: #39860
anjali411 added a commit that referenced this pull request Jun 16, 2020
ghstack-source-id: 2e6eaf6
Pull Request resolved: #39860
@mruberry
Copy link
Collaborator

Additional question: how will this work in C++? What's up with the derivatives.yaml entries for real and imag being removed by the view_as_real and view_as_complex PR? Will you be able to backward after performing .real?

@albanD
Copy link
Collaborator

albanD commented Jun 16, 2020

I don't know about the c++ api.
But "Will you be able to backward after performing .real?" the answer is yes. at::real() is now a composite function. And so only the derivatives of its constituents is needed (view_as_real + select).

anjali411 added a commit that referenced this pull request Jun 17, 2020
ghstack-source-id: 9ed9d6d
Pull Request resolved: #39860
anjali411 added a commit that referenced this pull request Jun 19, 2020
ghstack-source-id: 2afdbd9
Pull Request resolved: #39860
anjali411 added a commit that referenced this pull request Jun 22, 2020
ghstack-source-id: c214ca6
Pull Request resolved: #39860
anjali411 added a commit that referenced this pull request Jun 24, 2020
ghstack-source-id: 15d8e71
Pull Request resolved: #39860
@anjali411 anjali411 requested a review from mruberry June 24, 2020 16:24
Copy link
Collaborator

@mruberry mruberry left a comment

Choose a reason for hiding this comment

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

LGTM!

anjali411 added a commit that referenced this pull request Jun 26, 2020
ghstack-source-id: a5cc997
Pull Request resolved: #39860
anjali411 added a commit that referenced this pull request Jun 29, 2020
ghstack-source-id: 505cb74
Pull Request resolved: #39860
@facebook-github-bot
Copy link
Contributor

@anjali411 merged this pull request in 11a74a5.

1 similar comment
@facebook-github-bot
Copy link
Contributor

@anjali411 merged this pull request in 11a74a5.

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

Labels

Merged module: complex Related to complex number support in PyTorch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants