-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Forward-over-reverse gradgradcheck fails for torch.gradient
on CUDA
#69925
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
Comments
Is this related to #70027? I've been trying to debug it and it seems perhaps ZeroTensor is involved. |
@anjali411 maybe #71160 is related? |
Why do we have |
yeah #71160 will fix this issue. This issue is being caused because the CUDA dispatch key is not correctly set on EZTs creating with cuda device |
@jeffdaily yeah we could certainly add a fastpath for div as well. Here is a complete list of ops that can benefit from the fastpath in the JVP computation: #69687 |
…ors" Fixes #71160 #69925 Differential Revision: [D33768645](https://our.internmc.facebook.com/intern/diff/D33768645) [ghstack-poisoned]
Fixes #71160 #69925 Differential Revision: [D33768645](https://our.internmc.facebook.com/intern/diff/D33768645) [ghstack-poisoned]
I added |
…ors" Fixes #71160 #69925 Differential Revision: [D33834916](https://our.internmc.facebook.com/intern/diff/D33834916) [ghstack-poisoned]
Fixes #71160 #69925 Differential Revision: [D33834916](https://our.internmc.facebook.com/intern/diff/D33834916) [ghstack-poisoned]
…ors" Fixes #71160 #69925 Differential Revision: [D33834916](https://our.internmc.facebook.com/intern/diff/D33834916) [ghstack-poisoned]
Fixes #71160 #69925 Differential Revision: [D33834916](https://our.internmc.facebook.com/intern/diff/D33834916) [ghstack-poisoned]
…ors" Fixes #71160 #69925 Differential Revision: [D33834916](https://our.internmc.facebook.com/intern/diff/D33834916) [ghstack-poisoned]
Fixes #71160 #69925 Differential Revision: [D33834916](https://our.internmc.facebook.com/intern/diff/D33834916) [ghstack-poisoned]
…ors" Fixes #71160 #69925 #69913 Differential Revision: [D33897543](https://our.internmc.facebook.com/intern/diff/D33897543) [ghstack-poisoned]
Fixes #71160 #69925 #69913 Differential Revision: [D33897543](https://our.internmc.facebook.com/intern/diff/D33897543) [ghstack-poisoned]
…ors" Fixes #71160 #69925 #69913 Differential Revision: [D33897543](https://our.internmc.facebook.com/intern/diff/D33897543) [ghstack-poisoned]
Fixes #71160 #69925 #69913 Differential Revision: [D33897543](https://our.internmc.facebook.com/intern/diff/D33897543) [ghstack-poisoned]
…ors" Fixes #71160 #69925 #69913 Differential Revision: [D33897543](https://our.internmc.facebook.com/intern/diff/D33897543) [ghstack-poisoned]
Fixes #71160 #69925 #69913 Differential Revision: [D33897543](https://our.internmc.facebook.com/intern/diff/D33897543) [ghstack-poisoned]
Summary: Pull Request resolved: pytorch/pytorch#71611 Fixes pytorch/pytorch#71160 pytorch/pytorch#69925 Test Plan: Imported from OSS Reviewed By: george-qi Differential Revision: D33834916 Pulled By: anjali411 fbshipit-source-id: 11cec343e95e2ee188ab7576f26f64aa19317891 (cherry picked from commit f6e86f8)
Summary: Pull Request resolved: pytorch/pytorch#71611 Fixes pytorch/pytorch#71160 pytorch/pytorch#69925 #69913 Test Plan: Imported from OSS Reviewed By: VitalyFedyunin Differential Revision: D33897543 Pulled By: anjali411 fbshipit-source-id: f1d8608c351876b8c2619da5ef891f74bad30ab5 (cherry picked from commit 643e666)
Summary: Pull Request resolved: pytorch/pytorch#71611 Fixes pytorch/pytorch#71160 pytorch/pytorch#69925 Test Plan: Imported from OSS Reviewed By: george-qi Differential Revision: D33834916 Pulled By: anjali411 fbshipit-source-id: 11cec343e95e2ee188ab7576f26f64aa19317891 (cherry picked from commit f6e86f8)
Summary: Pull Request resolved: pytorch/pytorch#71611 Fixes pytorch/pytorch#71160 pytorch/pytorch#69925 #69913 Test Plan: Imported from OSS Reviewed By: VitalyFedyunin Differential Revision: D33897543 Pulled By: anjali411 fbshipit-source-id: f1d8608c351876b8c2619da5ef891f74bad30ab5 (cherry picked from commit 643e666)
fixed by #71611 |
Summary: Pull Request resolved: pytorch/pytorch#71611 Fixes pytorch/pytorch#71160 pytorch/pytorch#69925 Test Plan: Imported from OSS Reviewed By: george-qi Differential Revision: D33834916 Pulled By: anjali411 fbshipit-source-id: 11cec343e95e2ee188ab7576f26f64aa19317891 (cherry picked from commit f6e86f8)
Summary: Pull Request resolved: pytorch/pytorch#71611 Fixes pytorch/pytorch#71160 pytorch/pytorch#69925 #69913 Test Plan: Imported from OSS Reviewed By: VitalyFedyunin Differential Revision: D33897543 Pulled By: anjali411 fbshipit-source-id: f1d8608c351876b8c2619da5ef891f74bad30ab5 (cherry picked from commit 643e666)
Summary: Fixes pytorch/pytorch#70027. Fixes pytorch/pytorch#69925. Reverts pytorch/pytorch#70061. Completes a task from pytorch/pytorch#69687. Pull Request resolved: pytorch/pytorch#71862 Reviewed By: george-qi Differential Revision: D33824078 Pulled By: anjali411 fbshipit-source-id: 114754161077281f9804476288ed796d344ee54b (cherry picked from commit 55ce1d5c02b5869497d07e916c46b6f50287542c)
Summary: Pull Request resolved: pytorch/pytorch#71611 Fixes pytorch/pytorch#71160 pytorch/pytorch#69925 Test Plan: Imported from OSS Reviewed By: george-qi Differential Revision: D33834916 Pulled By: anjali411 fbshipit-source-id: 11cec343e95e2ee188ab7576f26f64aa19317891 (cherry picked from commit f6e86f8)
Summary: Pull Request resolved: pytorch/pytorch#71611 Fixes pytorch/pytorch#71160 pytorch/pytorch#69925 #69913 Test Plan: Imported from OSS Reviewed By: VitalyFedyunin Differential Revision: D33897543 Pulled By: anjali411 fbshipit-source-id: f1d8608c351876b8c2619da5ef891f74bad30ab5 (cherry picked from commit 643e666)
Summary: Fixes pytorch/pytorch#70027. Fixes pytorch/pytorch#69925. Reverts pytorch/pytorch#70061. Completes a task from pytorch/pytorch#69687. Pull Request resolved: pytorch/pytorch#71862 Reviewed By: george-qi Differential Revision: D33824078 Pulled By: anjali411 fbshipit-source-id: 114754161077281f9804476288ed796d344ee54b (cherry picked from commit 55ce1d5c02b5869497d07e916c46b6f50287542c)
Uh oh!
There was an error while loading. Please reload this page.
🐛 Describe the bug
To replicate: Remove the
expectedFailure
decorator fortest_fn_fwgrad_bwgrad
ingradient
's OpInfoAt of time of posting: only fails on this branch #69740
Versions
At of time of posting: only fails on this branch #69740
Once that has been landed: should be able to replicate on main branch
cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @lezcano @Varal7
The text was updated successfully, but these errors were encountered: