Skip to content

Commit f30abfa

Browse files
committed
add service-defs
1 parent f3d740a commit f30abfa

File tree

1 file changed

+57
-16
lines changed

1 file changed

+57
-16
lines changed

python-ff/Dockerfile.21.01-py38-cuda11.1

Lines changed: 57 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM lablup/common-base:py38-cuda11.1
22

33
RUN python3 -m pip install --no-cache-dir --upgrade \
4-
-q git+https://github.com/google-research/tensorflow_constrained_optimization
5-
4+
-q git+https://github.com/google-research/tensorflow_constrained_optimization
5+
66
RUN python3 -m pip install --no-cache-dir \
77
--use-feature=2020-resolver \
88
requests_oauthlib==1.2.0 \
@@ -11,22 +11,63 @@ RUN python3 -m pip install --no-cache-dir \
1111
proto-plus==1.10.2
1212
RUN python3 -m pip install --no-cache-dir \
1313
--use-feature=2020-resolver \
14-
tensorflow-transform==0.24.1 \
14+
tensorflow-transform==0.25.0 \
1515
tensorflow_model_analysis \
1616
tensorflow-datasets \
1717
tensorflow_probability==0.11.1 \
1818
tensorflow-addons==0.11.2 \
1919
neural-structured-learning==1.3.1 \
2020
tensorflow-model-optimization==0.5.0 \
21-
tfx==0.24.1 \
22-
tfx-bsl==0.24.1 \
21+
tfx==0.25.0 \
22+
tfx-bsl==0.25.0 \
2323
tf-agents==0.6.0
2424

25-
RUN python3 -m pip install --no-cache-dir --extra-index-url \
26-
https://developer.download.nvidia.com/compute/redist \
27-
nvidia-dali-cuda100 && \
28-
python3 -m pip install --no-cache-dir --extra-index-url \
29-
https://developer.download.nvidia.com/compute/redist nvidia-dali-tf-plugin-cuda100
25+
RUN python3 -m pip install --no-cache-dir \
26+
--use-feature=2020-resolver \
27+
fastavro==1.2.0 \
28+
pymongo==3.11.2 \
29+
docker==4.4.1 \
30+
pbr==5.5.1 \
31+
mock==1.3.0 \
32+
proto-plus==1.13.0 \
33+
oauth2client==4.1.3 \
34+
future==0.18.1 \
35+
gin_config==0.4.0 \
36+
joblib==0.14.0 \
37+
libcst==0.3.14
38+
39+
RUN python3 -m pip install --no-cache-dir \
40+
--use-feature=2020-resolver \
41+
google_cloud_spanner==1.19.0 \
42+
googleapis-common-protos==1.51.0 \
43+
google_cloud_videointelligence==1.15.0 \
44+
google_cloud_vision==0.42.0 \
45+
google_cloud_pubsub==1.6.0 \
46+
google_cloud_dlp==0.15.0 \
47+
google_cloud_datastore==1.15.2 \
48+
google_cloud_bigtable==1.6.0 \
49+
google_api_core==1.24.0
50+
51+
RUN python3 -m pip install --no-cache-dir \
52+
mesh-tensorflow==0.1.18 \
53+
tensorflow-cloud==0.1.10 \
54+
tensorflow-hub==0.9.0
55+
56+
RUN python3 -m pip install --no-cache-dir \
57+
-i https://pypi-nightly.tensorflow.org/simple tensorflow-data-validation
58+
RUN python3 -m pip install --no-cache-dir \
59+
tensorflow-graphics-gpu==1.0.0 \
60+
tensorflow-io==0.17.0 \
61+
tensorflow_ranking==0.3.2 \
62+
tensorflow-plot==0.3.2 \
63+
tensorflow_text==2.4.1 \
64+
tensorflow-gan==2.0.0
65+
66+
RUN python3 -m pip install --extra-index-url \
67+
https://developer.download.nvidia.com/compute/redist nvidia-dali-cuda100 \
68+
&& \
69+
python3 -m pip install --extra-index-url \
70+
https://developer.download.nvidia.com/compute/redist nvidia-dali-tf-plugin-cuda100
3071

3172
# Install PyTorch and MXNet
3273
ENV PYTORCH_VERSION=1.7.1
@@ -46,10 +87,10 @@ RUN python3 -m pip uninstall -y torch && \
4687

4788
RUN python3 -m pip install --no-cache-dir mxnet mkl
4889

49-
RUN python3 -m pip uninstall -y tensorflow && \
50-
python3 -m pip install --no-cache-dir \
51-
tensorflow-gpu==2.4.0 \
52-
tensorboard==2.4.0
90+
#RUN python3 -m pip uninstall -y tensorflow && \
91+
# python3 -m pip install --no-cache-dir \
92+
# tensorflow-gpu==2.4.0 \
93+
# tensorboard==2.4.0
5394

5495
# Install Horovod, temporarily using CUDA stubs
5596
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
@@ -115,12 +156,12 @@ RUN mkdir -p /workspace && \
115156
chmod -R 777 /workspace
116157

117158
RUN apt autoclean && \
118-
sed -i 's/source \/usr\/local\/nvm\/nvm.sh//' /etc/bash.bashrc && \
119-
python3 -m pip uninstall -y tensorboard-plugin-wit && \
120159
rm -rf /var/lib/apt/lists/* && \
121160
rm -rf /root/.cache && \
122161
rm -rf /tmp/*
123162

163+
COPY ./service-defs /etc/backend.ai/service-defs
164+
124165
# Install ipython kernelspec
125166
Run python3 -m ipykernel install --display-name "Lablup FF 21.01 on Python 3.8 (CUDA 11.1)" && \
126167
cat /usr/local/share/jupyter/kernels/python3/kernel.json

0 commit comments

Comments
 (0)