Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Nov 22, 2023
1 parent 1a2e65e commit 4edd592
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tensordict/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3041,6 +3041,7 @@ def map(
imap = pool.imap(fn, self_split, chunksize)
while len(out) < len(self_split):
out.append(imap.next(timeout=50.0))
print(len(out))
# out = pool.map(fn, self_split, chunksize)
out = torch.cat(list(imap), dim)
return out
Expand Down

0 comments on commit 4edd592

Please sign in to comment.