We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb13c6 commit 963b8edCopy full SHA for 963b8ed
docker/serve/Dockerfile
@@ -8,6 +8,10 @@ ARG MMSEG="0.28.0"
8
9
ENV PYTHONUNBUFFERED TRUE
10
11
+# NVIDIA APT KEYS
12
+RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
13
+RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
14
+
15
RUN apt-get update && \
16
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
17
ca-certificates \
@@ -21,7 +25,7 @@ ENV PATH="/opt/conda/bin:$PATH"
21
25
RUN export FORCE_CUDA=1
22
26
23
27
# TORCHSEVER
24
-RUN pip install torchserve torch-model-archiver
28
+RUN pip install torchserve torch-model-archiver nvgpu
29
30
# MMLAB
31
ARG PYTORCH
0 commit comments