Thanks @ptrblck, I can confirm that in the iter/next  approach, the dataloader behaves as expect and preloads future batches when number of workers > 0. My observation is based on a vanilla dataloader from torch.