-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Update backward definition for more operators and reenable tests in test_ops.py #44444
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
…est_ops.py [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 82ad2f8 (more details on the Dr. CI page): Commit 82ad2f8 was recently pushed. Waiting for builds... 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 107 times. |
… tests in test_ops.py" [ghstack-poisoned]
… tests in test_ops.py" [ghstack-poisoned]
… tests in test_ops.py" [ghstack-poisoned]
… tests in test_ops.py" [ghstack-poisoned]
… tests in test_ops.py" [ghstack-poisoned]
…enable tests in test_ops.py" [ghstack-poisoned]
…enable tests in test_ops.py" [ghstack-poisoned]
…enable tests in test_ops.py" This PR: 1. updates backward formula for the following functions: `asin`, `acos`, `asinh`, `acosh`, `atan`, `atanh`, `div`, `log`, `log10`, `log2`, `log1p`, `pow`. 2. Re-enables the tests in `test_ops.py`. 3. Fixes a bug in `.pow()` for the case when exp is complex and equals 1.0 https://github.com/pytorch/pytorch/pull/44444/files#diff-9fa1985487308c7241bba078a8622c44L33 . 4. Adds dispatch for complex dtypes for `tanh`. 5. Re-enables commented tests in `common_methods_invocation.py`. [ghstack-poisoned]
…enable tests in test_ops.py" This PR: 1. updates backward formula for the following functions: `asin`, `acos`, `asinh`, `acosh`, `atan`, `atanh`, `div`, `log`, `log10`, `log2`, `log1p`, `pow`. 2. Re-enables the tests in `test_ops.py`. 3. Fixes a bug in `.pow()` for the case when exp is complex and equals 1.0 https://github.com/pytorch/pytorch/pull/44444/files#diff-9fa1985487308c7241bba078a8622c44L33 . 4. Adds dispatch for complex dtypes for `tanh`. 5. Re-enables commented tests in `common_methods_invocation.py`. [ghstack-poisoned]
…enable tests in test_ops.py" This PR: 1. updates backward formula for the following functions: `asin`, `acos`, `asinh`, `acosh`, `atan`, `atanh`, `div`, `log`, `log10`, `log2`, `log1p`, `pow`, `reciprocal`. 2. Re-enables the tests in `test_ops.py`. 3. Fixes a bug in `.pow()` for the case when exp is complex and equals 1.0 https://github.com/pytorch/pytorch/pull/44444/files#diff-9fa1985487308c7241bba078a8622c44L33 . 4. Adds dispatch for complex dtypes for `tanh_backward`. 5. Re-enables commented tests in `common_methods_invocation.py`. [ghstack-poisoned]
…enable tests in test_ops.py" This PR: 1. updates backward formula for the following functions: `asin`, `acos`, `asinh`, `acosh`, `atan`, `atanh`, `div`, `log`, `log10`, `log2`, `log1p`, `pow`, `reciprocal`. 2. Re-enables the tests in `test_ops.py`. 3. Fixes a bug in `.pow()` for the case when exp is complex and equals 1.0 https://github.com/pytorch/pytorch/pull/44444/files#diff-9fa1985487308c7241bba078a8622c44L33 . 4. Adds dispatch for complex dtypes for `tanh_backward`. 5. Re-enables commented tests in `common_methods_invocation.py`. [ghstack-poisoned]
… tests in test_ops.py" This PR: 1. Fixes #41510. Updates backward formula for the following functions: `asin`, `acos`, `asinh`, `acosh`, `atan`, `atanh`, `div`, `log`, `log10`, `log2`, `log1p`, `pow` (fixes #41510 ), `reciprocal`, `angle`. 2. Re-enables the tests in `test_ops.py`. 3. Adds dispatch for complex dtypes for `tanh_backward`. 4. Re-enables commented tests in `common_methods_invocation.py`. Differential Revision: [D24027761](https://our.internmc.facebook.com/intern/diff/D24027761) [ghstack-poisoned]
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.
lgtm
@anjali411 merged this pull request in 7d809f5. |
Unfortunately this is failing Windows only test:
|
Re #44444 Fixes #46144 Differential Revision: [D24285785](https://our.internmc.facebook.com/intern/diff/D24285785) [ghstack-poisoned]
Re #44444 Fixes #46144 Differential Revision: [D24285785](https://our.internmc.facebook.com/intern/diff/D24285785) [ghstack-poisoned]
Re #44444 Fixes #46144 Differential Revision: [D24285785](https://our.internmc.facebook.com/intern/diff/D24285785) [ghstack-poisoned]
Re #44444 Fixes #46144 Differential Revision: [D24285785](https://our.internmc.facebook.com/intern/diff/D24285785) [ghstack-poisoned]
Stack from ghstack:
This PR:
asin
,acos
,asinh
,acosh
,atan
,atanh
,div
,log
,log10
,log2
,log1p
,pow
(fixes [Complex Autograd] pow_backward functions throw error for complex dtypes #41510 ),reciprocal
,angle
.test_ops.py
.tanh_backward
.common_methods_invocation.py
.Differential Revision: D24027761