mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-15 16:49:55 +00:00
fix(docker): pin numpy==2.2.5 in separate RUN for robocasa
robocasa/__init__.py hard-asserts numpy==2.2.5. When bundled with other packages in one uv install command, uv silently skips the numpy pin (same "already resolved" bug hit with libero_plus). Moving the pin to a dedicated final RUN step guarantees it is applied last. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -30,7 +30,11 @@ RUN git clone --depth 1 https://github.com/robocasa/robocasa.git /tmp/robocasa \
|
||||
"h5py" \
|
||||
"lxml" \
|
||||
"tianshou==0.4.10" \
|
||||
"easydict>=1.9" \
|
||||
"easydict>=1.9"
|
||||
|
||||
# robocasa/__init__.py asserts numpy.__version__ in ["2.2.5"] — pin it last
|
||||
# so no subsequent package can bump it away.
|
||||
RUN uv pip install --no-cache "numpy==2.2.5" \
|
||||
&& python -c "import robocasa"
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
|
||||
Reference in New Issue
Block a user