Hugging Face Datasets 5.1.0 fixes streaming bugs for multi-worker PyTorch DataLoaders

lmoroney · x · 2026-10-06

Hugging Face shipped Datasets 5.1.0 with major fixes for iterable (streaming) datasets: take/skip counts now hold when DataLoader workers outnumber shards, epoch iteration works after skipping/taking a subset, shuffling preserves source shards, and distributed skipping shards sources correctly. New splitdatasetbynode strategy argument; adds Vortex columnar format plus FASTA, FASTQ, GenBank, PDB, mmCIF for genomics and molecular structures. Users streaming training data are advised to upgrade and verify per-epoch counts.

Related event: Hugging Face Datasets 5.1 Adds Vortex and Biomolecular Formats(3 posts)→

Original post →

More from Infra

Infra channel →