Skip to content

Commit 6e75d06

Browse files
committed
fixed bug
1 parent d19c716 commit 6e75d06

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ 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 && \
11+
python3 -m pip install -U pip==21.1.2 setuptools==57.0.0 && \
1212
python3 -m pip install --no-cache-dir \
13-
https://download.pytorch.org/whl/cu111/torch-${PYTORCH_VERSION}%2Bcu111-cp38-cp38-linux_x86_64.whl \
14-
https://download.pytorch.org/whl/cu111/torchvision-${TORCHVISION_VERSION}%2Bcu111-cp38-cp38-linux_x86_64.whl \
15-
https://download.pytorch.org/whl/torchaudio-${TORCHAUDIO_VERSION}-cp38-cp38-linux_x86_64.whl \
16-
https://download.pytorch.org/whl/cu111/torchcsprng-0.2.1%2Bcu111-cp38-cp38-linux_x86_64.whl \
17-
https://download.pytorch.org/whl/torchserve-0.3.0-py2.py3-none-any.whl \
18-
https://download.pytorch.org/whl/torchtext-${TORCHTEXT_VERSION}-cp38-cp38-linux_x86_64.whl \
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} \
16+
torchserve \
17+
torchtext==${TORCHTEXT_VERSION} \
18+
# torchcsprng \
1919
jsonargparse \
2020
torchmetrics \
2121
pyDeprecate \
@@ -24,8 +24,8 @@ RUN python3 -m pip uninstall -y torch && \
2424
pretrainedmodels \
2525
cnn-finetune \
2626
keras4torch \
27-
pytorch-lightning && \
28-
python3 -m pip install --no-cache-dir tensorboardX==${TENSORBOARDX_VERSION}
27+
pytorch-lightning
28+
# python3 -m pip install --no-cache-dir tensorboardX==${TENSORBOARDX_VERSION}
2929

3030
# torch2trt PyTorch to TensorRT converter which utilizes the TensorRT Python API
3131
WORKDIR /tmp

0 commit comments

Comments
 (0)