fix(docker): use uv pip to install robocasa in benchmark image

The huggingface/lerobot-gpu base image uses `uv` with a venv at
/lerobot/.venv — `pip` is not on PATH, so `pip install` fails with
"pip: not found". Switch to `uv pip install` which installs into the
existing venv.

Also drop the @v1.0.0 tag pin from the robocasa git URL since the
upstream repo may not have that tag; use default branch instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pepijn
2026-04-14 14:42:33 +02:00
parent 69ed70edeb
commit 496f004139
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -21,9 +21,11 @@
FROM huggingface/lerobot-gpu:latest
# Install robocasa and its dependencies
RUN pip install --no-cache-dir \
"robocasa @ git+https://github.com/robocasa/robocasa.git@v1.0.0" \
# Install robocasa and its dependencies into the existing venv via uv pip.
# The base image uses uv with a venv at /lerobot/.venv (PATH already set),
# so `pip` is not available — use `uv pip install` instead.
RUN uv pip install --no-cache \
"robocasa @ git+https://github.com/robocasa/robocasa.git" \
"robosuite @ git+https://github.com/ARISE-Initiative/robosuite.git"
# Set up robocasa macros and download kitchen assets