Skip to content

Commit 85701da

Browse files
committed
2 parents 5180c03 + ad8c839 commit 85701da

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

vendor/ngc-triton/Dockerfile.20.12-py3

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@ FROM nvcr.io/nvidia/tritonserver:20.12-py3
22
# NVIDIA Triton
33

44
ENV PYTHONUNBUFFERED=1 \
5+
_CUDA_COMPAT_PATH="/usr/local/cuda/compat" \
56
PATH="/opt/tritonserver/bin:/usr/local/mpi/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/ucx/bin" \
67
LD_LIBRARY_PATH="/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64" \
78
LANG=C.UTF-8
89

10+
RUN apt update && \
11+
apt install -y --no-install-recommends \
12+
ncurses-term \
13+
unzip zlib1g-dev htop && \
14+
ln -sf /usr/share/terminfo/x/xterm-color /usr/share/terminfo/x/xterm-256color
15+
916
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2
1017
COPY ./service-defs /etc/backend.ai/service-defs
1118
LABEL ai.backend.kernelspec="1" \
@@ -20,7 +27,7 @@ LABEL ai.backend.kernelspec="1" \
2027
ai.backend.base-distro="ubuntu16.04" \
2128
ai.backend.runtime-type="python" \
2229
ai.backend.runtime-path="/usr/bin/python" \
23-
ai.backend.service-ports="grpc:http:8001,http:http:8000,metric:http:8002"
30+
ai.backend.service-ports="triton-server:preopen:[8000,8001,8002]"
2431

2532
WORKDIR /home/work
2633
# vim: ft=dockerfile

vendor/ngc-triton/Dockerfile.20.12-py3-sdk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ FROM nvcr.io/nvidia/tritonserver:20.12-py3-sdk
22
# NVIDIA Triton
33

44
ENV PYTHONUNBUFFERED=1 \
5-
PATH="/workspace/install/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
5+
PATH="/workspace/install/bin:/opt/tritonserver/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
66
LIBRARY_PATH="/usr/local/cuda/lib64/stubs" \
77
LD_LIBRARY_PATH="/workspace/install/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64" \
88
LANG=C.UTF-8
99

10+
RUN apt update ; apt install ncurses-term -y && \
11+
ln -sf /usr/share/terminfo/x/xterm-color /usr/share/terminfo/x/xterm-256color
12+
1013
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2
1114
COPY ./service-defs /etc/backend.ai/service-defs
1215
LABEL ai.backend.kernelspec="1" \

0 commit comments

Comments
 (0)