Skip to content

fix: Remove opencv-python-headless from TensorRT-LLM image - #859

Merged
mc-nv merged 1 commit into
mainfrom
mchornyi/TRI-1564/remove-opencv-python-headless-from-triton-tensorrt-llm-image
Jul 14, 2026
Merged

fix: Remove opencv-python-headless from TensorRT-LLM image#859
mc-nv merged 1 commit into
mainfrom
mchornyi/TRI-1564/remove-opencv-python-headless-from-triton-tensorrt-llm-image

Conversation

@mc-nv

@mc-nv mc-nv commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

New OSRB guidance makes opencv-python-headless an immediate blocker for new releases. The TensorRT-LLM backend pulls the package in transitively through the tensorrt_llm wheel installed in dockerfile/Dockerfile.triton.trt_llm_backend, so it lands in the Triton TensorRT-LLM container image.

This removes the package in the same layer where tensorrt_llm is installed, running pip3 uninstall -y opencv-python-headless on both install paths (the PYPI_EXTRA_VALUES branch and the public pypi.nvidia.com branch). The || true guard keeps the build green when the package is not present.

Changes

  • dockerfile/Dockerfile.triton.trt_llm_backend: uninstall opencv-python-headless in the same RUN layer as the tensorrt_llm install, on both the extra-values and public-wheel branches.

Related Issues:

  • Resolves: TRI-1564
CI (internal): [#57992661](http://tritonserver.local/ci/pipelines/57992661)

@mc-nv mc-nv self-assigned this Jul 14, 2026
@mc-nv
mc-nv requested review from Vinya567, whoisj and yinggeh July 14, 2026 18:30
@mc-nv
mc-nv marked this pull request as ready for review July 14, 2026 18:30
@mc-nv
mc-nv merged commit 0b9d7d5 into main Jul 14, 2026
1 check passed
mc-nv added a commit that referenced this pull request Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants