File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -259,13 +259,19 @@ RUN pip3 install --upgrade "numpy<2" pillow attrdict && \
259259 "tritonclient-*linux*.whl" | xargs printf -- '%s[all]' | \
260260 xargs pip3 install --upgrade
261261
262+ ARG DCGM_SOURCE_LIST
262263# Install DCGM
264+ RUN if [ -n "${DCGM_SOURCE_LIST}" ]; then \
265+ echo "deb [trusted=yes] $DCGM_SOURCE_LIST / " > /etc/apt/sources.list.d/dcgm-list.list && \
266+ cat /etc/apt/sources.list.d/dcgm-list.list; \
267+ fi
268+
263269RUN if [ "$TRITON_ENABLE_GPU" = "ON" ]; then \
264270 [ "$(uname -m)" != "x86_64" ] && arch="sbsa" || arch="x86_64" && \
265271 curl -o /tmp/cuda-keyring.deb \
266272 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/$arch/cuda-keyring_1.1-1_all.deb \
267273 && apt install /tmp/cuda-keyring.deb && rm /tmp/cuda-keyring.deb && \
268- apt-get update && apt-get install -y datacenter-gpu-manager=1:${DCGM_VERSION} ; \
274+ apt-get update && apt-get install -y datacenter-gpu-manager-4-dev ; \
269275 fi
270276
271277# Build expects "python" executable (not python3).
You can’t perform that action at this time.
0 commit comments