[BUG] torch.vmap
fails when chunk_size
is set to some positive integer.
#1091
Labels
bug
Something isn't working
Describe the bug
torch.vmap
seems to be incompatible withtensordict.TensorDictBase
input whenchunk_size
is not None.To Reproduce
Steps to reproduce the behavior.
Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.
Please use the markdown code blocks for both code and stack traces.
Expected behavior
The expected behavior is no error should be spit out.
Screenshots
nope.
System info
Describe the characteristic of your environment:
Additional context
might be related to #823
Reason and Possible fixes
If you know or suspect the reason for this bug, paste the code lines and suggest modifications.
Checklist
The text was updated successfully, but these errors were encountered: