Commit cbb629d
committed
Update on "Avoid calling allclose in the backward if there are tensor subclasses"
`allclose` it's data-dependent (returns a bool) so it does not play well
with functorch. We are skipping that check in the context of subclasses
to avoid hard errors.
Partially fixes #90499
cc zou3519 Chillee samdow soumith
[ghstack-poisoned]1 parent ed1f057 commit cbb629d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3550 | 3550 | | |
3551 | 3551 | | |
3552 | 3552 | | |
3553 | | - | |
3554 | | - | |
| 3553 | + | |
| 3554 | + | |
3555 | 3555 | | |
3556 | 3556 | | |
3557 | 3557 | | |
| |||
0 commit comments