mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-26 19:26:16 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user