How we made our LeRobot video reader up to 15× faster
Summary
The post details how a native LeRobot reader was optimized to decode video frames in batches by shard, dramatically reducing I/O and seek costs. It presents a batch UDF approach, grouping by shard, clustering by time, and a single seek per cluster, achieving significant speedups across multiple datasets and practical end-to-end improvements.