The map_iter PR (#847) causes the CI to sporadically fail.
I think the failing tests are in TestMap but I'm not 100% sure.
Cause
I believe this is due to the fact that this PR solved an issue previously unknown: before #847, index_with_generator was ignored in map and hence the related test didn't do much.
Now this is fixed. Not sure why but it seems the test is now failing when we use this generator.
The
map_iter
PR (#847) causes the CI to sporadically fail. I think the failing tests are inTestMap
but I'm not 100% sure.Cause
I believe this is due to the fact that this PR solved an issue previously unknown: before #847, index_with_generator was ignored in
map
and hence the related test didn't do much.Now this is fixed. Not sure why but it seems the test is now failing when we use this generator.
I tried various things to fix this in https://github.com/pytorch/tensordict/pull/869 without success
cc @kurtamohler if you want to help!