@@ -8,16 +8,19 @@ 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 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 \
13
13
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 \
15
18
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 \
19
23
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 \
21
24
jsonargparse \
22
25
torchmetrics \
23
26
pyDeprecate \
@@ -28,13 +31,6 @@ RUN python3 -m pip uninstall -y torch && \
28
31
keras4torch \
29
32
pytorch-lightning
30
33
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
-
38
34
RUN python3 -m pip install --extra-index-url \
39
35
https://developer.download.nvidia.com/compute/redist --upgrade nvidia-dali-cuda110
40
36
@@ -52,7 +48,9 @@ RUN python3 -m pip install --no-cache-dir \
52
48
tensorboard-plugin-wit \
53
49
scikit-nni==0.2.1
54
50
55
- RUN apt autoclean && \
51
+ RUN apt update && \
52
+ apt install ncurses-term && \
53
+ apt autoclean && \
56
54
sed -i 's/source \/ usr\/ local\/ nvm\/ nvm.sh//' /etc/bash.bashrc && \
57
55
ln -sf /usr/share/terminfo/x/xterm-color /usr/share/terminfo/x/xterm-256color && \
58
56
rm -rf /var/lib/apt/lists/* && \
0 commit comments