Skip to content

Commit 5c28202

Browse files
committed
Add interanl list, temporary
1 parent bf6a602 commit 5c28202

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Dockerfile.sdk

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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+
263269
RUN 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).

0 commit comments

Comments
 (0)