@@ -36,6 +36,8 @@ WORKDIR /tmp
36
36
RUN apt-get update -y && \
37
37
apt-get install -y --no-install-recommends software-properties-common wget curl && \
38
38
curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
39
+ curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null && \
40
+ echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list && \
39
41
add-apt-repository -y "deb http://security.ubuntu.com/ubuntu xenial-security main" && \
40
42
add-apt-repository -y ppa:deadsnakes/ppa && \
41
43
add-apt-repository -y ppa:bashtop-monitor/bashtop && \
@@ -199,7 +201,7 @@ RUN apt-get update -y && \
199
201
/opt/conda/bin/conda config --add channels intel && \
200
202
/opt/conda/bin/conda config --add envs_dirs /home/work/.conda && \
201
203
/opt/conda/bin/conda update --prefix /opt/conda conda && \
202
- /opt/conda/bin/conda install -c intel intelpython3_core blas=*=*mkl
204
+ /opt/conda/bin/conda install -c intel intelpython3_core blas=*=*mkl
203
205
204
206
# OFED
205
207
WORKDIR /tmp
@@ -349,14 +351,6 @@ RUN ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h && \
349
351
make -j$(nproc) && \
350
352
make install
351
353
352
- RUN python3 -m pip install --extra-index-url \
353
- https://developer.download.nvidia.com/compute/redist \
354
- --upgrade nvidia-dali-cuda110 \
355
- && \
356
- python3 -m pip install --extra-index-url \
357
- https://developer.download.nvidia.com/compute/redist \
358
- --upgrade nvidia-dali-tf-plugin-cuda110
359
-
360
354
# Install Open MPI
361
355
RUN mkdir /tmp/openmpi && \
362
356
cd /tmp/openmpi && \
@@ -390,6 +384,14 @@ COPY ./requirements.22.06.txt /tmp/requirements.txt
390
384
RUN python3 -m pip install --no-cache-dir -r requirements.txt && \
391
385
rm -f /tmp/*.whl /tmp/requirements.txt
392
386
387
+ RUN python3 -m pip install --extra-index-url \
388
+ https://developer.download.nvidia.com/compute/redist \
389
+ --upgrade nvidia-dali-cuda110 \
390
+ && \
391
+ python3 -m pip install --extra-index-url \
392
+ https://developer.download.nvidia.com/compute/redist \
393
+ --upgrade nvidia-dali-tf-plugin-cuda110
394
+
393
395
RUN CUDA_ROOT=/usr/local/cuda python3 -m pip install mpi4jax scikit-nni==0.2.1 mlflow==1.12.1 nni==1.9
394
396
395
397
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
0 commit comments