Skip to content

Commit aae51ce

Browse files
committed
change base kernel 20.06 cuda10.1
1 parent 4a0f147 commit aae51ce

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

python-mxnet/Dockerfile.1.6-py36-cuda10.1

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM lablup/common-base:20.03-py36-cuda10
1+
FROM lablup/common-base:20.06-py36-cuda10.1
22

33
# Install TensorFlow
44
ENV MXNET_VERSION=1.6.0
55

6-
RUN python3 -m pip install --no-cache-dir mxnet-cu100mkl==${MXNET_VERSION}
6+
RUN python3 -m pip install --no-cache-dir mxnet-cu101mkl==${MXNET_VERSION}
77
RUN python3 -m pip install --no-cache-dir --extra-index-url \
88
https://developer.download.nvidia.com/compute/redist/cuda/10.0 \
99
nvidia-dali
@@ -12,27 +12,18 @@ RUN python3 -m pip install --no-cache-dir --extra-index-url \
1212
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
1313
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL \
1414
HOROVOD_WITHOUT_TENSORFLOW=1 HOROVOD_WITHOUT_PYTORCH=1 HOROVOD_WITH_MXNET=1 \
15-
pip install --no-cache-dir horovod==0.19.0 && \
15+
pip install --no-cache-dir horovod==0.19.4 && \
1616
ldconfig
1717

1818
RUN python3 -m pip install --no-cache-dir \
1919
mpi4py==3.0.3 \
20-
nni
21-
20+
nni==1.6 \
21+
scikit-nni==0.2.1
22+
2223
# Install ipython kernelspec
23-
RUN python3 -m ipykernel install --display-name "MXNet 1.6.0 on Python 3.6 (CUDA 10.0)" && \
24+
RUN python3 -m ipykernel install --display-name "MXNet 1.6.0 on Python 3.6 (CUDA 10.1 & MKL)" && \
2425
cat /usr/local/share/jupyter/kernels/python3/kernel.json
2526

26-
# Install Horovod, temporarily using CUDA stubs
27-
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
28-
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL \
29-
HOROVOD_WITHOUT_TENSORFLOW=1 HOROVOD_WITHOUT_PYTORCH=1 HOROVOD_WITH_MXNET=1 \
30-
pip install --no-cache-dir horovod==0.19.0 && \
31-
ldconfig
32-
33-
RUN python3 -m pip install --no-cache-dir \
34-
mpi4py==3.0.3 \
35-
nni
3627

3728
# Backend.AI specifics
3829
LABEL ai.backend.kernelspec="1" \
@@ -45,7 +36,7 @@ LABEL ai.backend.kernelspec="1" \
4536
ai.backend.resource.min.cuda.shares=0 \
4637
ai.backend.runtime-type="python" \
4738
ai.backend.runtime-path="/usr/bin/python3" \
48-
ai.backend.service-ports="jupyter:http:8080,jupyterlab:http:8090,ipython:pty:3000,tensorboard:http:6006"
39+
ai.backend.service-ports="jupyter:http:8080,jupyterlab:http:8090,ipython:pty:3000"
4940

5041
WORKDIR /home/work
5142
# vim: ft=dockerfile

0 commit comments

Comments
 (0)