pytorch
5cd8a77e - Skip inplace autograd test if inplace variant doesn't exist (#54460)

Commit
3 years ago
Skip inplace autograd test if inplace variant doesn't exist (#54460) Summary: Fixes https://github.com/pytorch/pytorch/issues/54413 1. Skip inplace autograd test for an op if its inplace variant does not exist. 2. For ops that don't have an inplace variant, remove redundant `supports_inplace_autograd=False` assignments in their `OpInfo`s. 3. Ops having inplace variants that do not support autograd should not have `supports_inplace_autograd=False` entries removed from their `OpInfo`s. Pull Request resolved: https://github.com/pytorch/pytorch/pull/54460 Reviewed By: ngimel Differential Revision: D27255938 Pulled By: mruberry fbshipit-source-id: f15334b09e68995e9f26adc2ff3e59c292689ee8
Parents
Loading