1
1
FROM lablup/common-base:py38-cuda11.1
2
2
3
3
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
+
6
6
RUN python3 -m pip install --no-cache-dir \
7
7
--use-feature=2020-resolver \
8
8
requests_oauthlib==1.2.0 \
@@ -11,22 +11,63 @@ RUN python3 -m pip install --no-cache-dir \
11
11
proto-plus==1.10.2
12
12
RUN python3 -m pip install --no-cache-dir \
13
13
--use-feature=2020-resolver \
14
- tensorflow-transform==0.24.1 \
14
+ tensorflow-transform==0.25.0 \
15
15
tensorflow_model_analysis \
16
16
tensorflow-datasets \
17
17
tensorflow_probability==0.11.1 \
18
18
tensorflow-addons==0.11.2 \
19
19
neural-structured-learning==1.3.1 \
20
20
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 \
23
23
tf-agents==0.6.0
24
24
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
30
71
31
72
# Install PyTorch and MXNet
32
73
ENV PYTORCH_VERSION=1.7.1
@@ -46,10 +87,10 @@ RUN python3 -m pip uninstall -y torch && \
46
87
47
88
RUN python3 -m pip install --no-cache-dir mxnet mkl
48
89
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
53
94
54
95
# Install Horovod, temporarily using CUDA stubs
55
96
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
@@ -115,12 +156,12 @@ RUN mkdir -p /workspace && \
115
156
chmod -R 777 /workspace
116
157
117
158
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 && \
120
159
rm -rf /var/lib/apt/lists/* && \
121
160
rm -rf /root/.cache && \
122
161
rm -rf /tmp/*
123
162
163
+ COPY ./service-defs /etc/backend.ai/service-defs
164
+
124
165
# Install ipython kernelspec
125
166
Run python3 -m ipykernel install --display-name "Lablup FF 21.01 on Python 3.8 (CUDA 11.1)" && \
126
167
cat /usr/local/share/jupyter/kernels/python3/kernel.json
0 commit comments