1
- FROM lablup/common-base:20.03 -py36-cuda10.1
1
+ FROM lablup/common-base:20.05 -py36-cuda10.1
2
2
3
3
# Install TensorFlow, Keras, PyTorch and MXNet
4
4
ENV PYTORCH_VERSION=1.5.0
@@ -29,15 +29,13 @@ RUN python3 -m pip install pip --no-cache-dir -Iv \
29
29
pystan==2.19.1.1 \
30
30
notebook==6.0.3
31
31
32
- RUN python3 -m pip install --no-cache-dir \
32
+ RUN python3 -m pip install pip --no-cache-dir \
33
+ pandas==1.0.1 \
33
34
https://download.pytorch.org/whl/cu101/torch-${PYTORCH_VERSION}%2Bcu101-cp36-cp36m-linux_x86_64.whl \
34
35
https://download.pytorch.org/whl/cu101/torchvision-${TORCHVISION_VERSION}%2Bcu101-cp36-cp36m-linux_x86_64.whl \
35
36
https://download.pytorch.org/whl/torchaudio-${TORCHAUDIO_VERSION}-cp36-cp36m-linux_x86_64.whl \
36
37
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}
41
39
42
40
RUN python3 -m pip install pip --no-cache-dir \
43
41
jupyter-tensorboard==0.2.0 \
@@ -48,8 +46,8 @@ RUN python3 -m pip install pip --no-cache-dir \
48
46
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
49
47
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL \
50
48
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 && \
53
51
ldconfig
54
52
55
53
RUN python3 -m pip install --no-cache-dir \
@@ -60,20 +58,6 @@ RUN python3 -m pip install --no-cache-dir \
60
58
Run python3 -m ipykernel install --display-name "PyTorch 1.5 on Python 3.6 (CUDA 10.1)" && \
61
59
cat /usr/local/share/jupyter/kernels/python3/kernel.json
62
60
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
-
77
61
# Backend.AI specifics
78
62
LABEL ai.backend.kernelspec="1" \
79
63
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
0 commit comments