Skip to content

[None][chore] Remove legacy alternativeTRT CI paths - #20661

Open
chzblych wants to merge 1 commit into
NVIDIA:mainfrom
chzblych:cleanup/remove-alternative-trt
Open

chzblych wants to merge 1 commit into
NVIDIA:mainfrom
chzblych:cleanup/remove-alternative-trt

Conversation

@chzblych

@chzblych chzblych commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Problem

Jenkins still carries alternativeTRT and alternativeTrtSBSA paths after removal of the TensorRT backend. These paths replace TensorRT packages, rewrite requirements, and override normal test selection.

Solution

Remove the legacy overrides from the build, test, and downstream job-launch scripts, along with their CBTS documentation. Remove unused platform and Python ABI arguments and update their callers. Preserve the existing default PR, PostMerge, and nightly-release conditions.

Test Coverage

Validation

  • Repository pre-commit and DCO hooks passed.
  • Groovy 2.4 parsing and AST conversion passed for all three changed scripts.
  • A local AST check verified argument preservation at 24 call sites. A local condition harness passed 7,776 comparisons across nine changed conditions, including PostMerge, nightly-release, infrastructure dry-run, and multi-GPU flags.
  • A local Groovy harness passed 36 mocked install-path cases covering fat-sqsh, ordinary images, and skipInstallWheel; the 12 existing infrastructure dry-run pipeline tests passed.
  • git diff --check passed; a repository-wide search found no remaining alternativeTRT, alternativeTrtSBSA, or replaceWithAlternativeTRT references.
  • Jenkins pipelines and GPU builds/tests were not run locally. Earlier CI runs on 80f8ea5 and 639aabe failed; the current head has not yet been validated by Jenkins CI.

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

Dev Engineer Review

  • Removed legacy alternativeTRT and alternativeTrtSBSA handling from Jenkins build, test, and downstream job-launch paths.
  • Removed unused cpver and platform parameters, with caller updates.
  • The change aims to preserve existing PR, PostMerge, and nightly-release conditions. The supplied summary reports that BOLT wiring remains active for eligible architecture builds.
  • The author reports that static checks passed. Jenkins pipelines and GPU builds/tests were not run locally.
  • Four PR_Github jobs succeeded. Their associated L0_MergeRequest_PR pipelines failed. The supplied CI comments do not identify the failing tests.
  • Current review finding counts are unavailable because no findings were supplied.

QA Engineer Review

No test changes.

Per-File QA Perspective

  • jenkins/Build.groovy: Verify wheel builds no longer replace TensorRT packages or edit requirements. Check callers against the revised buildWheelInContainer signature.
  • jenkins/L0_MergeRequest.groovy: Verify downstream jobs receive the expected parameters after removal of platform and alternative-TRT arguments. Check PR, PostMerge, nightly, BOLT, Docker-image, and container-scan paths.
  • jenkins/L0_Test.groovy: Verify test, Slurm, platform, package-sanity, and post-merge paths after removal of cpver and alternative-TRT logic. Check retry and reporting behavior.
  • jenkins/scripts/cbts/README.md: Verify CBTS documentation describes PostMerge fallback without an alternativeTRT condition.

@chzblych
chzblych marked this pull request as ready for review October 20, 2026 06:11
@chzblych
chzblych requested review from a team as code owners October 20, 2026 06:11
@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 639aabe and 2ebda8e.

Files selected for processing: 1
  • jenkins/L0_Test.groovy

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

Walkthrough

The Jenkins pipeline removes alternative TensorRT setup and replacement logic from build and test paths. It also removes cpver parameters from helpers and callers, changes job-selection conditions, and updates downstream launch signatures.

Changes

Jenkins build and test pipeline

Layer / File(s) Summary
Build and test path updates
jenkins/Build.groovy, jenkins/L0_Test.groovy
Build, test, and package-sanity paths remove alternative TensorRT setup and replacement logic. Helpers and callers drop cpver; dependency cleanup removes TensorRT runtime files unconditionally.
Job selection conditions
jenkins/L0_MergeRequest.groovy, jenkins/L0_Test.groovy, jenkins/scripts/cbts/README.md
Job selection and test-stage conditions no longer use alternativeTRT. The CBTS fallback rule now applies to PostMerge jobs without that condition.
Downstream job API and architecture wiring
jenkins/L0_MergeRequest.groovy
Launch helpers drop the platform argument. Architecture build, test, dry-run, BOLT profile-generation, and Docker-image calls use the revised signatures.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Suggested reviewers: juney-nvidia

Merge Risk: Minimal · up to 2ebda

No actionable merge-blocking risk is established. The rebased revision has not yet been validated in Jenkins.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely identifies the main change: removing legacy alternativeTRT CI paths. It also follows the required [None][chore] format.
Description check Passed The description explains the problem and solution, documents validation and test limitations, and includes the required checklist sections. It is sufficiently complete for this maintenance change.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@chzblych

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79186 [ run ] triggered by Bot. Commit: 80f8ea5 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79186 [ run ] completed with state SUCCESS. Commit: 80f8ea5
/LLM/main/L0_MergeRequest_PR pipeline #65226 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@chzblych

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79283 [ run ] triggered by Bot. Commit: 80f8ea5 Link to invocation

@brnguyen2 brnguyen2 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approving — the comments below are optional touch-ups, not blockers.

I grepped every caller of the changed signatures (buildWheelInContainer, launchJob, launchInfraDryRunTestJob, and the runLLMTestlist* / executeLLMTestOnSlurm chain). All of them now pass arguments in the new positional order, and cpver is still in runLLMBuild and the kitmaker dry-run helper, where it still selects the wheel ABI. Two out-of-repo follow-ups:

  1. Jenkins jobs that still set alternativeTRT. If any TRT dependency-testing job (or a saved parameterized build) still injects alternativeTRT, that run will now be treated as an ordinary pre-merge job: CBTS/changed-file filtering, no forced multi-GPU or post-merge stages, and getMergeRequestChangedFileList calling the MR API with no MR behind it. Please confirm those jobs are retired, or remove the parameter from their job configs, so they don't start failing for unclear reasons.
  2. trtllm_utils.replaceWithAlternativeTRT in the shared library has no callers after this PR. A follow-up to delete it there would finish the cleanup.

The description also says Jenkins pipelines weren't run locally. Since the PR has the ci: full pre-merge approved label, a full /bot run (including the SBSA and Slurm/multi-node stages that use the reordered runLLMTestlistOnSlurm arguments) before merge would confirm the positional changes at runtime.

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79283 [ run ] completed with state SUCCESS. Commit: 80f8ea5
/LLM/main/L0_MergeRequest_PR pipeline #65305 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@chzblych
chzblych force-pushed the cleanup/remove-alternative-trt branch from 80f8ea5 to 639aabe Compare November 1, 2026 10:32
@chzblych

chzblych commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81838 [ run ] triggered by Bot. Commit: 639aabe Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81838 [ run ] completed with state SUCCESS. Commit: 639aabe
/LLM/main/L0_MergeRequest_PR pipeline #67490 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@chzblych

chzblych commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81877 [ run ] triggered by Bot. Commit: 639aabe Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81877 [ run ] completed with state SUCCESS. Commit: 639aabe
/LLM/main/L0_MergeRequest_PR pipeline #67527 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@chzblych

chzblych commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

Signed-off-by: Yanchao Lu <yanchaol@nvidia.com>
@chzblych
chzblych force-pushed the cleanup/remove-alternative-trt branch from 639aabe to 2ebda8e Compare November 2, 2026 07:19

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants