mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-16 00:59:46 +00:00
4403675b31
Standard robosuite 1.4.x from PyPI doesn't include PandaOmron and other robocasa-specific robots. robocasa requires the fork at ARISE-Initiative/robosuite@robocasa_v1.4.1. Install both from source with --no-deps; shared deps (easydict, scikit-image, scipy) installed explicitly first. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
1.4 KiB
Docker
34 lines
1.4 KiB
Docker
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
FROM lerobot-eval-base:latest
|
|
|
|
# Install robocasa non-robosuite runtime deps
|
|
RUN uv pip install --no-cache \
|
|
"easydict>=1.9" \
|
|
"scikit-image>=0.20.0" \
|
|
"scipy>=1.14.0,<2.0.0"
|
|
|
|
# robocasa requires its own robosuite fork that adds PandaOmron and other robots.
|
|
# The standard PyPI robosuite 1.4.x does not include these.
|
|
RUN git clone --depth 1 -b robocasa_v1.4.1 https://github.com/ARISE-Initiative/robosuite.git /tmp/robosuite \
|
|
&& uv pip install --no-cache --no-deps /tmp/robosuite
|
|
|
|
# Clone robocasa and install with --no-deps (runtime deps declared above + robosuite fork).
|
|
RUN git clone --depth 1 https://github.com/robocasa/robocasa.git /tmp/robocasa \
|
|
&& uv pip install --no-cache --no-deps /tmp/robocasa \
|
|
&& python -c "import robocasa"
|
|
|
|
CMD ["/bin/bash"]
|