Skip to content

Commit 1a460e1

Browse files
committed
google cloud spanner 1.19.0
1 parent 86b7834 commit 1a460e1

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
FROM lablup/common-base:py36-cuda11.1
2+
3+
RUN python3 -m pip install --no-cache-dir --upgrade \
4+
-q git+https://github.com/google-research/tensorflow_constrained_optimization
5+
6+
RUN python3 -m pip install --no-cache-dir \
7+
--use-feature=2020-resolver \
8+
requests_oauthlib==1.2.0 \
9+
neural-structured-learning==1.3.1 \
10+
pydot==1.4.0 \
11+
proto-plus==1.10.2
12+
RUN python3 -m pip install --no-cache-dir \
13+
--use-feature=2020-resolver \
14+
tensorflow-transform==0.25.0 \
15+
tensorflow_model_analysis \
16+
tensorflow-datasets \
17+
tensorflow_probability==0.11.1 \
18+
tensorflow-addons==0.11.2 \
19+
neural-structured-learning==1.3.1 \
20+
tensorflow-model-optimization==0.5.0 \
21+
tfx==0.25.0 \
22+
tfx-bsl==0.25.0 \
23+
tf-agents==0.6.0
24+
RUN python3 -m pip install --no-cache-dir \
25+
--use-feature=2020-resolver \
26+
tensorflow-cloud==0.1.10 \
27+
tensorflow-hub==0.9.0 \
28+
tensorflow_text==2.4.1 \
29+
tensorflow-graphics-gpu==1.0.0 \
30+
tensorflow-gan==2.0.0 \
31+
tensorflow-data-validation \
32+
tensorflow-plot==0.3.2 \
33+
tensorflow-lattice==2.0.7 \
34+
tensorflow_ranking==0.3.2 \
35+
tensorflow-compression==1.3 \
36+
mesh-tensorflow==0.1.13 \
37+
google_cloud_spanner==1.19.0 \
38+
pbr==5.5.1 \
39+
mock==1.3.0 \
40+
proto-plus==1.13.0 \
41+
oauth2client==4.1.3 \
42+
joblib==0.14.0 \
43+
libcst==0.3.14 \
44+
tensorflow-io==0.17.0
45+
46+
RUN python3 -m pip install --extra-index-url \
47+
https://developer.download.nvidia.com/compute/redist nvidia-dali-cuda100 \
48+
&& \
49+
python3 -m pip install --extra-index-url \
50+
https://developer.download.nvidia.com/compute/redist nvidia-dali-tf-plugin-cuda100
51+
52+
# Install Horovod, temporarily using CUDA stubs
53+
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
54+
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL HOROVOD_NCCL_LINK=SHARED \
55+
HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITHOUT_PYTORCH=1 HOROVOD_WITHOUT_MXNET=1\
56+
HOROVOD_GPU=CUDA \
57+
python3 -m pip install --no-cache-dir horovod==0.21.0 && \
58+
ldconfig
59+
60+
RUN python3 -m pip install --no-cache-dir \
61+
mpi4py==3.0.3 \
62+
nni==1.9 \
63+
mlflow==1.12.1 \
64+
scikit-nni==0.2.1
65+
66+
67+
# Install ipython kernelspec
68+
Run python3 -m ipykernel install --display-name "TensorFlow 2.4 on Python 3.6 & CUDA 11ᇂᇂᇂᇂ.1" && \
69+
cat /usr/local/share/jupyter/kernels/python3/kernel.json
70+
71+
# Backend.AI specifics
72+
LABEL ai.backend.kernelspec="1" \
73+
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
74+
ai.backend.features="batch query uid-match user-input" \
75+
ai.backend.base-distro="ubuntu16.04" \
76+
ai.backend.resource.min.cpu="1" \
77+
ai.backend.resource.min.mem="1g" \
78+
ai.backend.resource.min.cuda.device=0 \
79+
ai.backend.resource.min.cuda.shares=0 \
80+
ai.backend.runtime-type="python" \
81+
ai.backend.runtime-path="/usr/bin/python3" \
82+
ai.backend.service-ports="ipython:pty:3000,jupyter:http:8080,jupyterlab:http:8090,vscode:http:8180,tensorboard:http:6006"
83+
84+
WORKDIR /home/work
85+
# vim: ft=dockerfile

0 commit comments

Comments
 (0)