File tree 3 files changed +27
-4
lines changed
3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,9 @@ RUN pip3 install trimesh \
128
128
rosdep \
129
129
empy
130
130
131
+ # Add cache date to avoid using cached layers older than this
132
+ ARG CACHE_DATE=2023-12-15
133
+
131
134
# warp from https://github.com/NVIDIA/warp needs to be compiled locally and then
132
135
# placed in curobo/docker/pkgs.
133
136
# Run the following from your terminal:
@@ -149,10 +152,12 @@ ENV TORCH_CUDA_ARCH_LIST "7.0+PTX"
149
152
150
153
RUN cd /pkgs/curobo && pip3 install . --no-build-isolation
151
154
155
+ WORKDIR /pkgs/curobo
156
+
152
157
# Optionally install nvblox:
153
158
154
159
RUN apt-get update && \
155
- apt-get install -y libgoogle-glog-dev libgtest-dev curl libsqlite3-dev && \
160
+ apt-get install -y libgoogle-glog-dev libgtest-dev curl libsqlite3-dev libbenchmark-dev && \
156
161
cd /usr/src/googletest && cmake . && cmake --build . --target install && \
157
162
rm -rf /var/lib/apt/lists/*
158
163
@@ -164,5 +169,9 @@ RUN cd /pkgs && git clone https://github.com/valtsblukis/nvblox.git && \
164
169
165
170
RUN cd /pkgs && git clone https://github.com/nvlabs/nvblox_torch.git && \
166
171
cd nvblox_torch && \
167
- sh install.sh
172
+ sh install.sh $(python -c 'import torch.utils; print(torch.utils.cmake_prefix_path)' )
173
+
174
+ RUN python -m pip install "robometrics[evaluator] @ git+https://github.com/fishbotics/robometrics.git"
168
175
176
+ # upgrade typing extensions:
177
+ RUN python3 -m pip install typing-extensions --upgrade
Original file line number Diff line number Diff line change @@ -159,6 +159,10 @@ ENV omni_python='/isaac-sim/python.sh'
159
159
160
160
RUN echo "alias omni_python='/isaac-sim/python.sh'" >> /.bashrc
161
161
162
+
163
+ # Add cache date to avoid using cached layers older than this
164
+ ARG CACHE_DATE=2023-12-15
165
+
162
166
RUN $omni_python -m pip install "robometrics[evaluator] @ git+https://github.com/fishbotics/robometrics.git"
163
167
164
168
# if you want to use a different version of curobo, create folder as docker/pkgs and put your
@@ -174,6 +178,8 @@ RUN $omni_python -m pip install ninja wheel tomli
174
178
175
179
RUN cd /pkgs/curobo && $omni_python -m pip install .[dev] --no-build-isolation
176
180
181
+ WORKDIR /pkgs/curobo
182
+
177
183
# Optionally install nvblox:
178
184
179
185
RUN apt-get update && \
@@ -246,4 +252,5 @@ RUN cd /pkgs && git clone https://github.com/nvlabs/nvblox_torch.git && \
246
252
# install realsense for nvblox demos:
247
253
RUN $omni_python -m pip install pyrealsense2 opencv-python transforms3d
248
254
255
+ RUN $omni_python -m pip install "robometrics[evaluator] @ git+https://github.com/fishbotics/robometrics.git"
249
256
Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/hpcx/ompi/lib"
77
77
ENV TORCH_CUDA_ARCH_LIST "7.0+PTX"
78
78
ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}"
79
79
80
+ # Add cache date to avoid using cached layers older than this
81
+ ARG CACHE_DATE=2023-12-15
82
+
80
83
81
84
RUN pip install "robometrics[evaluator] @ git+https://github.com/fishbotics/robometrics.git"
82
85
@@ -103,7 +106,7 @@ ENV PYOPENGL_PLATFORM=egl
103
106
RUN echo '{"file_format_version": "1.0.0", "ICD": {"library_path": "libEGL_nvidia.so.0"}}' >> /usr/share/glvnd/egl_vendor.d/10_nvidia.json
104
107
105
108
RUN apt-get update && \
106
- apt-get install -y libgoogle-glog-dev libgtest-dev curl libsqlite3-dev && \
109
+ apt-get install -y libgoogle-glog-dev libgtest-dev curl libsqlite3-dev libbenchmark-dev && \
107
110
cd /usr/src/googletest && cmake . && cmake --build . --target install && \
108
111
rm -rf /var/lib/apt/lists/*
109
112
@@ -115,6 +118,10 @@ RUN cd /pkgs && git clone https://github.com/valtsblukis/nvblox.git && \
115
118
116
119
RUN cd /pkgs && git clone https://github.com/nvlabs/nvblox_torch.git && \
117
120
cd nvblox_torch && \
118
- sh install.sh
121
+ sh install.sh $(python -c 'import torch.utils; print(torch.utils.cmake_prefix_path)' ) && \
122
+ python3 -m pip install -e .
119
123
120
124
RUN python -m pip install pyrealsense2 opencv-python transforms3d
125
+
126
+ # install benchmarks:
127
+ RUN python -m pip install "robometrics[evaluator] @ git+https://github.com/fishbotics/robometrics.git"
You can’t perform that action at this time.
0 commit comments