Skip to content

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.

895 B
Raw Blame
# Optional overlay: hand the host's NVIDIA GPU to the task container.
#
#   c=$(python3 scripts/stamp_mtimes.py stage tasks/kinder/kinder-dynamo-i00-privileged "$(mktemp -d)")
#   harbor run -p "$c" ... --extra-docker-compose "$c/environment/gpu.docker-compose.yaml"
#
# Not named docker-compose.yaml on purpose: Harbor loads that name automatically, and a device reservation the host
# cannot meet stops the container from starting. Passing or failing never depends on it: physics is CPU; the GPU only
# speeds up images (s.images(), s.render_video()). `graphics` is the capability that mounts the EGL driver.
services:
  main:
    environment:
      NVIDIA_VISIBLE_DEVICES: all
      NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]