From 05a34306c88cac74d3faa26da9d22afbe73a6afa Mon Sep 17 00:00:00 2001 From: Pepijn Date: Wed, 15 Jul 2026 20:13:19 +0200 Subject: [PATCH] docs(robomme): document mounted checkpoint permissions --- docs/source/robomme.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/source/robomme.mdx b/docs/source/robomme.mdx index fd9951cb7..cb9e6bc16 100644 --- a/docs/source/robomme.mdx +++ b/docs/source/robomme.mdx @@ -44,6 +44,18 @@ docker build -f docker/Dockerfile.benchmark.robomme -t lerobot-robomme . The `docker/Dockerfile.benchmark.robomme` image overrides `gymnasium==0.29.1` and `numpy==1.26.4` after lerobot's install. Both versions are runtime-safe for lerobot's actual API usage. +When evaluating a checkpoint saved on the host, run the container with the host UID. Checkpoint weights are intentionally private by default (`0600`), so the image's built-in user cannot otherwise read a bind-mounted `model.safetensors` file. Mount the Hugging Face cache at an accessible path as well: + +```bash +docker run --gpus all --rm --ipc=host \ + --user "$(id -u):$(id -g)" \ + -e HF_HOME=/tmp/hf-cache \ + -v "$HOME/.cache/huggingface:/tmp/hf-cache:ro" \ + -v "$PWD/outputs:/results" \ + lerobot-robomme \ + lerobot-eval --policy.path=/results//pretrained_model # ... +``` + ## Running Evaluation ### Default (single task, single episode)