Comparison with Le­Robot

LeRobot is a robot-learning library from Hugging Face, with policies, training code, hardware drivers, and a dataset format for sharing robot data on the Hugging Face Hub. Rerun is already part of the LeRobot ecosystem: LeRobot uses it to show data while recording, teleoperating, and visualizing datasets. Rerun does not replace the policies or the training code. It imports LeRobot datasets, and has its own dataloader that trains directly from recordings in a catalog:

The key difference is how data is stored. A LeRobot dataset holds rows at one fixed sampling rate, while Rerun keeps every stream at its own rate in column chunks and builds training samples when you load them, see Fixed-rate rows vs column chunks.

Training is only one stage of robotics development. Rerun covers the whole data lifecycle, from logging and recording on the robot, through curating and querying, to training. It also integrates well into the ROS ecosystem, see Comparison with ROS.

Robot data and LeRobot datasets become one .rrd recording per episode, registered to a catalog that serves queries and the dataloader, and can be exported back to a LeRobot dataset Robot data and LeRobot datasets become one .rrd recording per episode, registered to a catalog that serves queries and the dataloader, and can be exported back to a LeRobot dataset

Concept mapping

Many LeRobot concepts have a counterpart in Rerun, for example:

LeRobotRerun
Dataset, for example on the Hugging Face HubDataset on Rerun DB Local or Rerun DB
EpisodeRecording, registered as a segment of a dataset
frame_index, timestampTimelines
Feature, such as observation.stateEntity with an archetype, such as Scalars or VideoStream
Task and subtask (language instructions)TextDocument at /task and /subtask
fpsNo equivalent: each stream keeps its own rate
Normalization statistics in meta/stats.jsonKept as a dataset asset with LeRobotReader.metadata(), or computed with a query

For exactly how each feature is converted, see the data model section of Working with LeRobot datasets.

Fixed-rate rows vs column chunks

A LeRobot dataset is shaped for training. All streams share a fixed sampling rate, the dataset's fps, so each row is one frame with a value for every feature. Data from a robot rarely arrives that way, so getting it into a LeRobot dataset means resampling every stream to one rate. That drops the original timestamps and, for faster sensors, the samples in between, and changing the rate later means exporting the dataset again.

Rerun stores recordings as chunks in the RRD format: Arrow tables with one column per component, covering one entity over a range of time. This combines the best of both:

  • The raw recording is kept: every stream at its own rate, with its original timestamps, and gaps where a sensor sent nothing.
  • Training reads it directly: the Rerun dataloader reads only the columns and time ranges a sample needs, aligns the streams for each sample at query time, and gathers action chunks and history with a window.
  • Queries see the original data: dataframe and SQL queries run on every sample at its own timestamp, across all recordings in a dataset. For example, find the episodes where a sensor dropped out, or compare commanded and measured joint positions at full rate.

There is no export step before training when using Rerun's dataloader. Changing the rate, the window, or the alignment is a change to how you describe a sample, and the same recordings can serve several policies. To share data on the Hugging Face Hub or to use LeRobot's own tooling, you can still export recordings to a LeRobot dataset.

Episodes and segments

In LeRobot v3.0, episodes are packed together into shared parquet and video files, and the dataset metadata records which part of each file belongs to which episode. In Rerun, each episode is stored once as its own recording, and registered as a segment of a dataset. Queries still run across the whole dataset, but you can also view, replace, or extend a single episode on its own. To add data to an episode later, such as annotations or model predictions, register it as an extra layer instead of rewriting the dataset.