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.

2.0 KB
Raw Blame
ispatialgym is private (ghcr.io/mll-lab-nu/efe-private:ispatialgym-<VERSION>): it is the behavior image (the official
stanfordvl/behavior:3.9.2 by digest + ffmpeg: NVIDIA Isaac Sim 5.1.0 and Omniverse Kit, whose licences forbid a public
copy) with iSpatialGym's BEHAVIOR-1K fork and iSpatialGym on top. It is pushed to the organization's private package only,
with BuildKit's inline cache: it is the build cache of the tasks.

Nobody has to pull it. Every iSpatialGym task Dockerfile that runs the simulator holds this recipe verbatim (it starts
with images/behavior/Dockerfile, verbatim), and its compose service names the private image as `build.cache_from`: a
runner that can pull it reuses its layers, any other runner builds the same layers from public sources (Docker Hub,
snapshot.ubuntu.com, github.com: kmy17518/BEHAVIOR-1K and kmy17518/iSpatialGym by commit, pypi.org). The build fails unless
the apt state is images/behavior/dpkg.lock's and the pip state the tested image's (both compared by sha256). The recipe
needs no build context. To build the image by hand:
  docker build --build-arg BUILDKIT_INLINE_CACHE=1 -t ghcr.io/mll-lab-nu/efe-private:ispatialgym-$(cat images/ispatialgym/VERSION) \
    - < images/ispatialgym/Dockerfile

Licences the builder accepts: the NVIDIA Isaac Sim / Omniverse terms of the official image. BEHAVIOR-1K's code and
iSpatialGym's are MIT.

Data, needed to run (never in the image): the licensed BEHAVIOR Data Bundle, mounted read-only at run time from
$RCB_BEHAVIOR_DATA: omnigibson-robot-assets/ (3.8.2), behavior-1k-assets/ (3.9.0) and omnigibson.key, the same directory
BEHAVIOR-1K's tasks mount (tasks/ispatialgym/README.md, "Before you run"). The image itself holds iSpatialGym's small
`ispatialgym-assets` dataset at /data. The tasks' frozen instances are in the task directories (from iSpatialGym's eval
data, Hugging Face kmy17518/ispatialgym-eval-data v1.0); nothing is downloaded at run time.

GPU: an RTX-class NVIDIA GPU (Isaac Sim needs one even headless) and the NVIDIA container toolkit.