16Implement a data loader that batches and shuffles a dataset, and explain efficient input pipelines.▼mediumNVIDIAGoogleMeta1 replies○ sign inData loading is where training pipelines quietly bottleneck. The signal is a correct shuffle-then-batch iterator plus knowing why prefetching and parallel loading keep the GPU fed.Open full answer →
128Build a mini data loader with sharding for distributed training: split data across workers without overlap.▼mediumMetaNVIDIAGoogle2 replies◆ premiumA build-it-yourself check on distributed input pipelines. What matters is partitioning data across workers with no overlap and no gaps, epoch-consistent shuffling with a shared seed, and handling the uneven-last-batch problem. The code follows.Open full answer →