Skip to content

chore: OPS-8654 bump trtllm to v1.3.0rc27 - #15060

Merged
tanmayv25 merged 24 commits into
mainfrom
deps/upgrade-trtllm-v1.3.0rc27
Sep 24, 2026
Merged

tanmayv25 merged 24 commits into
mainfrom
deps/upgrade-trtllm-v1.3.0rc27

Conversation

@dynamo-ops

@dynamo-ops dynamo-ops commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Linear: OPS-8654

Overview:

Automated dependency upgrade to TensorRT-LLM 1.3.0rc27, plus the changes the upgrade turned out to need: a fix in the dpkg license generator, a correction to the DALI block and its note, an ignore list for new deprecation warnings, and a per-architecture Open MPI selection with its settings and login-profile fixes, a hostname workaround so Open MPI 5 can start workers on arm64, and tests that guard the MPI setup.

Details:

The upgrade (72028898, a3bda421)

container/context.yaml runtime tag, the pyproject.toml pin, both per-arch baseline SBOMs re-captured against 1.3.0rc27, the DALI pin moved from 2.1.1 to 2.2.0 to match the base image, and the release and compatibility pages. The manifest also closes a gap on main, where the baseline SBOM recorded 1.3.0rc25 while container/context.yaml recorded 1.3.0rc26.

The licenses stage (a95a2263, c4e8e573, a9c56d28)

trtllm-runtime and trtllm-runtime-efa both stopped at:

[dpkg] [email protected]: license is UNKNOWN and policy.licenses.unknown = 'deny' (SPDX: 'UNKNOWN')

The rc27 base image installs dpdk-community and doca-sdk-common while it is built, and removes them again without purging them. dpkg keeps both entries in the config-files state: it deleted the packages' files and kept their conffiles, and those still ship. doca-sdk-common leaves /etc/ld.so.conf.d/doca-runtime-<arch>-linux-gnu.conf and /etc/profile.d/doca-runtime.sh, and dpdk-community leaves /etc/ld.so.conf.d/dpdk-<arch>-linux-gnu.conf. syft, which captures the baseline SBOMs, catalogs installed packages only, so both entries survive baseline subtraction and reach the policy gate. rc25 and rc26 carried the same pair as doca-sdk-common and mlnx-dpdk, and both have a license_overrides.yaml entry, which is why the gate passed until upstream renamed the DPDK package.

dpdk-community has no license the generator can read: the package ships no copyright file at all. The dpdk-community_26.03.0.5-1_amd64.deb from the public DOCA 3.5.0 repository has none, and its only SPDX tags are seven BSD-3-Clause tags. a9c56d28 adds a BSD-3-Clause override, like the existing mlnx-dpdk entry.

The generator now reads each entry's dpkg state (${db:Status-Status}). It skips a config-files entry only when dpkg lists its conffiles and none of them is on disk, and it logs every kept entry with its surviving conffiles. An earlier version on this branch (a95a2263) skipped every config-files entry. Review showed that their conffiles ship, so a9c56d28 narrowed the skip.

The DALI block (eed14723)

rc27 ships DALI 2.2.0 in the base image, so the pinned install is a no-op and three statements in the note above the block described the old base. The note is corrected, and one hole in the code is closed: the decoder enumeration finds its library with find ... -name 'libavcodec*.so*' and loops over the result, so an empty match checked nothing and exited 0. A release that links the codec into a differently named library, which is what PyNvVideoCodec 2.2.0 does three blocks below, passed that guard while shipping decoders. Both the runtime_full block and the post-overlay guard now fail on an empty match.

The codec waiver (24344f20)

Text only. The DALI waiver in container/compliance/policy/codec_policy.yaml ends with "Re-measure when the vendored version moves." It moved, so the rc27 measurement is recorded there. Two statements in the same note needed the same pass: it said the Dockerfile pins nvidia-dali-cuda130>=2.1.1, where the pin is exact and now reads ==2.2.0, and it said one guard runs "after the upgrade", where that install is a no-op.

The rc27 deprecations (04cdba0b)

Three trtllm tests failed at import time, not on an assertion: cutlass.utils.LayoutEnum is deprecated. The rc27 base ships nvidia-cutlass-dsl 4.8.0.dev0 where rc26 shipped 4.6.2, and it moves names out of cutlass.utils and cutlass.arch behind a module __getattr__ that warns. flashinfer is 0.6.18 in both images and still reads the old locations, some in class-body annotations that run at import time, as does TensorRT-LLM's own cute_dsl_kernels. Under filterwarnings = ["error", ...] the import raises. Two ignore entries cover all four warnings the import gains between the two images.

The fourth glob loop (f502244d)

This file has four loops that enumerate a vendored FFmpeg library. The DALI commit above closed three. This closes the post-overlay PyNvVideoCodec one, with the counter its own sibling in runtime_full already uses.

The MPI path (1ff5387a, f04ff8d1, 69d62c63, 2111e3f2, fc14cb34, 7b05507e)

rc27 repointed /opt/hpcx/ompi and /usr/local/mpi from ompi4 to ompi5, so the image defaults to Open MPI 5.0.10rc2 where rc26 defaulted to 4.1.9a1. TensorRT-LLM spawns its executor ranks with MPI.COMM_SELF.Spawn. On amd64 that spawn fails on ompi5 with ucp_ep_create(proc=0) failed: Destination is unreachable, the worker never binds its gRPC port, and the serving tests wait out their deadlines. On arm64 ompi4 is not an option: the base image's libtorch_cpu.so needs ompi_mpi_short_float, which only ompi5 defines.

1ff5387a links /opt/dynamo/mpi to ompi4 on amd64 and to ompi5 on arm64. The PATH, LD_LIBRARY_PATH and OPAL_PREFIX entries name that link, in runtime_full and in pre_runtime, which the shipped image builds on. Transitional: delete the link and the entries when upstream's ompi5 can spawn.

f04ff8d1 completes the switch to ompi4. The base image edits etc/openmpi-mca-params.conf only in the Open MPI it selects itself, so ompi4 kept hwloc_base_binding_policy = core and btl = self. With core, import tensorrt_llm pins the process and every child to CPUs 0-1. With btl = self, mpirun --mca pml ob1, which the operator's multi-node launch uses, cannot connect two ranks. The commit applies the base image's two edits to the selected MPI and fails the build if either setting survives.

69d62c63 makes the dev images' login profile, container/dev/50-framework-paths.sh, prefer /opt/dynamo/mpi. It used to reset login shells, SSH sessions and later dev-image RUN steps to /opt/hpcx/ompi, which is ompi5 in rc27.

2111e3f2 replaces the affinity test with tests/dependencies/test_trtllm_mpi.py, which checks the whole selection in the built image: the link's target per architecture, the library mpi4py loads, a MPI.COMM_SELF.Spawn, a two-rank ob1 launch, and the CPU affinity.

fc14cb34 fixes what that spawn check found on arm64. Open MPI 5 cannot spawn from a singleton when the hostname length plus the digits of its pid exceeds 37, and TRT-LLM starts its workers that way. CI's pod names are 46 (arm64) and 50 (amd64) characters long. amd64 avoids the defect by running ompi4, which is likely the real reason the serving tests failed on ompi5 there. arm64 cannot, so where the image selects ompi5, a .pth line imports _dynamo_pmix_hostname when Python starts. It sets PMIX_HOSTNAME to a short name only in processes that no MPI launcher started, on hosts whose names are longer than 30 characters. Ranks that mpirun or prte start get PMIX_HOSTNAME from the launcher and keep the real hostname. A real multi-node launch is not verified: a Python process that runs a multi-node mpirun itself would pass the short name on to it. The operator's multi-node launch starts mpirun from /bin/sh, so the hook does not run there.

The cause is in Open MPI itself: it passes the singleton's name to prte through a 50-byte print buffer, so a long name is cut short and prte registers the wrong one. It is fixed upstream in open-mpi/ompi#14398 (v5.0.x backport: open-mpi/ompi#14409), and Mellanox/ompi's v5.0.x_hpcx branch has had the fix since Mellanox/ompi#61. No release has it yet: Open MPI 5.0.11 does not, and TRT-LLM 1.3.0rc28 still ships HPC-X v2.50 with Open MPI 5.0.10rc2 and fails the same spawn. 7b05507e records when to remove each part of the workaround. Delete the hook once a base image's HPC-X passes a spawn with a 46-character hostname without it. Delete the amd64 Open MPI 4 selection only when Open MPI 5 also spawns on amd64 without the hook, in CI and on a host with extra network interfaces. Tracked in NVIDIA/TensorRT-LLM#19607.

The CUDA IPC test (7a57fd6a, d8b48f54)

7a57fd6a passes the consumer's result through the queue as a numpy array, reports child errors, and always cleans up its processes. It also built the expected tensor with a CPU float16 arange. Past 2048 that rounds differently from the producer's CUDA arange, so the assertion failed whenever the transfer worked. d8b48f54 builds expected on the GPU again.

The LD_PRELOAD order (d4bfa7d9)

The ENV block named /opt/dynamo/libstdc++.so.6 in LD_PRELOAD before the RUN that creates it. Every command in between printed ERROR: ld.so: object '/opt/dynamo/libstdc++.so.6' from LD_PRELOAD cannot be preloaded. The RUN now comes first.

The merge of main

main cut v1.5.0, which rewrote the three release tables this branch touches. docs/fern/components/releases.data.ts is the source of truth and merged cleanly with both sides. The two conflicted pages are generated from it, so they were taken from main and regenerated rather than hand-resolved, and gen_llms_tables.py --check reports every marker-spliced page unchanged.

Where should the reviewer start?

container/compliance/generators/dpkg.py, and the new container/compliance/tests/test_dpkg_generator.py beside it. Then container/templates/trtllm_runtime.Dockerfile around /opt/dynamo/mpi, for the MPI selection and its settings edit. The rest of the diff is the version bump and comments.

Validation

Claim How verified Before After
The gate fails on dpdk-community, and stops failing CI job 105736243907 before, CI build job 107383547938 at fc14cb34 after, step licenses on both architecture legs License validation failed: 1 violation(s) across 1063 packages License validation passed: 1064 packages, no violations on linux/amd64 and linux/arm64, each naming the two kept packages and their conffiles
The removed packages still ship files dpkg-query -W -f='${Conffiles}' and ls in the rc27 base image and in the built image state config-files for dpdk-community and doca-sdk-common the same three conffiles on disk in both images; doca-runtime.sh and one ld.so.conf.d file carry an NVIDIA proprietary header
The override is what makes the gate pass The licenses stage's generator and policy commands, in the CI test image for 1ff5387a, amd64, baseline release@2af29022 without the new override: 528 collected, 27 left, License validation failed: 1 violation(s), dpdk-community UNKNOWN with it: 528 collected, 0 skipped, 27 left, License validation passed
Other images do not move dpkg-query on built sglang-runtime and vllm-runtime images no entry outside installed unchanged
syft omits the leftovers, so they reach the gate Baseline SBOM against dpkg-query on the same image 511 entries each, differing by the 2 leftovers and g++/git without versions unchanged: both leftovers now reach NOTICES through their overrides
The generator tests pin both directions The new tests against the previous generator and against main's previous generator: the three keep tests fail; main's: the skip test fails all 8 pass in the image, including two that run the real dpkg-query
The rc27 deprecations are the only new ones, and the entries cover them import tensorrt_llm._torch.models under warnings.catch_warnings in each image, then the repository's own filterwarnings list applied the way pytest applies it rc26 emits none, rc27 emits four, and the rc27 import raises under the current list rc27 import passes, rc26 import still passes
All four glob loops fail on an empty match Each RUN body extracted from the Dockerfile, continuations joined as Docker joins them, run under /bin/sh against real and emptied paths the post-overlay PyNvVideoCodec loop exits 0 checking nothing exits 1 naming the blind check
The DALI install is a no-op CI job 105736243907, step 13/16, and the green trtllm-dev job on both arches Requirement already satisfied: nvidia-dali-cuda130==2.2.0 unchanged
The empty-glob guard fires, and only then Each RUN body extracted from the Dockerfile, continuations joined as Docker joins them, run under /bin/sh in the rc27 base image and in a built trtllm-runtime image loop over an empty glob exits 0 real path exits 0 with the verdict, empty directory exits 1 with the new message
DALI ships no excluded decoder enumerate_bundled_decoders.py on the rc27 base image 440 decoders, h264/hevc/aac absent, vp8/vp9/mjpeg/av1 present unchanged
A worker starts on the rc27 base CI run 35920618126 at fc14cb34 test_deployment[disaggregated-2] failed on all four attempts at f502244d and d4bfa7d9 passed, 2-GPU job 107387203795; sidecar trtllm_aggregated-2 passed, job 107391157697
Each architecture gets the MPI it can run build job 107383547938, and the arm64 test job arm64 import torch failed on ompi_mpi_short_float at f3fe60fe MPI for amd64: /opt/hpcx/ompi4, MPI for arm64: /opt/hpcx/ompi5; arm64 job 107387203915 passed
ompi4 no longer pins processes or blocks ob1 CI test image for 1ff5387a, against a layer built from the rendered RUN steps, on a 32-CPU amd64 GPU host import tensorrt_llm narrows 32 CPUs to [0, 1]; mpirun --mca pml ob1 -n 2 fails in MPI_INIT 32 CPUs stay 32; the allreduce returns 2 on both ranks
The MPI tests pin the selection tests/dependencies/test_trtllm_mpi.py on an amd64 GPU host, then in CI CI test image for 1ff5387a as shipped fails the ob1 and affinity tests; with /opt/dynamo/mpi pointed at ompi5, the selection and spawn tests fail all pass in the fixed image; in CI, amd64 job 107387203863 passes 6 and skips 5 hook tests, arm64 job 107387203915 passes all 11
The build guards fire the post-overlay guard built alone on the image as shipped; the guard patterns against 13 sample lines none the build fails on the unedited file; all 13 lines classified as expected
The IPC comparison is sound CUDA against CPU float16 arange in the rc27 and rc26 images; the test alone in the rc27 image 9719 of 204800 elements differ; the 7a57fd6a version fails at torch.equal the test passes; in CI it passed in 43s, job 107013586094
The 1-GPU suite at CI concurrency PYTEST_XDIST_AUTO_NUM_WORKERS=2 on the amd64 GPU host image as shipped: 14 passed, 1 skipped, up to 30 processes on CPUs 0-1 fixed: 14 passed, 1 skipped, no process on CPUs 0-1
The LD_PRELOAD errors are gone the cannot be preloaded line counted in CI build logs 6171 lines at c188664b 0 lines, build job 107010723999
Login shells keep the selected MPI (dev images) container/dev/50-framework-paths.sh sourced by bash -l in the CI test image for 1ff5387a mpi4py maps /opt/hpcx/ompi5/lib/libmpi.so.40.40.7 (5.0.10rc2) mpi4py maps /opt/hpcx/ompi4/lib/libmpi.so.40.30.8 (4.1.9a1); unchanged in images without /opt/dynamo/mpi
Open MPI 5 cannot spawn on long hostnames, and the hook fixes it docker run --hostname <CI pod name> with the rc27 base (arm64, on a Mac) and the CI test image (amd64, GPU host) ompi5 MPI.COMM_SELF.Spawn and an MPIPoolExecutor pool fail with MPI_ERR_UNKNOWN (arm64: 46 characters, amd64: 50); ompi4 spawns arm64 with the hook: all 11 MPI tests pass and the pool runs; CI arm64 job 107387203915 passes
The hook stays out of launched ranks mpirun and pool workers with the hook installed, on arm64 none ranks and pool workers report the real hostname through MPI.Get_processor_name; with an inherited short PMIX_HOSTNAME, mpirun -H <real hostname>:2 still runs both ranks locally

The licenses stage runs and passes on both architecture legs in CI (build job 107383547938): linux/arm64 reports 521 collected, 0 skipped, 494 subtracted, and linux/amd64 reports 528, 0, 501, both ending at License validation passed: 1064 packages, no violations. The amd64 numbers match the local reproduction exactly. Everything measured by hand in an image was measured on amd64, and no multi-arch image was built locally. The DALI glob is confirmed on both arches from the green trtllm-dev job on this head, which prints registers: 440 decoders for linux/amd64 and linux/arm64. container/compliance/tests/ runs locally and in no CI lane: the pytest action runs inside the built image, which does not carry container/, and the five test files already there have the same gap. So the new test pins the fix for anyone running it, and CI does not. container/compliance/helpers/dpkg_helper.py reads dpkg a second way and runs on every pull request, through .github/workflows/pr.yaml to shared-compliance.yml to the compliance-scan action to container/compliance/Dockerfile.extract, which runs it with --root. That mode parses /var/lib/dpkg/status and keeps a package only when its Status line contains installed, so it still drops the two leftovers. This change leaves that file alone. One edge worth knowing if anyone touches it: the substring test also keeps a not-installed stanza, because that string contains installed. No image here has one.

The GPU host did not reproduce the IPC test's CI timeout at CI concurrency. The image as shipped passed there, but the test's child processes waited 4.8 to 6.8 s for a CPU, against 0.0 s with the fix. The CI run at d8b48f54 is the evidence that the timeout is gone. The host has one GPU, so the 2-GPU results come from CI only.

Related Issues

🔗 This PR is linked to an issue:

Summary by CodeRabbit

  • Updates
    • Updated the TensorRT-LLM release to version 1.3.0rc27.
    • Updated the CUDA 13.1 runtime image and architecture-specific SBOM references.
    • Refreshed compatibility information and machine-readable release details for the development-head release.
    • Updated the optional TensorRT-LLM dependency requirement to 1.3.0rc27.

@dynamo-ops dynamo-ops added backend::trtllm Relates to the trtllm backend dep-upgrade Automated dependency upgrade labels Sep 18, 2026
@copy-pr-bot

copy-pr-bot Bot commented Sep 18, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added documentation Improvements or additions to documentation container chore labels Sep 18, 2026
tanmayv25 added a commit that referenced this pull request Sep 18, 2026
The OpenEngine servicer ships from release 1.3.0rc27; `container/context.yaml`
pinned 1.3.0rc26, so the sidecar e2e test on main could not run this branch's
launcher at all. #15060 moves that pin, with the two-arch compliance baseline
re-captured in the same commit -- which is why the bump is its own PR rather
than a commit here: the baseline can only come from a capture on a runner with
the headroom, and the licenses stage subtracts it from NOTICES.

With the bump underneath, `tests/serve/test_sidecar.py`'s TensorRT-LLM case runs
rather than skips. The capability probe stays, but it now guards the
off-container and downgraded-image paths instead of the pin itself, and its
reason says so: seeing that skip in CI means the pin moved backwards.

Signed-off-by: tanmayv25 <[email protected]>
@tanmayv25

Copy link
Copy Markdown
Contributor

/ok to test 7202889

@tanmayv25
tanmayv25 marked this pull request as ready for review September 18, 2026 17:53
@tanmayv25
tanmayv25 requested review from a team as code owners September 18, 2026 17:53
@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

@coderabbitai

coderabbitai Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 888f7a77-4eb0-4da7-b0d4-3a5775f3a2d0

📥 Commits

Reviewing files that changed from the base of the PR and between a9792db and 7202889.

📒 Files selected for processing (8)
  • container/compliance/base_sboms/manifest.json
  • container/compliance/base_sboms/[email protected]
  • container/compliance/base_sboms/[email protected]
  • container/context.yaml
  • docs/fern/components/releases.data.ts
  • docs/fern/pages/reference/general/compatibility.mdx
  • docs/fern/pages/reference/general/releases-machine-readable.mdx
  • pyproject.toml

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


Walkthrough

The change updates TensorRT-LLM references from earlier release candidates to 1.3.0rc27 across runtime configuration, SBOM metadata, dependency configuration, and release documentation.

Changes

TensorRT-LLM rc27 alignment

Layer / File(s) Summary
Runtime and SBOM metadata
container/context.yaml, container/compliance/base_sboms/manifest.json
The CUDA 13.1 runtime image and both platform SBOM entries now use TensorRT-LLM 1.3.0rc27. The SBOM baseline identifiers, digests, filenames, and generation timestamp were updated.
Python dependency pin
pyproject.toml
The trtllm optional dependency now pins tensorrt-llm==1.3.0rc27.
Release documentation references
docs/fern/components/releases.data.ts, docs/fern/pages/reference/general/compatibility.mdx, docs/fern/pages/reference/general/releases-machine-readable.mdx
The main development-head release data, compatibility matrix, and machine-readable release table now report TensorRT-LLM 1.3.0rc27.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 72028

The updated runtime, dependency, SBOM, and documentation references are internally aligned. No actionable defect is established from the available CI information.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The description includes the required Overview, Details, reviewer guidance, and Related Issues sections. It provides detailed change context and confirms that no issue is linked.
Title check ✅ Passed The title clearly and concisely identifies the primary change: upgrading TensorRT-LLM to version 1.3.0rc27.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@dmitry-tokarev-nv
dmitry-tokarev-nv requested a review from a team as a code owner September 18, 2026 19:30
@dmitry-tokarev-nv
dmitry-tokarev-nv force-pushed the deps/upgrade-trtllm-v1.3.0rc27 branch from 18b004f to a3bda42 Compare September 18, 2026 19:36
@dmitry-tokarev-nv

Copy link
Copy Markdown
Contributor

/ok to test a3bda42

@dmitry-tokarev-nv dmitry-tokarev-nv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First review round: trtllm 1.3.0rc27

One P1 and one P2. I hold on the P1: the shipped TensorRT-LLM images cannot build until a package the new base image adds gets an entry in the override list.

The bump itself is sound. I checked the parts that have gone wrong on earlier release-candidate bumps and found no new problem in them.

What I checked, and what each check returned

Reviewed at head a3bda421d6fe9ec0371725133eeebcfb5dce4c53. I also merged the current main tip 81fa669fcb into the head in a scratch tree and re-ran every check there. main touched none of the nine files, and every result below held.

The version numbers all agree with the registry. I asked nvcr.io for the manifest-list digest of each tag:

tag digest from the registry in manifest.json
1.3.0rc27 sha256:2af290225a38d163b26af3be48581a722db98a594e839ff1e3675cc2c69f1df8 yes, and the stem release@2af29022 matches
1.3.0rc25 sha256:2366e4b4bdb385fcb38642a4555cbd091c4f8b1a27ff567a47acbe815dd49e86 this is the file the PR replaces

That also shows what this PR fixes. On main the baseline SBOM was captured from 1.3.0rc25 while context.yaml pointed at 1.3.0rc26, which is a third, never-captured image (sha256:3251f8ad...). The PR closes that gap.

The pin is installable. pypi.nvidia.com lists the same three wheel filenames for rc25, rc26 and rc27: cp310 and cp312 for manylinux_2_28_x86_64, and cp312 for manylinux_2_39_aarch64. A search for a made-up version returned nothing, so the search itself discriminates.

The generated files are not stale. python3 docs/fern/scripts/gen_llms_tables.py --check reports every page unchanged, and .github/scripts/dep_upgrade/check_bump_dependency.py passes. Of the nine files, six are generated and three are hand-written. The two .cdx.json files and manifest.json come from the SBOM capture, compatibility.mdx and releases-machine-readable.mdx are spliced by gen_llms_tables.py, and releases.data.ts is rewritten by bump_dependency.py. context.yaml, pyproject.toml and trtllm_runtime.Dockerfile are the hand-written three, and the Dockerfile is the only one a person edited here.

The known traps from earlier bumps. No shared-library name collision is introduced: the DALI copy keeps its hash in the filename and the PyNvVideoCodec copy does not, in the outgoing and the incoming SBOM alike, so the set of names does not change. The DALI version does match what rc27 ships, which is the subject of the P2. No dependency marker changes. DALI stays an exact pin and PyNvVideoCodec stays a floor, each matching the note that explains it. No ARG is added or moved across a FROM.

Nothing else in the tree still says rc26. I searched the whole tree. lib/sidecar/trtllm/deploy/agg.yaml:48 still names 1.3.0rc25, but it was already behind before this PR and the bump script does not list it as a target, so it is out of scope here.

The base image moved more than the TensorRT-LLM version. Comparing the two SBOMs, the CUDA packages go from cuda-*-13-2 to cuda-*-13-4, and two dpkg packages appear that were not there before. One of those is the P1.

Where I stopped. I did not build the multi-arch image, so everything about the image contents comes from the two SBOMs, the CI logs, and the registry. The compliance audit and the container test stages never ran on this head, so I cannot report a result for them.

Comment thread container/context.yaml Resolved
@tanmayv25

Copy link
Copy Markdown
Contributor

The trtllm-runtime / Build multi-arch cuda13.1 failure here is the DALI pin self-retiring, not a problem with the version bump.

runtime_full on arm64:

ERROR: base image already carries DALI 2.2.0, so pinning 2.1.1 would
       downgrade it. Upstream has caught up -- delete this RUN and let
       the base version stand.

rc26's base shipped DALI 2.1.0, so container/templates/trtllm_runtime.Dockerfile:259-321 pins nvidia-dali-cuda130==2.1.1 to drop the vendored software h264/hevc/aac decoders. rc27's base ships 2.2.0, so the pin is now a downgrade and the guard fails the build by design — the block calls itself TRANSITIONAL and self-retiring.

I re-measured, which container/compliance/policy/codec_policy.yaml asks for when the vendored version moves. Ran the repo's own enumerate_bundled_decoders.py against nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc27:

registers: 440 decoders, 0 encoders
  h264 absent · hevc absent · aac absent · aac_fixed absent · aac_latm absent
  vp8 present · vp9 present · mjpeg present · av1 present
VERDICT: none of the excluded decoders are registered

Same posture the pin produced, so the stock 2.2.0 satisfies the policy on its own.

Deleting the RUN is step one of four — the other three are coupled to it:

  1. trtllm_runtime.Dockerfile:549 — the pre_runtime whiteout entry for DALI exists because runtime_full upgrades it. With no upgrade it would delete base-image libraries nothing reinstalls. The adjacent aiohttp entry is whitelisted "for the DALI reason" and needs the same look.
  2. codec_policy.yaml:106 — the waiver justifies itself with "trtllm_runtime.Dockerfile now pins nvidia-dali-cuda130>=2.1.1". After the deletion the reason becomes "the base image's own 2.2.0 carries no software h264/hevc/aac", otherwise the rationale documents a pin that no longer exists.
  3. The policy names two build-time enumerations, one after the upgrade and one after the overlay COPY. Deleting the block removes the first; the post-COPY guard and tests/dependencies/test_no_software_video_codecs.py still cover it, but that should be a deliberate call rather than a side effect.

Nothing else about the bump looks wrong: 1.3.0rc27 is the first release carrying the OpenEngine servicer, both arches are published, and the two-arch baseline was captured in the same commit. This is the only failing check.

Happy to push the patch if you'd rather review than write it.

dmitry-tokarev-nv and others added 2 commits September 18, 2026 17:35
`dpkg-query -W` lists a package that dpkg removed but did not purge, the
`config-files` state, exactly like an installed one. syft, which captures the
baseline SBOMs under container/compliance/base_sboms/, catalogs installed
packages only. So a leftover entry in a base image survives baseline
subtraction, has no /usr/share/doc/<pkg>/copyright to read, and reaches the
policy gate as UNKNOWN.

The TensorRT-LLM base images carry two such entries. Through 1.3.0rc26 they are
`doca-sdk-common` and `mlnx-dpdk`, and both already have a license_overrides.yaml
entry, so the gate passed. 1.3.0rc27 renames the second one to `dpdk-community`,
which no entry matches, and both shipped images stop at the licenses stage:

    [dpkg] [email protected]: license is UNKNOWN and
    policy.licenses.unknown = 'deny' (SPDX: 'UNKNOWN')

`dpkg-query -L dpdk-community` in that base image returns one conffile,
/etc/ld.so.conf.d/dpdk-x86_64-linux-gnu.conf, and no library or binary. An
override states a license for software the image does not carry, and writes it
into NOTICES-Apt.txt, so read the install state instead.

Read ${db:Status-Status} and skip `not-installed` and `config-files`. Every
other state leaves the unpacked files in place, so those stay in the inventory.
dpkg-query prints an empty value for a field it does not know and still exits 0,
so an empty status keeps the package rather than emptying the inventory.

Measured in nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc27 with the same
generator and validate commands the licenses stage runs. Before: 511 collected,
2 left after subtraction, `License validation failed: 1 violation(s)` on
dpdk-community. After: 509 collected, 0 left, `License validation passed`.
Control on a full built trtllm-runtime image against the rc26 baseline: 38 rows
before, 36 after, passing both ways, and the two dropped rows are
doca-sdk-common and mlnx-dpdk. Built sglang-runtime and vllm-runtime images hold
no entry in either state, so their inventories do not move.

The overrides stay in place. Whether the dev images or cuda-dl-base install
those packages for real is a separate question.

Verified on amd64 only. The arm64 leg of the failing job never reached the
licenses stage, and the new test skips where dpkg-query is absent, such as macOS.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
…hing

1.3.0rc27 ships DALI 2.2.0 in the base image, and commit a3bda42 moved the pin
to match, so three statements in the note above the block stopped describing the
code under them. The install is now a no-op:

    DALI in base image: 2.2.0
    Requirement already satisfied: nvidia-dali-cuda130==2.2.0 in
    /usr/local/lib/python3.12/dist-packages (2.2.0)
    DALI version: 2.2.0
    registers: 440 decoders, 0 encoders
    VERDICT: none of the excluded decoders are registered

That leaves the block holding two checks, the version tripwire and the decoder
enumeration, and the second one had a hole. It finds the library to enumerate
with `find ... -name 'libavcodec*.so*'` and loops over the result, so an empty
match checks nothing and exits 0. A release that links the codec into a
differently named library, which is what PyNvVideoCodec 2.2.0 does three blocks
below, passes this guard while shipping decoders. Fail on an empty match
instead, in the runtime_full block and in the post-overlay guard that repeats it.

Verified by extracting each RUN body from this file, joining the continuations
the way Docker does, and running it under /bin/sh. In
nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc27 the first block exits 0 and prints
the verdict above; with the glob pointed at an empty directory it exits 1 with
the new message. Same two runs for the post-overlay guard on a built
trtllm-runtime image: exit 0 as it stands, exit 1 on an empty glob.

The note now also states what the tripwire does and does not catch. It fires
when a base image moves DALI past 2.2.0. A base that moves it back below 2.2.0
passes the tripwire, and the install puts the measured version back.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
@dmitry-tokarev-nv

dmitry-tokarev-nv commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Superseded: this comment named a SHA that does not exist on this branch. The head is eed14723f7f229b0d486301742bd546def620369, requested in the next comment.

@dmitry-tokarev-nv

Copy link
Copy Markdown
Contributor

/ok to test eed1472

The DALI waiver in codec_policy.yaml ends with "Re-measure when the vendored
version moves." It moved: the 1.3.0rc27 base image carries DALI 2.2.0, where
rc25 and rc26 carried 2.1.0.

Record the measurement, taken with the repository's own
enumerate_bundled_decoders.py against
nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc27: 440 decoders, with h264, hevc,
aac, aac_fixed and aac_latm absent and vp8, vp9, mjpeg and av1 present. Same
posture the 2.1.1 pin produced.

Two statements in the same note needed the same pass. It said the Dockerfile
pins `nvidia-dali-cuda130>=2.1.1`, where the pin is exact and now reads
`==2.2.0`, which the base already carries. It said one guard runs "after the
upgrade", where that install is now a no-op. It also did not say that both
guards fail on an empty glob, which they do as of the previous commit.

Text only. No glob, owner or deny rule changes.

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
@dmitry-tokarev-nv

Copy link
Copy Markdown
Contributor

Thank you, and your measurement matches mine: 440 decoders, the five absent, vp8, vp9, mjpeg and av1 present, taken with enumerate_bundled_decoders.py against nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc27.

The head now moves the pin to 2.2.0 instead of deleting the RUN. Commit a3bda42 moved the pin, and three commits from me follow it.

Why keep the block. With the pin at the base version the install is a no-op, which the build log on this head confirms:

DALI in base image: 2.2.0
Requirement already satisfied: nvidia-dali-cuda130==2.2.0 in /usr/local/lib/python3.12/dist-packages (2.2.0)

What it still buys is its two checks. The tripwire stops the next base image that moves DALI past 2.2.0 and asks for a re-measurement, which is what the waiver in codec_policy.yaml asks for in its last line anyway. The build-time enumeration is the only content check between base bumps, because tests/dependencies/test_no_software_video_codecs.py runs against a built image rather than during the build.

Your point 3, and a hole in that enumeration. It picks the library with find ... -name 'libavcodec*.so*' and loops over the result, so an empty match checks nothing and exits 0. A release that links the codec into a differently named library, which is what PyNvVideoCodec 2.2.0 does three blocks below, passes that guard while shipping decoders. Both that block and the post-overlay guard now fail on an empty match. Verified by extracting each RUN body from the file, joining the continuations the way Docker does, and running it under /bin/sh: exit 0 on the real path with the verdict printed, exit 1 with the glob pointed at an empty directory.

Your point 1, the whiteout. Keeping the install keeps it coherent, and the note now says what it is: inert while the install is a no-op, load-bearing again the moment a base image ships an older DALI.

Your point 2, the waiver. Corrected in 24344f20. It said the Dockerfile pins nvidia-dali-cuda130>=2.1.1, where the pin is exact and now reads ==2.2.0, and it said one guard runs "after the upgrade", where that install is a no-op. The rc27 measurement is recorded there now.

If you prefer the deletion path, say so and I will switch. It is your call, and your four coupled edits are the right list. Deletion also needs an answer for what covers the content check between base bumps, since the post-COPY guard alone cannot see a runtime_full regression before the overlay.

One correction to the scope. That run had a second failure, not only the DALI guard. licenses stopped both shipped images on [email protected]: the rc27 base installs DOCA packages while building and removes them again, so dpkg-query -W reports the leftover entry, syft does not, and it survives baseline subtraction with no copyright file to read. The generator now skips entries whose files dpkg removed. Evidence is in the PR description and in the resolved thread on container/context.yaml.

@dmitry-tokarev-nv

Copy link
Copy Markdown
Contributor

/ok to test 24344f2

A skipped entry leaves its conffiles under /etc, so the NOTICES file and the CSV
it drops out of are the only record that the package was ever there. The count
alone gives whoever reads the next OSRB diff no way to explain the removal.

Log the name, version and dpkg state of each skipped entry at INFO. On
nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc27 that reads:

    Skipped dpkg entries: [email protected] (config-files),
    [email protected] (config-files)

Co-Authored-By: Claude Opus 5 <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
7a57fd6 changed the expected tensor from `_create_tensor_on_gpu().cpu()`
to a CPU `torch.arange(..., dtype=torch.float16)`. The producer builds its
tensor on the GPU. Past 2048, float16 cannot hold every whole number, and
CUDA and the CPU round the arange differently. So the assertion fails
whenever the IPC transfer works.

Measured on an amd64 GPU host: the two tensors differ in 9719 of 204800
elements, in the rc27 image (torch 2.14) and in the rc26 main image
(torch 2.12). Element 29266 is 29264.0 from CUDA and 29280.0 from the CPU.
Run alone in the rc27 image with the Open MPI fix, the 7a57fd6
version fails at
`assert torch.equal(result, expected)` and this version passes. The rest
of 7a57fd6 stays as it is.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
@dmitry-tokarev-nv
dmitry-tokarev-nv requested a review from a team as a code owner September 23, 2026 01:39
@dmitry-tokarev-nv

Copy link
Copy Markdown
Contributor

/ok to test d8b48f5

@dmitry-tokarev-nv

Copy link
Copy Markdown
Contributor

Two commits on top of 7a57fd6aa4.

f04ff8d125 stops the CPU pinning. On amd64 this branch runs the worker on /opt/hpcx/ompi4, but the base image edits etc/openmpi-mca-params.conf only in ompi5. So ompi4 keeps hwloc_base_binding_policy = core and btl = self, and import tensorrt_llm pins the process and all its children to CPUs 0-1. Measured in the CI image for 1ff5387a05 on a 32-CPU amd64 GPU host:

  • A bare import tensorrt_llm goes from 32 CPUs to [0, 1].
  • A running python3 -m dynamo.trtllm worker reports Cpus_allowed_list 0-1.
  • mpirun --mca pml ob1 -n 2 fails in MPI_INIT with "at least one MPI process is unreachable from another".

The commit applies the base image's two edits to the selected Open MPI and fails the build if either setting survives. tests/dependencies/test_mpi_init_keeps_cpu_affinity.py fails on the image as shipped ("narrowed CPU affinity from 32 to 2 CPUs") and passes with the fix.

d8b48f54d3 fixes the comparison in test_extracts_all_embeddings. @tanmayv25, 7a57fd6aa4 builds expected with a CPU float16 arange, but the producer builds its tensor on the GPU. Past 2048 the two round differently. They differ in 9719 of 204800 elements, in the rc27 image and in the rc26 main image, so the assertion fails every time the transfer works. The commit restores _create_tensor_on_gpu().cpu() and keeps the rest of your change.

At CI's 2 concurrent slots on the same host, the 1-GPU suite passed with both commits (14 passed, 1 skipped). The image as shipped also passed there, but the IPC test's children waited 4.8-6.8 s for a CPU, against 0.0 s with the fix. So the host does not reproduce the CI timeout, and the CI run on d8b48f54d3 is the check. The host does not cover arm64 or the 2-GPU jobs.

Comment thread container/compliance/generators/dpkg.py Resolved
dmitry-tokarev-nv and others added 3 commits September 23, 2026 15:08
container/dev/50-framework-paths.sh reset OPAL_PREFIX, PATH and
LD_LIBRARY_PATH to /opt/hpcx/ompi in every login shell. In the TRT-LLM
1.3.0rc27 images, /opt/hpcx/ompi is Open MPI 5, but the image selects
Open MPI 4 on amd64 through /opt/dynamo/mpi. dev.Dockerfile runs its later
RUN steps in a login shell, and SSH and `bash -l` sessions read the same
file. So all of those switched back to Open MPI 5.

The profile now prefers /opt/dynamo/mpi when it exists. Otherwise it uses
/opt/hpcx/ompi, as before.

Measured with the profile sourced by `bash -l` in the CI test image for
1ff5387, on an amd64 GPU host:

- Before: OPAL_PREFIX=/opt/hpcx/ompi, mpirun from /opt/hpcx/ompi5, and
  mpi4py maps /opt/hpcx/ompi5/lib/libmpi.so.40.40.7 (Open MPI 5.0.10rc2).
- After: OPAL_PREFIX=/opt/dynamo/mpi, mpirun is /opt/hpcx/ompi4's
  orterun, and mpi4py maps /opt/hpcx/ompi4/lib/libmpi.so.40.30.8
  (Open MPI 4.1.9a1).

Three controls give the same result with both versions: the rc27 base
image and the rc26 main image, which have no /opt/dynamo/mpi, and a host
with neither directory. The helper variable does not leak, and both
versions pass `dash -n`.

Not verified: the dev and local-dev images themselves. The check sourced
the changed file in the runtime test image, because the AWS session that
pulls the CI dev images had expired.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
a95a226 skipped every dpkg entry in the `config-files` state as if it
had no files. That state means removed but not purged: dpkg deletes the
package's files and keeps its conffiles, and those still ship. Both such
entries leave files, in the TensorRT-LLM 1.3.0rc27 base image and in the
built image:

- doca-sdk-common: /etc/ld.so.conf.d/doca-runtime-x86_64-linux-gnu.conf
  and /etc/profile.d/doca-runtime.sh, each with an NVIDIA proprietary
  header.
- dpdk-community: /etc/ld.so.conf.d/dpdk-x86_64-linux-gnu.conf.

The generator now skips a `config-files` entry only when dpkg lists its
conffiles and none of them is on disk. When the list is empty or the
query fails, the package stays. The log names each kept package with its
surviving conffiles.

A kept dpdk-community needs a license. The package ships no copyright
file: dpdk-community_26.03.0.5-1_amd64.deb from the public DOCA 3.5.0
repository has none, and its only SPDX tags are seven BSD-3-Clause tags.
Its conffile is byte-identical to the one in the image. A BSD-3-Clause
override matches the existing mlnx-dpdk entry. doca-sdk-common already
has an override.

Measured with the licenses stage's own generator and policy commands, in
the CI test image for 1ff5387 (amd64, baseline release@2af29022):

- Before: 526 collected, 2 skipped, 501 subtracted, 25 left, passed. The
  numbers match the licenses stage in CI build job 107010723999.
- After: 528 collected, 0 skipped, 501 subtracted, 27 left, passed.
  doca-sdk-common is LicenseRef-NVIDIA-Proprietary and dpdk-community is
  BSD-3-Clause.
- Control, after but without the new override: "License validation
  failed: 1 violation(s)", with dpdk-community UNKNOWN.

The tests pin both directions. Against the previous generator, the three
tests that keep a removed package fail. Against main's generator, the
test that skips a package with no conffile left fails. All 8 pass in the
image, including the two that run the real dpkg-query.

Not verified locally: arm64. CI builds and checks both architectures.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
The affinity test pinned only the settings edit. A change that pointed
/opt/dynamo/mpi at Open MPI 5 on amd64 would still pass it, because Open
MPI 5's settings file already has the edit.

tests/dependencies/test_trtllm_mpi.py replaces it. It checks the built
image for five things:

- /opt/dynamo/mpi resolves to /opt/hpcx/ompi4 on x86_64 and to
  /opt/hpcx/ompi5 on aarch64, and mpirun on PATH comes from that tree.
- mpi4py loads libmpi from that tree.
- MPI.COMM_SELF.Spawn reaches its child. TRT-LLM's MpiPoolSession starts
  its workers this way.
- Two ranks connect under `mpirun --mca pml ob1`, which the operator's
  multi-node launch uses.
- MPI_Init keeps the CPU affinity. This is the old test, unchanged.

Measured on an amd64 GPU host, with the host network, as the image's
uid 1000:

- CI test image for 1ff5387, as shipped: the ob1 and affinity tests
  fail.
- The same image with the settings edit: 5 passed in 6.9 s. It also
  passes as uid 1001, which is CI's user, and as root.
- The same with /opt/dynamo/mpi pointed at ompi5: the selection and
  spawn tests fail.

The spawn check depends on the network. With the ompi5 link, spawn fails
while the host's interfaces are visible (UCX tries 10.42.0.0), and passes
in a bridge network or with OMPI_MCA_pml=ob1. The selection check does
not depend on the network, so it is the one that pins the amd64 choice
everywhere. The Dockerfile note records this for whoever removes the
workaround.

Not verified: arm64. CI's arm64 TRT-LLM job runs only GPU-free tests
(255 passed, 23 skipped at d8b48f5), so no serving test starts a
worker on arm64 there. These tests run there on Open MPI 5.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
@dmitry-tokarev-nv

Copy link
Copy Markdown
Contributor

/ok to test 2111e3f

The spawn test from 2111e3f failed on CI's arm64 runner every time:
MPI.COMM_SELF.Spawn raised MPI_ERR_UNKNOWN. arm64 must run Open MPI 5,
because its libtorch needs ompi_mpi_short_float, and TRT-LLM starts its
workers with that call.

The cause is the hostname. Open MPI 5.0.10rc2 cannot spawn from a
singleton when the hostname length plus the digits of the process ID
exceeds 37. The prte daemon that the singleton starts closes the
connection during the handshake. Measured with the rc27 base image as
uid 1000:

- On arm64 with a 2-digit pid, a 35-character hostname spawns and a
  36-character one fails. With a 5-digit pid, 32 spawns and 33 fails.
- CI's arm64 pod name has 46 characters and fails every time. A short
  hostname passes in the same image.
- On amd64, ompi5 also fails with CI's 50-character pod name, while
  ompi4 spawns with it. That alone is enough to explain the amd64
  serving failures that led to selecting ompi4 there.

PMIx honors PMIX_HOSTNAME. Where the image selects Open MPI 5, a .pth
line now imports _dynamo_pmix_hostname when Python starts. It sets
PMIX_HOSTNAME to "pmix-" plus the CRC-32 of the hostname, but only in a
process that no MPI launcher started (no PMIX_NAMESPACE, no
PMIX_HOSTNAME yet), on a host whose name is longer than 30 characters.
Processes that mpirun or prte start get PMIX_HOSTNAME from the launcher
and keep their real hostname.

Measured on arm64 with CI's hostname, in an image built from the
rendered step:

- Without the hook, the spawn test fails with MPI_ERR_UNKNOWN, and so
  does an MPIPoolExecutor pool, which TRT-LLM's MpiPoolSession uses.
- With the hook, all 11 MPI tests pass and the pool runs its tasks. Its
  workers report the real hostname through MPI.Get_processor_name.
- Ranks from mpirun -n 2 report the real hostname with and without the
  hook. With an inherited short PMIX_HOSTNAME, mpirun -H <real
  hostname>:2 still runs both ranks locally.
- Python startup takes 6 ms without the hook and 7 ms with it on a long
  hostname.

On amd64 the step selects ompi4 and installs no hook. The MPI tests
pass there with a short hostname and with CI's 50-character one
(6 passed, 5 skipped).

Not verified: a real multi-node launch. A Python process that runs a
multi-node mpirun itself would pass the short name on to it. The
operator's multi-node launch starts mpirun from /bin/sh, so the hook
does not run there.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
@dmitry-tokarev-nv

Copy link
Copy Markdown
Contributor

/ok to test fc14cb3

@rmccorm4 rmccorm4 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving docs changes for @ai-dynamo/dynamo-docs-codeowners

Comment-only change. It describes the PMIX_HOSTNAME hook from fc14cb3
and names the condition for removing each part of the workaround.

- The cause, in one line: Open MPI passes the singleton's name,
  "singleton.<hostname>.<pid>.0", to prte through a 50-byte print buffer,
  so a longer name is cut short and prte registers the wrong one.
- The limitation: a PMIX_HOSTNAME that is already set is left alone, even
  a long one. NVBug 6722913's own measurements show that a 63-character
  PMIX_HOSTNAME fails even on a short host.
- Removing the hook: the fix is open-mpi/ompi#14398 (v5.0.x backport:
  open-mpi/ompi#14409), and Mellanox/ompi's v5.0.x_hpcx branch has it
  since Mellanox/ompi#61. Open MPI 5.0.11 does not have it, and TRT-LLM
  1.3.0rc27 and 1.3.0rc28 ship HPC-X v2.50 with Open MPI 5.0.10rc2, which
  fail the same spawn. Delete the hook, its install step and its tests
  once a spawn with a 46-character hostname passes in a base image
  without the hook. Tracked in NVIDIA/TensorRT-LLM#19607.
- Removing the amd64 ompi4 selection needs more: ompi5 must spawn on amd64
  without the hook, both in CI and on a host with extra interfaces.

Evidence that nothing else changed: the Python ASTs of both modules are
identical with docstrings removed, the Dockerfile diff touches only
comment lines, and all TRT-LLM targets still render.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Dmitry Tokarev <[email protected]>
@dmitry-tokarev-nv

Copy link
Copy Markdown
Contributor

/ok to test 7b05507

@dmitry-tokarev-nv dmitry-tokarev-nv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving at 7b05507e66.

  • CI run 35920618126 passed at fc14cb3447 with no failed job, on both architectures. That includes the arm64 test job, which now spawns under a 46-character pod name, the 2-GPU disaggregated test and the sidecar end-to-end tests.
  • 7b05507e66 changes comments only. Both Python modules have identical ASTs with docstrings removed, and the Dockerfile diff touches only comment lines. CI is running on it.
  • All 10 review threads are resolved, and tanmayv25, GuanLuo and rmccorm4 have approved.
  • The Open MPI 5 hostname workaround is documented, with a removal condition for each part. It is tracked in NVIDIA/TensorRT-LLM#19607.

@tanmayv25
tanmayv25 merged commit a6a2001 into main Sep 24, 2026
123 checks passed
@tanmayv25
tanmayv25 deleted the deps/upgrade-trtllm-v1.3.0rc27 branch September 24, 2026 01:21
@dmitry-tokarev-nv dmitry-tokarev-nv changed the title chore: bump trtllm to v1.3.0rc27 chore: OPS-8654 bump trtllm to v1.3.0rc27 Sep 24, 2026
tanmayv25 added a commit that referenced this pull request Sep 28, 2026
The OpenEngine servicer ships from release 1.3.0rc27; `container/context.yaml`
pinned 1.3.0rc26, so the sidecar e2e test on main could not run this branch's
launcher at all. #15060 moves that pin, with the two-arch compliance baseline
re-captured in the same commit -- which is why the bump is its own PR rather
than a commit here: the baseline can only come from a capture on a runner with
the headroom, and the licenses stage subtracts it from NOTICES.

With the bump underneath, `tests/serve/test_sidecar.py`'s TensorRT-LLM case runs
rather than skips. The capability probe stays, but it now guards the
off-container and downgraded-image paths instead of the pin itself, and its
reason says so: seeing that skip in CI means the pin moved backwards.

Signed-off-by: tanmayv25 <[email protected]>
tanmayv25 added a commit that referenced this pull request Sep 28, 2026
The OpenEngine servicer ships from release 1.3.0rc27; `container/context.yaml`
pinned 1.3.0rc26, so the sidecar e2e test on main could not run this branch's
launcher at all. #15060 moves that pin, with the two-arch compliance baseline
re-captured in the same commit -- which is why the bump is its own PR rather
than a commit here: the baseline can only come from a capture on a runner with
the headroom, and the licenses stage subtracts it from NOTICES.

With the bump underneath, `tests/serve/test_sidecar.py`'s TensorRT-LLM case runs
rather than skips. The capability probe stays, but it now guards the
off-container and downgraded-image paths instead of the pin itself, and its
reason says so: seeing that skip in CI means the pin moved backwards.

Signed-off-by: tanmayv25 <[email protected]>
tanmayv25 added a commit that referenced this pull request Sep 29, 2026
The OpenEngine servicer ships from release 1.3.0rc27; `container/context.yaml`
pinned 1.3.0rc26, so the sidecar e2e test on main could not run this branch's
launcher at all. #15060 moves that pin, with the two-arch compliance baseline
re-captured in the same commit -- which is why the bump is its own PR rather
than a commit here: the baseline can only come from a capture on a runner with
the headroom, and the licenses stage subtracts it from NOTICES.

With the bump underneath, `tests/serve/test_sidecar.py`'s TensorRT-LLM case runs
rather than skips. The capability probe stays, but it now guards the
off-container and downgraded-image paths instead of the pin itself, and its
reason says so: seeing that skip in CI means the pin moved backwards.

Signed-off-by: tanmayv25 <[email protected]>
tanmayv25 added a commit that referenced this pull request Sep 29, 2026
The OpenEngine servicer ships from release 1.3.0rc27; `container/context.yaml`
pinned 1.3.0rc26, so the sidecar e2e test on main could not run this branch's
launcher at all. #15060 moves that pin, with the two-arch compliance baseline
re-captured in the same commit -- which is why the bump is its own PR rather
than a commit here: the baseline can only come from a capture on a runner with
the headroom, and the licenses stage subtracts it from NOTICES.

With the bump underneath, `tests/serve/test_sidecar.py`'s TensorRT-LLM case runs
rather than skips. The capability probe stays, but it now guards the
off-container and downgraded-image paths instead of the pin itself, and its
reason says so: seeing that skip in CI means the pin moved backwards.

Signed-off-by: tanmayv25 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend::trtllm Relates to the trtllm backend chore container dep-upgrade Automated dependency upgrade documentation Improvements or additions to documentation size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants