Skip to content

Commit 09d4958

Browse files
committed
change base kernel 20.05
1 parent 31dc3c9 commit 09d4958

File tree

1 file changed

+6
-22
lines changed

1 file changed

+6
-22
lines changed

python-pytorch/Dockerfile.1.5-py36-cuda10.1

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lablup/common-base:20.03-py36-cuda10.1
1+
FROM lablup/common-base:20.05-py36-cuda10.1
22

33
# Install TensorFlow, Keras, PyTorch and MXNet
44
ENV PYTORCH_VERSION=1.5.0
@@ -29,15 +29,13 @@ RUN python3 -m pip install pip --no-cache-dir -Iv \
2929
pystan==2.19.1.1 \
3030
notebook==6.0.3
3131

32-
RUN python3 -m pip install --no-cache-dir \
32+
RUN python3 -m pip install pip --no-cache-dir \
33+
pandas==1.0.1 \
3334
https://download.pytorch.org/whl/cu101/torch-${PYTORCH_VERSION}%2Bcu101-cp36-cp36m-linux_x86_64.whl \
3435
https://download.pytorch.org/whl/cu101/torchvision-${TORCHVISION_VERSION}%2Bcu101-cp36-cp36m-linux_x86_64.whl \
3536
https://download.pytorch.org/whl/torchaudio-${TORCHAUDIO_VERSION}-cp36-cp36m-linux_x86_64.whl \
3637
torchtext==${TORCHTEXT_VERSION} && \
37-
python3 -m pip install --no-cache-dir tensorboardX==${TENSORBOARDX_VERSION}
38-
RUN python3 -m pip install --no-cache-dir --extra-index-url \
39-
https://developer.download.nvidia.com/compute/redist/cuda/10.0 \
40-
nvidia-dali
38+
python3 -m pip install --no-cache-dir tensorboardX==${TENSORBOARDX_VERSION}
4139

4240
RUN python3 -m pip install pip --no-cache-dir \
4341
jupyter-tensorboard==0.2.0 \
@@ -48,8 +46,8 @@ RUN python3 -m pip install pip --no-cache-dir \
4846
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
4947
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL \
5048
HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 HOROVOD_WITHOUT_MXNET=1 \
51-
pip install --no-cache-dir git+https://github.com/horovod/horovod && \
52-
# horovod==0.19.0 && \
49+
pip install --no-cache-dir horovod==0.19.2 && \
50+
# pip install --no-cache-dir git+https://github.com/horovod/horovod && \
5351
ldconfig
5452

5553
RUN python3 -m pip install --no-cache-dir \
@@ -60,20 +58,6 @@ RUN python3 -m pip install --no-cache-dir \
6058
Run python3 -m ipykernel install --display-name "PyTorch 1.5 on Python 3.6 (CUDA 10.1)" && \
6159
cat /usr/local/share/jupyter/kernels/python3/kernel.json
6260

63-
# Jupyter notebook extension
64-
RUN mkdir -p /home/work/.jupyter/nbextension
65-
WORKDIR /home/work/.jupyter/nbextension
66-
67-
RUN jupyter nbextensions_configurator enable && \
68-
jupyter contrib nbextension install && \
69-
jupyter nbextension enable --py --sys-prefix widgetsnbextension && \
70-
jupyter contrib nbextension install && \
71-
jupyter serverextension enable --py jupyterlab --sys-prefix && \
72-
jupyter labextension install @jupyter-widgets/jupyterlab-manager && \
73-
# jupyter labextension install jupyterlab-nvdashboard && \
74-
git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding && \
75-
jupyter nbextension enable /home/work/.jupyter/nbextension/vim_binding/vim_binding
76-
7761
# Backend.AI specifics
7862
LABEL ai.backend.kernelspec="1" \
7963
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \

0 commit comments

Comments
 (0)