2
2
FROM lablup/common-base:20.03-py36-cuda10.1
3
3
4
4
# Install TensorFlow, Keras, PyTorch and MXNet
5
- ENV TENSORFLOW_VERSION=2.1.0
6
- # ARG CUDA=10.1
7
- # ARG LIBNVINFER=6.0.1-1
8
- # ARG LIBNVINFER_MAJOR_VERSION=6
9
- # ENV CUDNN_VERSION=7.6.4.38-1+cuda10.1
10
- # ENV NCCL_VERSION=2.4.8-1+cuda10.1
11
- ENV DEBIAN_FRONTEND=noninteractive
12
- ENV mecab_dicdir /usr/local/lib/mecab/dic/mecab-ko-dic
5
+ ENV TENSORFLOW_VERSION=2.1.1
13
6
14
7
ENV PYTHONUNBUFFERED=1 \
15
8
LD_LIBRARY_PATH="/usr/local/cuda/extras/CUPTI/lib64:/usr/local/cuda/lib64:/usr/local/nvidia/lib64:/usr/include/x86_64-linux-gnu" \
@@ -77,20 +70,6 @@ RUN python3 -m pip install --no-cache-dir \
77
70
Run python3 -m ipykernel install --display-name "TensorFlow 2.1 on Python 3.6 (CUDA 10.1)" && \
78
71
cat /usr/local/share/jupyter/kernels/python3/kernel.json
79
72
80
- # Jupyter notebook extension
81
- RUN mkdir -p /home/work/.jupyter/nbextension
82
- WORKDIR /home/work/.jupyter/nbextension
83
-
84
- RUN jupyter nbextensions_configurator enable && \
85
- jupyter contrib nbextension install && \
86
- jupyter nbextension enable --py --sys-prefix widgetsnbextension && \
87
- jupyter contrib nbextension install && \
88
- jupyter serverextension enable --py jupyterlab --sys-prefix && \
89
- jupyter labextension install @jupyter-widgets/jupyterlab-manager && \
90
- # jupyter labextension install jupyterlab-nvdashboard && \
91
- git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding && \
92
- jupyter nbextension enable /home/work/.jupyter/nbextension/vim_binding/vim_binding
93
-
94
73
# Backend.AI specifics
95
74
LABEL ai.backend.kernelspec="1" \
96
75
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
@@ -102,7 +81,7 @@ LABEL ai.backend.kernelspec="1" \
102
81
ai.backend.resource.min.cuda.shares=0 \
103
82
ai.backend.runtime-type="python" \
104
83
ai.backend.runtime-path="/usr/bin/python3" \
105
- ai.backend.service-ports="ipython:pty:3000,tensorboard :http:6006,jupyter:http:8080,jupyterlab :http:8090 "
84
+ ai.backend.service-ports="jupyter:http:8080,jupyterlab :http:8090,ipython:pty:3000,tensorboard :http:6006 "
106
85
107
86
WORKDIR /home/work
108
87
# vim: ft=dockerfile
0 commit comments