`LeRobotDataset:v3.0`: Bringing large-scale datasets to `lerobot`
LeRobotDataset v3.0 replaces the one-episode-per-file layout of v2, which hit file-system limits at millions of episodes, with multi-episode Parquet and MP4 files indexed by relational metadata that records episode boundaries and video timestamps. The repository layout separates meta files (info.json schema, stats.json normalization stats, tasks.jsonl, chunked Parquet episode metadata) from chunked data/ and videos/ directories. A new StreamingLeRobotDataset reads datasets directly from the Hugging Face Hub without downloading them, which matters for collections like the ~500 GB L2D driving dataset. A one-line script converts v2.1 datasets, and delta_timestamps windowing integrates with PyTorch DataLoader for RL and behavioral-cloning training.
Related posts
- Record, train, and deploy from one place with Strands Agents, LeRobot, and Hugging Face Storage Buckets
Hugging Face mediumAdeptStrands Robots 0.6 and LeRobot 0.7 form a continuous robot data loop. Demonstrations are recorded as LeRobotDatasets with `Robot.run(record=...)` and synced into Hugging Face Storage Buckets, which are Xet-backed and deduplicate at the byte level with content-defined chunking. Training streams the data back through `StreamingLeRobotDataset` with no local download, and the checkpoint deploys to hardware with a `port=` change. In HF's benchmarks, re-uploading a 500 MB file with 1% of its bytes changed transferred only 5.5 MB. A full streaming read of an 86 MB dataset left under 1 MB on disk, because LeRobot's large Parquet and MP4 shards turn each batch into a few byte-range reads.
- LeRobot v0.4.0: Supercharging OSS Robot Learning
Hugging Face mediumAdeptLeRobot v0.4.0 introduces Datasets v3.0 with a chunked episode format, video streaming and unified Parquet metadata for OXE-scale (>400GB) robot datasets, plus a lerobot-edit-dataset CLI to merge, split and delete episodes. It adds a modular Processors pipeline that chains steps such as normalization, tokenization and device transfer between robots and policies. Multi-GPU training runs through Accelerate, and LIBERO and Meta-World simulation benchmarks are now supported. The release also integrates the PI0/PI0.5 and NVIDIA GR00T N1.5 VLA policies, a pip-installable hardware plugin system (used for Reachy 2 and phone teleoperation), and a free robot learning course.
- Streaming datasets: 100x More Efficient
Hugging Face mediumAdeptHugging Face reworked streaming in the `datasets` library so multi-terabyte datasets can feed large training jobs directly from the Hub, keeping the same `streaming=True` API. The fix for request storms, where every DataLoader worker resolved data files independently, is a persistent data-files cache shared across workers plus batched resolution calls, cutting startup requests up to 100x and making file resolution 10x faster. Parquet prefetching and configurable PyArrow buffer and range sizes roughly double streaming throughput. They report that at 64xH100 with 256 workers, streaming matched local SSD reads. Xet deduplicated storage with Parquet content-defined chunking speeds transfers, and an improved HfFileSystem supports custom streaming pipelines.
- Welcome RL Environments to the hub
Hugging Face mediumAdeptThe Hugging Face Hub now treats RL environments as ordinary dataset repos tagged `rl-environment`, surfaced through a new filter. Framework tags (harbor, verifiers, openenv, nemo-gym) generate "Use this dataset" run snippets. There is no new repo type or registry: task data and verifiers live in the repo, and frameworks such as Harbor, Verifiers, OpenEnv and NeMo Gym run them locally or on cloud backends. Example commands run the same Terminal-Bench tasks and inspect rewards in each framework. Maintainers integrate by adding tags to the dataset card YAML, and per-config snippets and automatic tagging are planned next.
- Scaling robotics datasets with video encoding
Hugging Face mediumAdeptLeRobot stores the camera frames of robotics datasets as AV1 video instead of per-frame PNGs. That cuts datasets to about 14% of their original size on average and as little as 0.2% at best, while keeping them usable for training. An FFmpeg benchmark across four datasets measured codec, pixel format, GOP size and CRF against size, decoding time, quality (MSE, PSNR, SSIM) and browser compatibility, using frame-access patterns typical of policy training. The chosen settings are libsvtav1 with yuv420p, g=2 and crf=30. With them, a single-frame load is about as fast as loading a PNG, and loading several consecutive frames takes 25–50% of the PNG time.