mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
Update base for Update on "Fix internal assert custom function when input does not require grad"
Fixes #71119 Technically BC-breaking because when an input does not require grad, previously it was returned as-is instead of a view because it didn't need to. Now we will also return a view in that case (whether or not forward AD runs). Differential Revision: [D33859553](https://our.internmc.facebook.com/intern/diff/D33859553) [ghstack-poisoned]
This commit is contained in:
parent
c9d3b181f3
commit
e10fd781d4