Skip to content

Commit a408ade

Browse files
committed
Lablup FF 21.03
1 parent 8d6283e commit a408ade

File tree

1 file changed

+77
-8
lines changed

1 file changed

+77
-8
lines changed

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

Lines changed: 77 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,74 @@ FROM lablup/common-base:py38-cuda11.1
33
RUN python3 -m pip install --no-cache-dir --upgrade \
44
-q git+https://github.com/google-research/tensorflow_constrained_optimization
55

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+
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+
RUN python3 -m pip uninstall --no-cache-dir -y \
66+
tensorflow==2.3.0 \
67+
tensorflow-gpu==2.4.1 \
68+
tensorboard==2.3.0 \
69+
tensorboard-plugin-wit==1.7.0 && \
70+
python3 -m pip install --no-cache-dir \
71+
tensorflow-gpu==2.4.1 \
72+
tensorboard-plugin-wit==1.8.0 \
73+
tensorboard==2.4.0
674

775
RUN python3 -m pip install --extra-index-url \
876
https://developer.download.nvidia.com/compute/redist nvidia-dali-cuda100 \
@@ -11,12 +79,12 @@ RUN python3 -m pip install --extra-index-url \
1179
https://developer.download.nvidia.com/compute/redist nvidia-dali-tf-plugin-cuda100
1280

1381
# Install PyTorch and MXNet
14-
ENV PYTORCH_VERSION=1.7.1
15-
ENV TORCHVISION_VERSION=0.8.2
16-
ENV TORCHAUDIO_VERSION=0.7.2
17-
ENV TORCHTEXT_VERSION=0.8.1
82+
ENV PYTORCH_VERSION=1.8.1
83+
ENV TORCHVISION_VERSION=0.9.1
84+
ENV TORCHAUDIO_VERSION=0.8.1
85+
ENV TORCHTEXT_VERSION=0.9.1
1886
ENV TENSORBOARDX_VERSION=2.1
19-
ENV MXNET_VERSION=1.6.0
87+
ENV MXNET_VERSION=1.7.0
2088

2189
RUN python3 -m pip uninstall -y torch && \
2290
python3 -m pip install --no-cache-dir \
@@ -32,13 +100,13 @@ RUN python3 -m pip install --no-cache-dir mxnet mkl
32100
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
33101
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL \
34102
HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 HOROVOD_WITHOUT_MXNET=1 \
35-
pip install --no-cache-dir horovod==0.21.1 && \
103+
pip install --no-cache-dir horovod==0.21.3 && \
36104
ldconfig
37105

38106
RUN python3 -m pip install --no-cache-dir \
39107
mpi4py==3.0.3 \
40-
mlflow==1.12.1 \
41-
nni==1.9 \
108+
mlflow==1.15.0 \
109+
nni==2.1 \
42110
scikit-nni==0.2.1
43111

44112
# install kaldi
@@ -75,6 +143,7 @@ RUN apt autoclean && \
75143
rm -rf /tmp/*
76144

77145
COPY ./service-defs /etc/backend.ai/service-defs
146+
COPY runner-scripts/bootstrap.sh runner-scripts/setup_multinode.py /opt/container/
78147

79148
# Install ipython kernelspec
80149
Run python3 -m ipykernel install --display-name "Lablup FF 21.03 on Python 3.8 (CUDA 11.1)" && \

0 commit comments

Comments
 (0)