Skip to content

Commit 302ff4e

Browse files
committed
update packages
1 parent 8d6c928 commit 302ff4e

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

python-pytorch/Dockerfile.1.11-py38-cuda11.3

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@ 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 pip==21.1.2 setuptools==57.0.0 && \
12-
python3 -m pip install --no-cache-dir \
11+
python3 -m pip install -U pip setuptools
12+
RUN python3 -m pip install --no-cache-dir \
1313
http://download.pytorch.org/whl/cu113/torch-1.11.0%2Bcu113-cp38-cp38-linux_x86_64.whl \
14-
http://download.pytorch.org/whl/cu102/torchvision-0.12.0%2Bcu102-cp38-cp38-linux_x86_64.whl \
14+
keras4torch==1.2.4 \
15+
pytorch-lightning==1.3.4 \
16+
torch-model-archiver==0.3.0 \
17+
torch-tb-profiler==0.4.0 \
1518
http://download.pytorch.org/whl/cu113/torchaudio-0.11.0%2Bcu113-cp38-cp38-linux_x86_64.whl \
16-
http://download.pytorch.org/whl/torchserve-0.3.0-py2.py3-none-any.whl \
17-
http://download.pytorch.org/whl/torchtext-0.12.0-cp38-cp38-linux_x86_64.whl \
18-
http://download.pytorch.org/whl/cu101/torchcsprng-0.2.1%2Bcu101-cp38-cp38-linux_x86_64.whl \
19+
torchmetrics==0.7.2 \
20+
torchserve==0.5.3 \
21+
torchtext==0.12.0 \
22+
http://download.pytorch.org/whl/cu102/torchvision-0.12.0%2Bcu102-cp38-cp38-linux_x86_64.whl \
1923
http://download.pytorch.org/whl/torch_model_archiver-0.3.0-py2.py3-none-any.whl \
20-
http://download.pytorch.org/whl/torch_tb_profiler-0.1.0-py3-none-any.whl \
2124
jsonargparse \
2225
torchmetrics \
2326
pyDeprecate \
@@ -28,13 +31,6 @@ RUN python3 -m pip uninstall -y torch && \
2831
keras4torch \
2932
pytorch-lightning
3033

31-
# torch2trt PyTorch to TensorRT converter which utilizes the TensorRT Python API
32-
WORKDIR /tmp
33-
RUN git clone --branch=v0.3.0 https://github.com/NVIDIA-AI-IOT/torch2trt /tmp/torch2trt && \
34-
cd /tmp/torch2trt && \
35-
python3 setup.py install --plugins && \
36-
rm -fr /tmp/torch2trt
37-
3834
RUN python3 -m pip install --extra-index-url \
3935
https://developer.download.nvidia.com/compute/redist --upgrade nvidia-dali-cuda110
4036

@@ -52,7 +48,9 @@ RUN python3 -m pip install --no-cache-dir \
5248
tensorboard-plugin-wit \
5349
scikit-nni==0.2.1
5450

55-
RUN apt autoclean && \
51+
RUN apt update && \
52+
apt install ncurses-term && \
53+
apt autoclean && \
5654
sed -i 's/source \/usr\/local\/nvm\/nvm.sh//' /etc/bash.bashrc && \
5755
ln -sf /usr/share/terminfo/x/xterm-color /usr/share/terminfo/x/xterm-256color && \
5856
rm -rf /var/lib/apt/lists/* && \

0 commit comments

Comments
 (0)