Skip to content

Commit 654ca39

Browse files
committed
update sub-librarys
1 parent 384ebc7 commit 654ca39

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

python-pytorch/Dockerfile.1.10-py38-cuda11.1

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
FROM lablup/common-base:py38-cuda11.1
22

33
# Install PyTorch
4-
ENV PYTORCH_VERSION=1.10.0
5-
ENV TORCHVISION_VERSION=0.10.0
6-
ENV TORCHAUDIO_VERSION=0.10.0
7-
ENV TORCHTEXT_VERSION=0.10.0
4+
ENV PYTORCH_VERSION=1.10.1
5+
ENV TORCHVISION_VERSION=0.11.1
6+
ENV TORCHAUDIO_VERSION=0.10.1
7+
ENV TORCHTEXT_VERSION=0.11.0
88
ENV TENSORBOARDX_VERSION=2.4.1
99

10-
RUN python3 -m pip uninstall -y torch && \
10+
RUN python3 -m pip uninstall -y torch tensorboardx && \
1111
python3 -m pip install -U pip==22.0.3 setuptools==60.9.3 && \
12+
python3 -m pip install --no-cache-dir tensorboardX==${TENSORBOARDX_VERSION} && \
1213
python3 -m pip install --no-cache-dir \
13-
http://download.pytorch.org/whl/cu111/torch-${PYTORCH_VERSION}%2Bcu111-cp38-cp38-linux_x86_64.whl \
14-
http://download.pytorch.org/whl/cu111/torchvision-${TORCHVISION_VERSION}%2Bcu111-cp38-cp38-linux_x86_64.whl \
15-
torchaudio==${TORCHAUDIO_VERSION} \
14+
http://download.pytorch.org/whl/cu111/torch-${PYTORCH_VERSION}%2Bcu111-cp38-cp38-linux_x86_64.whl && \
15+
# http://download.pytorch.org/whl/cu111/torchvision-${TORCHVISION_VERSION}%2Bcu111-cp38-cp38-linux_x86_64.whl \
16+
python3 -m pip install --no-cache-dir \
17+
torchvision \
18+
torchaudio \
19+
# http://download.pytorch.org/whl/cu111/torchaudio-${TORCHAUDIO_VERSION}%2Bcu111-cp38-cp38-linux_x86_64.whl \
20+
torchtext \
1621
torchserve \
17-
torchtext==${TORCHTEXT_VERSION} \
18-
# torchcsprng \
22+
torchcsprng \
1923
jsonargparse \
2024
torchmetrics \
2125
pyDeprecate \
@@ -25,7 +29,6 @@ RUN python3 -m pip uninstall -y torch && \
2529
cnn-finetune \
2630
keras4torch \
2731
pytorch-lightning
28-
# python3 -m pip install --no-cache-dir tensorboardX==${TENSORBOARDX_VERSION}
2932

3033
# torch2trt PyTorch to TensorRT converter which utilizes the TensorRT Python API
3134
WORKDIR /tmp
@@ -41,7 +44,7 @@ RUN python3 -m pip install --extra-index-url \
4144
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
4245
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL \
4346
HOROVOD_WITHOUT_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 HOROVOD_WITHOUT_MXNET=1 \
44-
pip install --no-cache-dir horovod==0.22.1 && \
47+
pip install --no-cache-dir horovod==0.23.0 && \
4548
ldconfig
4649

4750
RUN python3 -m pip install --no-cache-dir \

0 commit comments

Comments
 (0)