The first exam for code agents in the physical world: frozen robot tasks from many benchmark suites, each answered with a program and verified in a separate sandbox. Runs on Harbor.
Python ai-agentsbenchmarkcoding-agentsembodied-aievaluationharborllm-agentsrobot-learningroboticssimulation
# Isaac Sim needs an RTX-class NVIDIA GPU even headless (PhysX itself runs on the CPU here). Harbor's local docker sandbox
# rejects [environment].gpus, but merging this onto the main service passes one GPU through (`count: 1`). The licensed
# BEHAVIOR-1K 3.7.2 data root is mounted read-only from the host: $RCB_MANIGUARD_DATA (behavior-1k-assets/ 3.7.2rc1,
# omnigibson-robot-assets/ with ManiGuard's long-finger Franka, omnigibson.key; images/maniguard/prep_data.py) is a
# precondition of every ManiGuard run (tasks/maniguard/README.md). Isaac's shader/extension cache gets a volume of this
# trial only: no fixed name, so compose names it after the trial's project and Harbor's teardown deletes it.
services:
main:
pids_limit: 8192 # rcb-monitor
x-gpu-memory-gb: 18 # GiB # rcb-monitor
# maniguard-base (the first stage of the Dockerfile) is built from public sources; with read access to the prebuilt
# image its layers are pulled instead (cache_from)
build:
cache_from: ["ghcr.io/mll-lab-nu/efe-private:maniguard-0.2.1"]
environment:
OMP_NUM_THREADS: "8" # thread pools capped (PyTorch sizes its pool to the host; uncapped it spins on large hosts)
MKL_NUM_THREADS: "8"
shm_size: "8gb"
volumes:
- rcb_limits:/run/rcb-limits:ro # rcb-monitor
- ${RCB_MANIGUARD_DATA:?set RCB_MANIGUARD_DATA to the host directory prepared by images/maniguard/prep_data.py (tasks/maniguard/README.md)}:/data:ro
- rcb_maniguard_cache:/cache
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
# >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)
rcb_monitor:
image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a
pid: host
cgroup: host
network_mode: none
cap_add: [SYS_PTRACE]
cpus: 0.5
mem_limit: 256m
pids_limit: 64
restart: on-failure
working_dir: /var/rcb-monitor
volumes:
- ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
- rcb_limits:/run/rcb-limits
environment:
RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}
RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}
command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
# <<< rcb_monitor
volumes:
rcb_limits: # rcb-monitor
rcb_maniguard_cache: