Skip to content

Commit 718cdd1

Browse files
committed
update pip
1 parent e63e91e commit 718cdd1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ ENV TORCHTEXT_VERSION=0.10.0
88
ENV TENSORBOARDX_VERSION=2.1
99

1010
RUN python3 -m pip uninstall -y torch && \
11+
python3 -m pip install -U setuptools pip && \
1112
python3 -m pip install --no-cache-dir \
1213
https://download.pytorch.org/whl/cu111/torch-${PYTORCH_VERSION}%2Bcu111-cp38-cp38-linux_x86_64.whl \
1314
https://download.pytorch.org/whl/cu111/torchvision-${TORCHVISION_VERSION}%2Bcu111-cp38-cp38-linux_x86_64.whl \
1415
https://download.pytorch.org/whl/torchaudio-${TORCHAUDIO_VERSION}-cp38-cp38-linux_x86_64.whl \
1516
https://download.pytorch.org/whl/cu111/torchcsprng-0.2.1%2Bcu111-cp38-cp38-linux_x86_64.whl \
16-
https://download.pytorch.org/whl/torchserve-0.4.0-py2.py3-none-any.whl \
17+
https://download.pytorch.org/whl/torchserve-0.3.0-py2.py3-none-any.whl \
1718
https://download.pytorch.org/whl/torchtext-${TORCHTEXT_VERSION}-cp38-cp38-linux_x86_64.whl \
1819
jsonargparse \
1920
torchmetrics \
@@ -22,6 +23,7 @@ RUN python3 -m pip uninstall -y torch && \
2223
PyYAML>=5.1 \
2324
pretrainedmodels \
2425
cnn-finetune \
26+
keras4torch \
2527
pytorch-lightning && \
2628
python3 -m pip install --no-cache-dir tensorboardX==${TENSORBOARDX_VERSION}
2729

0 commit comments

Comments
 (0)