7373DEFAULT_TRITON_VERSION_MAP = {
7474 "release_version" : "2.53.0dev" ,
7575 "triton_container_version" : "24.12dev" ,
76- "upstream_container_version" : "24.10 " ,
76+ "upstream_container_version" : "24.11 " ,
7777 "ort_version" : "1.19.2" ,
7878 "ort_openvino_version" : "2024.4.0" ,
7979 "standalone_openvino_version" : "2024.4.0" ,
80- "dcgm_version" : "3.2 .6" ,
80+ "dcgm_version" : "3.3 .6" ,
8181 "vllm_version" : "0.5.5" ,
8282 "rhel_py_version" : "3.12.3" ,
8383}
@@ -885,7 +885,7 @@ def install_dcgm_libraries(dcgm_version, target_machine):
885885ENV DCGM_VERSION {}
886886# Install DCGM. Steps from https://developer.nvidia.com/dcgm#Downloads
887887RUN curl -o /tmp/cuda-keyring.deb \\
888- https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204 /sbsa/cuda-keyring_1.0 -1_all.deb \\
888+ https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404 /sbsa/cuda-keyring_1.1 -1_all.deb \\
889889 && apt install /tmp/cuda-keyring.deb \\
890890 && rm /tmp/cuda-keyring.deb \\
891891 && apt-get update \\
@@ -898,7 +898,7 @@ def install_dcgm_libraries(dcgm_version, target_machine):
898898ENV DCGM_VERSION {}
899899# Install DCGM. Steps from https://developer.nvidia.com/dcgm#Downloads
900900RUN curl -o /tmp/cuda-keyring.deb \\
901- https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204 /x86_64/cuda-keyring_1.0 -1_all.deb \\
901+ https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404 /x86_64/cuda-keyring_1.1 -1_all.deb \\
902902 && apt install /tmp/cuda-keyring.deb \\
903903 && rm /tmp/cuda-keyring.deb \\
904904 && apt-get update \\
@@ -1035,6 +1035,7 @@ def create_dockerfile_buildbase(ddir, dockerfile_name, argmap):
10351035 df += """
10361036# Ensure apt-get won't prompt for selecting options
10371037ENV DEBIAN_FRONTEND=noninteractive
1038+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
10381039
10391040# Install docker docker buildx
10401041RUN apt-get update \\
@@ -1071,6 +1072,7 @@ def create_dockerfile_buildbase(ddir, dockerfile_name, argmap):
10711072 patchelf \\
10721073 python3-dev \\
10731074 python3-pip \\
1075+ python3-wheel \\
10741076 python3-setuptools \\
10751077 rapidjson-dev \\
10761078 scons \\
@@ -1085,10 +1087,7 @@ def create_dockerfile_buildbase(ddir, dockerfile_name, argmap):
10851087 wget \\
10861088 && rm -rf /var/lib/apt/lists/*
10871089
1088- RUN pip3 install --upgrade pip \\
1089- && pip3 install --upgrade \\
1090- wheel \\
1091- setuptools \\
1090+ RUN pip3 install --upgrade \\
10921091 docker \\
10931092 virtualenv
10941093
@@ -1106,7 +1105,7 @@ def create_dockerfile_buildbase(ddir, dockerfile_name, argmap):
11061105 && . /etc/os-release \\
11071106 && echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ $UBUNTU_CODENAME main" | tee /etc/apt/sources.list.d/kitware.list >/dev/null \\
11081107 && apt-get update -q=2 \\
1109- && apt-get install -y --no-install-recommends cmake=3.27.7 * cmake-data=3.27.7 *
1108+ && apt-get install -y --no-install-recommends cmake=3.28.3 * cmake-data=3.28.3 *
11101109"""
11111110
11121111 if FLAGS .enable_gpu :
@@ -1243,7 +1242,6 @@ def create_dockerfile_linux(
12431242 rm -fr ${TRT_ROOT}/bin ${TRT_ROOT}/targets/${ARCH}-linux-gnu/bin ${TRT_ROOT}/data && \\
12441243 rm -fr ${TRT_ROOT}/doc ${TRT_ROOT}/onnx_graphsurgeon ${TRT_ROOT}/python && \\
12451244 rm -fr ${TRT_ROOT}/samples ${TRT_ROOT}/targets/${ARCH}-linux-gnu/samples && \\
1246- python3 -m pip install --upgrade pip && \\
12471245 pip3 install --no-cache-dir transformers && \\
12481246 find /usr -name libtensorrt_llm.so -exec dirname {} \; > /etc/ld.so.conf.d/tensorrt-llm.conf && \\
12491247 find /opt/tritonserver -name libtritonserver.so -exec dirname {} \; > /etc/ld.so.conf.d/triton-tensorrtllm-worker.conf && \\
@@ -1308,6 +1306,7 @@ def dockerfile_prepare_container_linux(argmap, backends, enable_gpu, target_mach
13081306# artifacts copied below are assign to this user.
13091307ENV TRITON_SERVER_USER=triton-server
13101308RUN userdel tensorrt-server > /dev/null 2>&1 || true \\
1309+ && userdel ubuntu > /dev/null 2>&1 || true \\
13111310 && if ! id -u $TRITON_SERVER_USER > /dev/null 2>&1 ; then \\
13121311 useradd $TRITON_SERVER_USER; \\
13131312 fi \\
@@ -1354,12 +1353,10 @@ def dockerfile_prepare_container_linux(argmap, backends, enable_gpu, target_mach
13541353 libgoogle-perftools-dev \\
13551354 libjemalloc-dev \\
13561355 libnuma-dev \\
1357- libre2-9 \\
13581356 software-properties-common \\
13591357 wget \\
13601358 {backend_dependencies} \\
13611359 python3-pip \\
1362- && python3 -m pip install --upgrade pip \\
13631360 && rm -rf /var/lib/apt/lists/*
13641361""" .format (
13651362 backend_dependencies = backend_dependencies
@@ -1402,7 +1399,8 @@ def dockerfile_prepare_container_linux(argmap, backends, enable_gpu, target_mach
14021399 if "python" in backends :
14031400 if target_platform () == "rhel" :
14041401 df += """
1405- # python3 and some pip installs required for the python backend
1402+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
1403+ # python3, python3-pip and some pip installs required for the python backend
14061404RUN yum install -y \\
14071405 libarchive-devel \\
14081406 openssl-devel \\
@@ -1420,16 +1418,17 @@ def dockerfile_prepare_container_linux(argmap, backends, enable_gpu, target_mach
14201418"""
14211419 else :
14221420 df += """
1423- # python3 and some pip installs required for the python backend
1421+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
1422+ # python3, python3-pip and some pip installs required for the python backend
14241423RUN apt-get update \\
14251424 && apt-get install -y --no-install-recommends \\
14261425 python3 \\
14271426 libarchive-dev \\
1427+ python3-pip \\
1428+ python3-wheel \\
1429+ python3-setuptools \\
14281430 libpython3-dev \\
1429- && pip3 install --upgrade pip \\
14301431 && pip3 install --upgrade \\
1431- wheel \\
1432- setuptools \\
14331432 \" numpy<2\" \\
14341433 virtualenv \\
14351434 && rm -rf /var/lib/apt/lists/*
@@ -1631,7 +1630,7 @@ def create_build_dockerfiles(
16311630 FLAGS .upstream_container_version
16321631 )
16331632 else :
1634- base_image = "ubuntu:22 .04"
1633+ base_image = "ubuntu:24 .04"
16351634
16361635 dockerfileargmap = {
16371636 "NVIDIA_BUILD_REF" : "" if FLAGS .build_sha is None else FLAGS .build_sha ,
0 commit comments