GET STARTED

下载、安装与运行

先恢复执行环境,跑通一个短探针,再接入自己的策略。下面的命令按已验证的 Windows、WSL2 和 Docker 布局编写,下载需要 GitHub 与 Hugging Face 的相应访问权限。

开始之前

完整包包括 246 条参考记录、247 个公开配置和 29 个有录像的任务族。网页可以直接观看视频;本地运行需要恢复代码、资产、环境快照和容器镜像。F3 目前作为任务设计保留,尚无完整参考录像。 准备 Windows x86_64 主机、NVIDIA GPU 及匹配驱动、WSL2、使用 Linux 引擎的 Docker Desktop,以及用于下载和恢复的 Python 3.12、Git 和 GitHub CLI。下面的步骤针对这套已验证组合;其他操作系统及 ARM 平台需另行适配。 先确认账号能够访问两个下载源,再按 RELEASE.json 为下载、解压和新运行日志预留空间。视频包约 13.73 GB,运行环境和资产另计。

1. 下载完整执行包

以下命令在 PowerShell 中执行。先取得安装工具:C:\robo-si-guide 下应直接包含 scripts、examples 和 catalog.csv。安装工具来自这个文档目录,实际 benchmark 源码由 HF 包按固定版本恢复。

powershell
gh repo clone wuxiyang1996/robo-si C:\robo-si-github -- --filter=blob:none --sparse
git -C C:\robo-si-github sparse-checkout set doc/hf-246
Copy-Item -LiteralPath C:\robo-si-github\doc\hf-246 -Destination C:\robo-si-guide -Recurse
powershell
python -m pip install -U huggingface_hub
hf auth login
$verification = "releases/benchmark-videos-staged-sandboxes-20261108-checkpoint-v1"
$runtime = "releases/benchmark-246-runtime-and-evidence-20261109-v1"
$download = "C:\robo-si-download"

hf download IntelligenceLab/robo-si --repo-type dataset --revision de48c0394a22e969429caced0e94e49431685bc0 --include "$verification/videos.zip" "$verification/validation-20261109-fixed-scope-final/*" --local-dir $download
hf download IntelligenceLab/robo-si --repo-type dataset --revision 9dbaa30876fe4b2140af61dcb836d4d9ad32d646 --include "$runtime/*" --local-dir $download

$release = "$download\$runtime"
python C:\robo-si-guide\scripts\verify_downloads.py "$release\RELEASE.json" --download-root $download
内容用途
repository / repository-patch完整任务代码、模型、配置及必要修补
runtime / runtime-patch仓库外的资产、registry 和运行输入
evidence完整正例的原始测量与恢复映射
environmentWindows 主环境、F2 与 F4 专用环境、恢复工具
docker普通 agent 镜像与所需基础镜像
closure / user-guide覆盖清单、SHA、任务索引和示例

2. 恢复代码与资产

当前入口以 D:\rsi_vla 为工作区,一些资产还绑定了清单中的其他原路径。先预览目标路径,再写入。恢复器校验归档和文件 SHA;遇到内容不同的现有文件时会停止,请先解决路径冲突,再重新恢复。 下面的命令先预览仓库,再按顺序应用全部分卷,包括两个 patch 目录。runtime 和 evidence 的 aliases 恢复去重文件对应的其他原路径。环境使用下一节的专用恢复工具。

powershell
$restore = "C:\robo-si-guide\scripts\restore_payload.py"
python $restore "$release\repository\manifest.json"

python $restore "$release\repository\manifest.json" --apply
python $restore "$release\repository-patch\manifest.json" --apply
python $restore "$release\runtime\manifest.json" --aliases "$release\runtime\aliases.json" --apply
python $restore "$release\runtime-patch\manifest.json" --apply
python $restore "$release\evidence\manifest.json" --aliases "$release\evidence\aliases.json" --apply

3. 安装并检查环境

先检查 GPU、WSL2 和 Docker,再恢复完整环境快照。保留快照内的 Python、动态库和依赖版本,Docker 引擎类型应显示 linux。

环境对应配置
主可信环境Python 3.12.7 · Genesis 1.4.3 · Torch 2.11.0+cu128 · MuJoCo 3.14.0
F2专用 MuJoCo 3.3.7;冻结 model.mjb 和初态
F4WSL Ubuntu-24.04 · Python 3.12.3 · Torch 2.9.1+cu128 · Genesis 1.4.3 与 IPC 原生库
普通 agentLinux Docker 容器;SDK 与依赖由任务族决定
powershell
nvidia-smi
wsl --list --verbose
docker version
docker info --format "{{.OSType}}"
docker load --input "$release\docker\ordinary-agent-images.tar.gz"

Expand-Archive -LiteralPath "$release\environment\support\environment-support-001.zip" -DestinationPath C:\robo-si-env-tools
python C:\robo-si-env-tools\restore_environment.py --manifest C:\robo-si-env-tools\environment-manifest.json --archives-root "$release\environment" --target C:\robo-si-runtime
python C:\robo-si-env-tools\restore_environment.py --manifest C:\robo-si-env-tools\environment-manifest.json --archives-root "$release\environment" --target C:\robo-si-runtime --apply

& C:\robo-si-guide\scripts\install_runtime_aliases.ps1 -RuntimeRoot C:\robo-si-runtime -Manifest C:\robo-si-env-tools\environment-manifest.json
& C:\robo-si-guide\scripts\install_runtime_aliases.ps1 -RuntimeRoot C:\robo-si-runtime -Manifest C:\robo-si-env-tools\environment-manifest.json -Apply

& C:\robo-si-runtime\run_windows.ps1 --version
& C:\robo-si-runtime\run_windows.ps1 C:\robo-si-runtime\validate_snapshot.py --out C:\robo-si-runtime\check-windows.json
& C:\robo-si-runtime\run_windows.ps1 C:\robo-si-runtime\validate_snapshot.py --f2 --out C:\robo-si-runtime\check-f2.json

F4:检查 WSL 与原生 IPC

F4 使用包内的原生 IPC 扩展、动态库和覆盖文件,运行前请完成下面的检查。WSL 发行版名称使用 Ubuntu-24.04;先查看桥接脚本列出的目标路径,确认后加 --apply。

powershell
wsl -d Ubuntu-24.04 --exec sh /mnt/c/robo-si-runtime/run_linux.sh /mnt/c/robo-si-runtime/prepare_layout.py
wsl -d Ubuntu-24.04 --exec sh /mnt/c/robo-si-runtime/run_linux.sh /mnt/c/robo-si-runtime/validate_snapshot.py --f4 --out /mnt/c/robo-si-runtime/check-f4.json
wsl -d Ubuntu-24.04 --exec sh /mnt/c/robo-si-runtime/install_f4_bridge.sh
wsl -d Ubuntu-24.04 --exec sh /mnt/c/robo-si-runtime/install_f4_bridge.sh --apply

4. 跑通第一个短探针

F1 示例读取 RGB 和关节状态,再执行一个有界物理步,用来检查安装、传感器、动作和独立评分。先查看任务 ID 与契约,做一次 dry-run,再启动物理执行。每次运行使用新的 --name。

powershell
Set-Location D:\rsi_vla\robo-si
$py = "C:\robo-si-runtime\run_windows.ps1"
$policy = "C:\robo-si-guide\examples\f1_probe"

& $py -m infra.sandbox.live_suite refresh
& $py -m infra.sandbox.live_suite list
& $py -m infra.sandbox.live_suite show F1-01-L1-rigid

& $py -m infra.sandbox.live_suite.staged_evaluate F1-01-L1-rigid --agent-dir $policy --name first-f1-check --dry-run --no-video -- python agent.py
& $py -m infra.sandbox.live_suite.staged_evaluate F1-01-L1-rigid --agent-dir $policy --name first-f1-run-001 --no-video -- python agent.py
python
# examples/f1_probe/agent.py
import numpy as np
from examples.live_client import LiveRobotClient

with LiveRobotClient() as client:
    info = client.info()
    obs = client.observe(["proprio", "rgb"])
    p = obs["proprio"]
    target = np.asarray(
        p["target"] if "target" in p else p["q"], dtype=float
    ).copy()
    lower = np.asarray(info["lower"], dtype=float)
    upper = np.asarray(info["upper"], dtype=float)
    movable = np.flatnonzero(upper - lower > 0.04)
    if len(movable):
        j = int(movable[0])
        target[j] = np.clip(target[j] + 0.01, lower[j], upper[j])
    client.command({"target": target.tolist()}, steps=1)
    client.observe(["proprio"])
    client.finish()

5. 接入自己的 agent

把策略和所需文件放在独立目录。启动器会将它们复制到容器的 /workspace,冻结提交,并注入连接地址和临时令牌。程序先通过 info 读取身体、关节顺序、动作限制、传感器和预算,再用任务提供的 observe / command 接口闭环行动,最后调用 finish 结束回合。结果从运行结束后的评分文件读取。 当前评测执行容器内的策略,容器关闭外网,依赖需预先准备。使用云端模型或在线修改代码时,另行声明实验协议和预算。

任务接口适配要点
H1 / H2g1sandbox.RobotClient;按契约使用 mode/q/dq/kp/kd/tau
装配及部分扩展任务examples.live_client.LiveRobotClient;使用 target 或嵌套 robot 动作字典
Rigid / DF / DR / Hanoidrclient.RobotClient;动作字段以 info 为准
M2-2 / M2-4一个策略控制 G1 与 Stretch,分别遵守电机与轮速契约
SK同一程序在两个隔离容器中运行,各自控制 robot_id,使用受限消息通道
powershell
& $py -m infra.sandbox.live_suite.staged_evaluate <CASE_ID> --agent-dir D:\my-policy --name my-policy-run-001 --episodes 1 --no-video -- python agent.py

6. 读取结果

默认结果在 D:\rsi_vla\benchmark-sandboxes-20261108\staged-runs\运行名。打开顶层 evaluation.json,查看运行是否有效、阶段分和最终成功状态。退出码 0 表示运行有效且已完成评分,任务是否成功由结果字段给出。

powershell
python C:\robo-si-guide\scripts\check_evaluation.py D:\rsi_vla\benchmark-sandboxes-20261108\staged-runs\first-f1-run-001\evaluation.json
字段如何判断
finished协调器是否完成
runtime_verified / stage_scoring_verified可信执行检查与独立阶段评分是否完成
new_physics_performed是否实际执行了新的物理步
void运行无效,需要修复基础设施或完整性问题
agent_completed策略是否正常结束;策略崩溃但评分正常时可记有效 0 分
score0–1 的阶段进度分
success / native_success最终目标是否通过,两者与阶段分分别检查

排查问题与时间预算

按“文件校验 → 环境与路径 → dry-run → 传感器和动作短测 → 反例检查 → 完整策略”的顺序排查。在新机器上,重点检查相机图像、实际导入路径,以及 F2、F4 的专用后端。 以 show 返回的任务契约为准读取时间预算,分别记录墙钟、仿真、评分和渲染耗时。例如,当前 staged 入口的两项 H6 长程任务使用 240 分钟墙钟上限和 1800/1900 秒仿真预算。其他任务使用各自的契约;研究中的长程求解实验也需单独设置预算。

现象先检查
HF 404 / 无权限登录账户、dataset 授权、固定提交与目录路径
缺模块或 registry完整 repository 与 runtime 是否恢复,不能只装共享沙盒子目录
来源 SHA 不匹配发布物与目标路径是否对应,保留冲突文件,不绕过校验
Docker 不可用Docker Desktop 是否启动、是否使用 Linux engine、WSL2 是否正常
能 import 但场景失败模型、网格、权重、CUDA/渲染,以及 F2 模型和 F4 IPC
Unknown accepted case使用 list / show 的精确 ID,网页标题不是 CLI ID
Existing evaluation is immutable使用新的 --name
0 分且非 VOID查看是否只是短探针,或完整策略未完成目标
score=1 但 success=false检查原生终态条件,阶段满分不能替代最终成功