Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1283,10 +1283,9 @@ def create_dockerfile_linux(
pip3 uninstall -y setuptools
ENV LD_LIBRARY_PATH=/usr/local/tensorrt/lib/:/opt/tritonserver/backends/tensorrtllm:$LD_LIBRARY_PATH

# There are some ucc issues when spawning mpi processes with ompi v4.1.7a1.
# Downgrade to ompi v4.1.5rc2 to avoid the issue.
RUN rm -fr /opt/hpcx/ompi
COPY --from=nvcr.io/nvidia/tritonserver:24.02-py3-min /opt/hpcx/ompi /opt/hpcx/ompi
RUN apt-get update && apt-get install -y --no-install-recommends \
libprotobuf-dev \
&& rm -rf /var/lib/apt/lists/*
"""
with open(os.path.join(ddir, dockerfile_name), "w") as dfile:
dfile.write(df)
Expand Down Expand Up @@ -1465,14 +1464,6 @@ def dockerfile_prepare_container_linux(argmap, backends, enable_gpu, target_mach
virtualenv \\
&& rm -rf /var/lib/apt/lists/*
"""
if "tensorrtllm" in backends:
df += """
# Updating the openssh-client to fix for the CVE-2024-6387. This can be removed when trtllm uses a later CUDA container(12.5 or later)
RUN apt-get update \\
&& apt-get install -y --no-install-recommends \\
openssh-client \\
&& rm -rf /var/lib/apt/lists/*
"""

if "vllm" in backends:
df += f"""
Expand Down
Loading