Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 11 min read Deep dive hardMaster

Asynchronous Robot Inference: Decoupling Action Prediction and Execution

Robot policies that emit action chunks leave the robot idle during inference when run sequentially, causing lag and open-loop behaviour. LeRobot's async inference splits the system into an on-board RobotClient that keeps executing a local action queue and a PolicyServer on accelerated hardware. The two communicate over gRPC streams, and the client sends a fresh observation whenever its queue drops below a threshold g. Overlapping chunks are merged with a pluggable aggregate function, and the server skips near-duplicate observations unless they are flagged must_go. With SmolVLA this gives roughly 2x faster task completion at comparable success rates, and g≈0.5–0.7 is recommended as the compute/responsiveness tradeoff.

Assumes: robot control loopsaction-chunking policiesgRPC basics

Related posts

  • LeRobot v0.6.0: Imagine, Evaluate, Improve

    Hugging Face hardMaster

    LeRobot v0.6.0 targets the full robot learning loop. It adds world-model policies (VLA-JEPA, LingBot-VA, FastWAM) that use future prediction during training while keeping inference cheap, new VLAs (GR00T N1.7, MolmoAct2, EO-1, EVO1, Multitask DiT), and a unified reward models API with Robometer and zero-shot TOPReward. It also ships six new simulation benchmarks under `lerobot-eval`, a `lerobot-rollout` deployment CLI with DAgger-style human corrections, FSDP and HF Jobs cloud training, depth recording, VLM-based language annotation, and configurable video codecs. Data loading is up to ~2x faster, and the base install has about 40% fewer dependencies.

  • SmolVLA: Efficient Vision-Language-Action Model trained on Lerobot Community Data

    Hugging Face hardMaster

    SmolVLA is a 450M-parameter open-source vision-language-action model for robotics, pretrained on about 10M frames from 487 curated LeRobot community datasets and able to run on consumer hardware. It pairs a SmolVLM2 backbone with a ~100M flow-matching action expert. Efficiency comes from limiting each frame to 64 visual tokens via PixelShuffle, using features from only the first half of the VLM's layers, and interleaving cross- and self-attention in the action expert. An asynchronous inference stack overlaps action execution with remote chunk prediction, giving about 30% faster response and 2× task throughput, and the model outperforms larger VLAs and ACT on LIBERO, Meta-World and real SO100/SO101 tasks.

  • LeRobot v0.4.0: Supercharging OSS Robot Learning

    Hugging Face mediumAdept

    LeRobot 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.

  • LeRobot v0.5.0: Scaling Every Dimension

    Hugging Face mediumAdept

    LeRobot v0.5.0 adds full Unitree G1 humanoid support with locomotion, manipulation, teleoperation and whole-body control. It also adds OpenArm, Earth Rover, OMX and CAN-bus motor controllers (RobStride, Damiao). New policies include the autoregressive Pi0-FAST VLA with FAST action tokenization, Real-Time Chunking for more responsive flow-matching inference, Wall-X (Qwen2.5-VL), X-VLA (Florence-2), SARM stage-aware reward modeling, and LoRA/PEFT fine-tuning. Dataset work brings streaming video encoding with no wait between episodes, roughly 10x faster image training and 3x faster encoding. The release also adds EnvHub for loading Gymnasium environments from the Hub and an NVIDIA IsaacLab-Arena integration, and moves to Python 3.12+, Transformers v5 and pip-installable policy plugins.

  • Keep the Tokens Flowing: Lessons from 16 Open-Source RL Libraries

    Hugging Face hardMaster

    Async RL post-training libraries have converged on one architecture: disaggregate inference and training onto separate GPU pools, connect them with a rollout buffer, and push weights asynchronously so generation never stops and training never waits. A survey of 16 open-source libraries (verl, AReaL, SLIME, PRIME-RL, NeMo-RL and others) compares them on seven axes: orchestration, buffer design, weight sync, staleness management, partial rollouts, LoRA support and training parallelism. Ray dominates orchestration, NCCL broadcast is the default weight-transfer method, staleness handling ranges from dropping samples to importance-sampling correction, LoRA support is sparse, and distributed MoE support is emerging as the differentiator. Throughput math shows why this matters, with 32K-token rollouts on a 32B model taking hours per step on one H100. The findings shape TRL's new async trainer, which uses a bounded queue with per-token model versions, packed NCCL weight sync and partial rollout support.

The quest for software engineering knowledge.

Look:
Layout: