File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ ENV TORCHTEXT_VERSION=0.10.0
8
8
ENV TENSORBOARDX_VERSION=2.1
9
9
10
10
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 && \
12
12
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 \
19
19
jsonargparse \
20
20
torchmetrics \
21
21
pyDeprecate \
@@ -24,8 +24,8 @@ RUN python3 -m pip uninstall -y torch && \
24
24
pretrainedmodels \
25
25
cnn-finetune \
26
26
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}
29
29
30
30
# torch2trt PyTorch to TensorRT converter which utilizes the TensorRT Python API
31
31
WORKDIR /tmp
You can’t perform that action at this time.
0 commit comments