Skip to content

chore(deps): bump TensorRT-LLM to 1.3.0rc22 - #1972

Merged
slin1237 merged 1 commit into
mainfrom
chore/bump-trtllm-1-3-0rc22
Jul 28, 2026
Merged

slin1237 merged 1 commit into
mainfrom
chore/bump-trtllm-1-3-0rc22

Conversation

@slin1237

@slin1237 slin1237 commented Jul 27, 2026 •

Copy link
Copy Markdown
Member

Description

Problem

CI installs TensorRT-LLM 1.3.0rc18 and the release-docker matrix builds rc18/rc17/rc16; NVIDIA's index is at 1.3.0rc22 (the GA line on pypi.org is still 1.2.x, so the rc channel remains the right track for the gRPC serve command).

Solution

  • scripts/ci_install_trtllm.sh: TRTLLM_VERSION="1.3.0rc22" (wheel present on pypi.nvidia.com); header note about the serve-command/Harmony fixes updated — they shipped in rc14 and remain in rc22.

  • release-trtllm-docker.yml: matrix → release:1.3.0rc22 / rc21 / rc20, defaults and examples → rc22. All three NGC image tags verified via manifest inspect.

  • docker/engine.Dockerfile: the PyYAML shadow for NGC bases is kept (harmless if a base ever ships a pip-managed PyYAML); its comment now says "1.3.0rc bases" instead of naming rc18.

  • rc22's dependency tree (via its transformers pin, which leaves typer unbounded) resolves typer 0.27.0, whose CLI exit path leaks click.exceptions.Exit — every hf model download exits 1 after succeeding, failing the e2e model-fetch step on repeat attempts. The installer now pins typer<0.26 after the TensorRT-LLM install (0.25.1 verified working against click 8.3.3, reproduced and bisected locally).

Test Plan

  • Real validation is this PR's e2e matrix: trtllm legs (1-GPU chat, 4-GPU chat).
  • Locally: bash -n clean; rc22 wheel present on pypi.nvidia.com; release:1.3.0rc22/rc21/rc20 image manifests verified.
Checklist
  • cargo +nightly fmt passes
  • cargo clippy --all-targets --all-features -- -D warnings passes
  • (Optional) Documentation updated
  • (Optional) Please join us on Slack #sig-smg to discuss, review, and merge PRs

Summary by CodeRabbit

  • Updates
    • Updated TensorRT-LLM Docker release builds to use newer NGC base images (defaulting to 1.3.0rc22, with the build matrix aligned).
    • Updated CI installation to pin and install the newer TensorRT-LLM pre-release wheel (1.3.0rc22).
    • Improved build consistency across engine image generation and CI workflow behavior.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@github-actions github-actions Bot added ci CI/CD configuration changes docker Docker configuration changes labels Jul 27, 2026
@coderabbitai

coderabbitai Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

TensorRT-LLM references are updated from RC18-era versions to RC22-era versions across the Docker release workflow and CI installation script. The CI setup also pins Typer below version 0.26, and a Dockerfile comment is adjusted.

Changes

TensorRT-LLM version alignment

Layer / File(s) Summary
Release image selection
.github/workflows/release-trtllm-docker.yml
Release defaults now use 1.3.0rc22, and the build matrix advances to RC22, RC21, and RC20.
CI installation and compatibility alignment
scripts/ci_install_trtllm.sh, docker/engine.Dockerfile
CI installs tensorrt-llm==1.3.0rc22, pins typer<0.26, and updates the related PyYAML packaging comment.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested labels: dependencies

Suggested reviewers: catherinesue

Poem

A rabbit hops through RC22 snow,
With newer wheels and images aglow.
Typer stays beneath twenty-six,
While workflow tags perform their tricks.
Hop, hop—release carrots grow!

🚥 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.
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 Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: bumping TensorRT-LLM to 1.3.0rc22.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-trtllm-1-3-0rc22

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

@claude

claude Bot commented Jul 27, 2026

Copy link
Copy Markdown

👋 The PR description doesn't fully follow
PULL_REQUEST_TEMPLATE.md:

  • Missing header: ## Changes

Please update the PR description so reviewers have the context they need.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Straightforward dependency version bump (TensorRT-LLM 1.3.0rc18 → 1.3.0rc22). Version references are consistent across all three changed files. No code changes — per REVIEW.md, skipping detailed review for dep bumps.

0 issues found (0 🔴 Important · 0 🟡 Nit · 0 🟣 Pre-existing)

CI wheel and release-docker base images move from 1.3.0rc18 to rc22
(matrix rc22/rc21/rc20). The NGC-base PyYAML shadow in engine.Dockerfile
stays; its comment no longer names a single rc.

rc22's dependency tree (via transformers) resolves typer 0.27.0,
whose CLI exit path leaks click.exceptions.Exit — every hf model
download exits 1 after succeeding. Pin typer<0.26 after the trtllm
install (transformers leaves typer unbounded).
Signed-off-by: Simo Lin <25425177+slin1237@users.noreply.github.com>
@slin1237
slin1237 force-pushed the chore/bump-trtllm-1-3-0rc22 branch from 5dc9189 to 0c1b06a Compare July 28, 2026 00:23

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/release-trtllm-docker.yml:
- Line 5: Preserve the documented empty base_image_ref source-build behavior in
the workflow matrix expression and related input handling. Remove the RC22
fallback for empty values or add an explicit build_from_source input and branch,
ensuring manual source builds reach the source-build path consistently across
the matrix definition and referenced workflow conditions.

In `@scripts/ci_install_trtllm.sh`:
- Around line 71-75: Extend the Typer workaround in scripts/ci_install_trtllm.sh
after the pip install to run pip check, verify the installed Typer version is
below 0.26, and invoke the same successful hf model-download CLI path used by CI
while requiring exit status 0. Keep the existing installation constraint and use
the CI download command rather than introducing a separate test path.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: e52d3a4b-fb7c-43de-91d2-7fdc8eaa54c4

📥 Commits

Reviewing files that changed from the base of the PR and between 5dc9189 and 0c1b06a.

📒 Files selected for processing (3)
  • .github/workflows/release-trtllm-docker.yml
  • docker/engine.Dockerfile
  • scripts/ci_install_trtllm.sh

run-name: >-
SMG+TRTLLM |
${{ github.event_name == 'push' && '3-version matrix' || format('base={0}', inputs.base_image_ref || 'nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc18') }} |
${{ github.event_name == 'push' && '3-version matrix' || format('base={0}', inputs.base_image_ref || 'nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc22') }} |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Preserve the documented source-build mode.

The input says an empty base_image_ref builds from source, but the || ...rc22 fallback in Line 63 converts an empty value back to the RC22 image. Manual source builds therefore cannot reach the source-build path. Add an explicit build_from_source input/branch, or remove the “Empty = build from source” contract and update Line 5 accordingly.

Also applies to: 26-27, 63-63

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/release-trtllm-docker.yml at line 5, Preserve the
documented empty base_image_ref source-build behavior in the workflow matrix
expression and related input handling. Remove the RC22 fallback for empty values
or add an explicit build_from_source input and branch, ensuring manual source
builds reach the source-build path consistently across the matrix definition and
referenced workflow conditions.

Comment on lines +71 to +75
# typer >= 0.26 leaks click.exceptions.Exit through its main on CLI exit, so
# every `hf` invocation (model downloads) exits 1 even on success. The
# transformers pulled by tensorrt-llm has an unbounded typer dependency.
pip install --no-cache-dir "typer<0.26"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Add a regression check for the Typer workaround.

Installing typer<0.26 does not verify that the selected version is correct or that the successful Hugging Face/model-download path now exits with status 0. Add pip check, assert the installed Typer version, and exercise the same successful CLI path used by CI.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@scripts/ci_install_trtllm.sh` around lines 71 - 75, Extend the Typer
workaround in scripts/ci_install_trtllm.sh after the pip install to run pip
check, verify the installed Typer version is below 0.26, and invoke the same
successful hf model-download CLI path used by CI while requiring exit status 0.
Keep the existing installation constraint and use the CI download command rather
than introducing a separate test path.

@slin1237
slin1237 merged commit 7cacc15 into main Jul 28, 2026
47 of 51 checks passed
@slin1237
slin1237 deleted the chore/bump-trtllm-1-3-0rc22 branch July 28, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI/CD configuration changes docker Docker configuration changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant