Skip to content
프로젝트

소개

Fast serving engine for System 1 + System 2 robot policies

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+6
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

DuoRT Logo

DuoRT

Fast serving engine for System 1 + System 2 robot policies

PyPI Hugging Face License

| Getting Started | Models | Architecture | Benchmarks | Examples |


DuoRT is a fast serving engine for dual-system robot policies—running today's mainstream System 1 + System 2 models (pi05, GR00T, LingBot-VLA2, SmolVLA) out of the box with drastically lower latency and higher concurrency, and built for any future architecture where System 1 and System 2 are neurally coupled through latent states or KV caches.

On LIBERO-Dynamic, serving OpenPI's off-the-shelf pi05_libero on 1x RTX 5090 with DuoRT outperforms VLASH, even though VLASH uses latency-aware fine-tuning:

System Retrained Success Rate Mean Latency
LeRobot PyTorch (Sync / Async) No 43.1% / 48.4% 147 ms
VLASH Yes 55.4% 104 ms
OpenPI JAX Async No 57.8% 60 ms
DuoRT No 60.9% 39 ms

On the SOTA pi05/mixed_ft3000 checkpoint, DuoRT matches native OpenPI JAX on 1 robot, while at 8 concurrent robots on the same GPU:

System Success Rate Mean Latency
OpenPI JAX Async 16.1% 280 ms
DuoRT 52.3% (3.25x) 27 ms

Below, 1x RTX 4090 serves 8 concurrent robots on moving-target tasks across the four LIBERO-Dynamic suites (1.0x real-time speed):

DuoRT vs. OpenPI JAX Async across 8 concurrent robots on LIBERO-Dynamic

DuoRT is fast with:

DuoRT is easy to use with:

  • Native Hugging Face and OpenPI JAX/Orbax checkpoint loading
  • Drop-in OpenPI-compatible WebSocket server (duort serve) and GPU benchmark CLI (duort bench)
  • Standard PyTorch nn.Module interfaces (SlowBackbone and FastHead) for custom policies
  • Colocated, disaggregated Slow/Fast, and pipeline-parallel multi-GPU and edge-cloud placement

For system design and architecture details, see docs/architecture.md.

Getting Started

Install on Linux (Python 3.10–3.12, NVIDIA SM80+):

# Prebuilt CUDA 12.8 wheel (PyTorch 2.11+cu128, zero compilation):
pip install "torch==2.11.*" --index-url https://download.pytorch.org/whl/cu128
pip install "duort[all]"

# Or install into any existing PyTorch >= 2.5 environment (compiles in ~10s via nvcc):
pip install "duort[all]" --no-binary duort --no-build-isolation

If you want to run a standalone OpenPI-compatible policy server (or benchmark GPU performance from the CLI):

duort serve --model lerobot/smolvla_base --embodiment-tag so100 --streams 8 --port 8000
duort bench --model lerobot/smolvla_base --streams 1,4,8

If you want to use DuoRT directly as a Python library inside your own control or evaluation script:

import time
import torch
from duort import Engine

engine = Engine("lerobot/smolvla_base")
engine.set_prompt("pick up the cup")

cams = torch.randint(0, 256, engine.slow_obs_shape, dtype=torch.uint8)  # simulated RGB cameras
engine.push_slow(cams)
engine.wait_ready()

for step in range(500):               # 1 s real-time loop at 500 Hz (2 ms/step)
    if step % 250 == 0:               # 2 Hz camera frame -> System 2 (Slow)
        engine.push_slow(cams)
    if step % 25 == 0:                # 20 Hz chunk refresh -> System 1 (Fast)
        engine.push_fast()
    actions, *_ = engine.sample_actions(cpu=True)
    time.sleep(0.002)
print(actions.shape)                  # torch.Size([1, 6])

Supported Models

DuoRT already supports pi05, GR00T, LingBot-VLA2, and SmolVLA out of the box, and makes it easy to integrate any custom System 1 + System 2 model.

Below are the latency and concurrency gains across supported models on 1x RTX 4090 (2 Hz Slow, 20 Hz Fast, 500 Hz polling vs. PyTorch SDPA):

Model (System 2 + System 1) 1-Robot Latency (P50) Max Robots (0 Underruns, P99) Peak VRAM
lerobot/pi05_base
PaliGemma-2B + Gemma Expert
22.5 ms vs. 147.0 ms (6.5x) 2 (44.3 ms vs. 181.6 ms) 5.55 GB
nvidia/GR00T-N1.7-3B
Qwen3-VL-2B + AlternateVL-DiT
12.8 ms vs. 31.6 ms (2.5x) 8 (33.9 ms vs. 75.8 ms) 4.84 GB
nvidia/GR00T-N1.5-3B
Eagle2-VLM + Cross-Attn DiT
8.8 ms vs. 24.8 ms (2.8x) 20 (31.5 ms vs. 100.9 ms) 3.89 GB
lerobot/smolvla_base
SmolVLM2 + SmolLM2 Expert
8.7 ms vs. 98.6 ms (11.3x) 12 (28.7 ms vs. 177.9 ms) 0.98 GB

DuoRT also serves 6B Sparse-MoE robbyant/lingbot-vla-v2-6b (Qwen3-VL-4B + 32-expert top-4 Action Expert) in ~10 GB FP8 VRAM on 1x RTX 4090. On LIBERO-Dynamic (Fisher-Wang/lingbot-vla-v2-6b-libero-full-step6000), DuoRT lifts success rate across 1 and 4 concurrent robots while cutting robot stall from 62–66% to <= 0.5% and boosting fleet goodput by 3.2–3.3x.

To integrate a custom System 1 + System 2 model, subclass SlowBackbone and FastHead (examples/custom_model.py), or compose custom multi-rate stages with @engine.stage (examples/quickstart.py).

Benchmarks

Beyond single-GPU serving, DuoRT disaggregates Slow and Fast stages (1S : 1F, 1S : 3F), pipelines large Slow models across GPUs, and supports edge-cloud split serving (examples/multi_gpu_serving.py)—cutting cluster VRAM by 45–59% with zero underruns:

Model Placement Robots Latency (P99)
pi05 (3.3B) 4x H100 SXM (Colocated) 4 26.8 ms vs. 2.94 s (109.7x)
GR00T-N1.5 (3B) 4x H100 SXM (1S : 3F) 48 13.3 ms vs. 447.9 ms (33.6x)
SmolVLA (450M) 2x RTX PRO 6000 (1S : 1F) 16 24.4 ms vs. 294.5 ms (12.1x)

Full benchmark tables and reproduction commands → benchmarks/README.md.

License

Apache-2.0 — see LICENSE.

Citation

If you use DuoRT in your research, please cite:

@software{duort2026,
  title  = {{DuoRT}: Fast Serving Engine for {System} 1 + {System} 2 Robot Policies},
  author = {{DuoRT Team}},
  url    = {https://github.com/duort-project/duort},
  year   = {2026}
}

관련 프로젝트 살펴보기

불러오는 중…