vmap over getitem indexing raises a RunTime error #124291
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
Calling
torch.vmap
over indexing raises a runtime error:Expected
result2
to returntorch.tensor([0, 2])
This is related to #115347 but not exactly the same.
Versions
cc @zou3519 @Chillee @samdow @kshitij12345 @janeyx99
The text was updated successfully, but these errors were encountered: