Skip to content

Commit 1006a4f

Browse files
committed
upgrade tensorflow 2.1.1
1 parent f475eb9 commit 1006a4f

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

python-tensorflow/Dockerfile.2.1-py36-cuda10.1

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
FROM lablup/common-base:20.03-py36-cuda10.1
33

44
# 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
136

147
ENV PYTHONUNBUFFERED=1 \
158
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 \
7770
Run python3 -m ipykernel install --display-name "TensorFlow 2.1 on Python 3.6 (CUDA 10.1)" && \
7871
cat /usr/local/share/jupyter/kernels/python3/kernel.json
7972

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-
9473
# Backend.AI specifics
9574
LABEL ai.backend.kernelspec="1" \
9675
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
@@ -102,7 +81,7 @@ LABEL ai.backend.kernelspec="1" \
10281
ai.backend.resource.min.cuda.shares=0 \
10382
ai.backend.runtime-type="python" \
10483
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"
10685

10786
WORKDIR /home/work
10887
# vim: ft=dockerfile

0 commit comments

Comments
 (0)