Skip to content

Commit 1fccf2a

Browse files
committed
TF kernel update to support CUDA10.0 for TF 1.15 & 1.14
1 parent aabc804 commit 1fccf2a

File tree

1 file changed

+56
-2
lines changed

1 file changed

+56
-2
lines changed

python-tensorflow/Dockerfile.1.15-py36-cuda10

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
FROM lablup/common-base:19.12-py36-cuda10
2+
FROM lablup/common-base:20.03-py36-cuda10.0
33

44
# Install TensorFlow, Keras, PyTorch and MXNet
55
ENV TENSORFLOW_VERSION=1.15.2
6-
#ARG CUDA=10.1
6+
#ARG CUDA=10.0
77
#ARG LIBNVINFER=6.0.1-1
88
#ARG LIBNVINFER_MAJOR_VERSION=6
99
#ENV CUDNN_VERSION=7.6.4.38-1+cuda10.1
@@ -20,6 +20,60 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2
2020
Run python3 -m ipykernel install --display-name "TensorFlow 1.15 on Python 3.6 (CUDA 10.0)" && \
2121
cat /usr/local/share/jupyter/kernels/python3/kernel.json
2222

23+
RUN python3 -m pip install pip --no-cache-dir \
24+
pandas==1.0.1 \
25+
tensorflow-gpu==${TENSORFLOW_VERSION} \
26+
tensorboard==1.15 \
27+
tensorflow-transform==0.21.2 \
28+
tensorflow_model_analysis==0.21.6 \
29+
tensorflow-metadata==0.21.2 \
30+
ngraph-tensorflow-bridge \
31+
adanet==0.8.0
32+
33+
RUN python3 -m pip install pip --no-cache-dir \
34+
tensorflow-datasets==2.1.0 \
35+
tensorflow_probability==0.9.0 \
36+
tensorflow-addons==0.8.3 \
37+
neural-structured-learning \
38+
tensorflow-model-optimization==0.2.1 \
39+
tensorflow-hub==0.7.0 \
40+
tensorflow_text==2.1.1 \
41+
tensorflow-graphics-gpu==1.0.0 \
42+
tensorflow-gan==2.0.0 \
43+
tensorflow_text==2.1.1 \
44+
tensorflow-data-validation==0.21.5 \
45+
fairness-indicators==0.1.2 \
46+
tensorboard-plugin-fairness-indicators==0.0.3 \
47+
fairness==0.1.8 \
48+
tfx==0.21.2 \
49+
tfx-bsl==0.21.4 \
50+
tf-agents==0.3.0 \
51+
tensorflow-lattice-gpu==0.9.8 \
52+
tensorflow-lattice==2.0.3 \
53+
tensorflow_ranking==0.2.3 \
54+
tensorflow-compression==1.3 \
55+
tensor2tensor==1.15.4 \
56+
mesh-tensorflow \
57+
tensorflow-io==0.12.0 \
58+
jupyter-tensorboard==0.2.0 \
59+
tensorwatch==0.8.10 \
60+
jupyterlab-nvdashboard==0.2.0
61+
62+
RUN python3 -m pip install --no-cache-dir \
63+
tensorwatch==0.8.10 \
64+
jupyterlab-nvdashboard==0.2.0
65+
66+
# Install Horovod, temporarily using CUDA stubs
67+
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
68+
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL \
69+
HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITHOUT_PYTORCH=1 HOROVOD_WITHOUT_MXNET=1 \
70+
pip install --no-cache-dir horovod==0.19.0 && \
71+
ldconfig
72+
73+
RUN python3 -m pip install --no-cache-dir \
74+
mpi4py==3.0.3 \
75+
nni
76+
2377
# Backend.AI specifics
2478
LABEL ai.backend.kernelspec="1" \
2579
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \

0 commit comments

Comments
 (0)