jacrev
and jacfwd
trigger INTERNAL ASSERT FAILED when changing the .data
of input tensor
#94514
Labels
module: functorch
Pertaining to torch.func or pytorch/functorch
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
jacrev
andjacfwd
trigger INTERNAL ASSERT FAILED when changing the.data
of input tensorFor such cases, the
jacobian
just ignores the operation on thedata
attribute (so it fails thegradcheck
). I am not sure which way is better.Versions
cc @zou3519 @Chillee @samdow @soumith @kshitij12345 @janeyx99
The text was updated successfully, but these errors were encountered: