You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
could you add an implementation of a batched IterableDataset. It already support an option to do batch iteration via .iter(batch_size=...) but this cannot be used in combination with a torch DataLoader since it just returns an iterator.
Motivation
The current implementation loads each element of a batch individually which can be very slow in cases of a big batch_size. I did some experiments here and using a batched iteration would speed up data loading significantly.
Your contribution
N/A
The text was updated successfully, but these errors were encountered:
Feature request
Hi,
could you add an implementation of a batched
IterableDataset
. It already support an option to do batch iteration via.iter(batch_size=...)
but this cannot be used in combination with a torchDataLoader
since it just returns an iterator.Motivation
The current implementation loads each element of a batch individually which can be very slow in cases of a big batch_size. I did some experiments here and using a batched iteration would speed up data loading significantly.
Your contribution
N/A
The text was updated successfully, but these errors were encountered: