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:
soulitzer 2022-02-01 11:21:30 -05:00
parent c9d3b181f3
commit e10fd781d4

Diff Content Not Available