Skip to content

[None][fix] fix accuracy issue(cherry-pick https://github.com/NVIDIA/TensorRT-LLM/pull/11157 and https://github.com/NVIDIA/TensorRT-LLM/pull/9530)#11222

Merged
chzblych merged 3 commits intoNVIDIA:release/1.2.0rc2from
bo-nv:user/bo/rc2.post3.candidate
Feb 4, 2026
Merged

[None][fix] fix accuracy issue(cherry-pick https://github.com/NVIDIA/TensorRT-LLM/pull/11157 and https://github.com/NVIDIA/TensorRT-LLM/pull/9530)#11222
chzblych merged 3 commits intoNVIDIA:release/1.2.0rc2from
bo-nv:user/bo/rc2.post3.candidate

Conversation

@bo-nv
Copy link
Collaborator

@bo-nv bo-nv commented Feb 3, 2026

Summary by CodeRabbit

Release Notes

  • New Features

    • Added TinyGEMM optimization support, configurable via environment variable for compatible hardware.
  • Improvements

    • Enhanced error reporting with more detailed context information.
    • Optimized kernel execution for newer GPU architectures (Hopper and Blackwell).

Description

Test Coverage

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)

  • 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

/bot [-h] ['run', 'kill', 'skip', 'reuse-pipeline'] ...

Provide a user friendly way for developers to interact with a Jenkins server.

Run /bot [-h|--help] to print this help message.

See details below for each supported subcommand.

Details

run [--reuse-test (optional)pipeline-id --disable-fail-fast --skip-test --stage-list "A10-PyTorch-1, xxx" --gpu-type "A30, H100_PCIe" --test-backend "pytorch, cpp" --add-multi-gpu-test --only-multi-gpu-test --disable-multi-gpu-test --post-merge --extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx" --detailed-log --debug(experimental)]

Launch build/test pipelines. All previously running jobs will be killed.

--reuse-test (optional)pipeline-id (OPTIONAL) : Allow the new pipeline to reuse build artifacts and skip successful test stages from a specified pipeline or the last pipeline if no pipeline-id is indicated. If the Git commit ID has changed, this option will be always ignored. The DEFAULT behavior of the bot is to reuse build artifacts and successful test results from the last pipeline.

--disable-reuse-test (OPTIONAL) : Explicitly prevent the pipeline from reusing build artifacts and skipping successful test stages from a previous pipeline. Ensure that all builds and tests are run regardless of previous successes.

--disable-fail-fast (OPTIONAL) : Disable fail fast on build/tests/infra failures.

--skip-test (OPTIONAL) : Skip all test stages, but still run build stages, package stages and sanity check stages. Note: Does NOT update GitHub check status.

--stage-list "A10-PyTorch-1, xxx" (OPTIONAL) : Only run the specified test stages. Examples: "A10-PyTorch-1, xxx". Note: Does NOT update GitHub check status.

--gpu-type "A30, H100_PCIe" (OPTIONAL) : Only run the test stages on the specified GPU types. Examples: "A30, H100_PCIe". Note: Does NOT update GitHub check status.

--test-backend "pytorch, cpp" (OPTIONAL) : Skip test stages which don't match the specified backends. Only support [pytorch, cpp, tensorrt, triton]. Examples: "pytorch, cpp" (does not run test stages with tensorrt or triton backend). Note: Does NOT update GitHub pipeline status.

--only-multi-gpu-test (OPTIONAL) : Only run the multi-GPU tests. Note: Does NOT update GitHub check status.

--disable-multi-gpu-test (OPTIONAL) : Disable the multi-GPU tests. Note: Does NOT update GitHub check status.

--add-multi-gpu-test (OPTIONAL) : Force run the multi-GPU tests in addition to running L0 pre-merge pipeline.

--post-merge (OPTIONAL) : Run the L0 post-merge pipeline instead of the ordinary L0 pre-merge pipeline.

--extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx" (OPTIONAL) : Run the ordinary L0 pre-merge pipeline and specified test stages. Examples: --extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx".

--detailed-log (OPTIONAL) : Enable flushing out all logs to the Jenkins console. This will significantly increase the log volume and may slow down the job.

--debug (OPTIONAL) : Experimental feature. Enable access to the CI container for debugging purpose. Note: Specify exactly one stage in the stage-list parameter to access the appropriate container environment. Note: Does NOT update GitHub check status.

For guidance on mapping tests to stage names, see docs/source/reference/ci-overview.md
and the scripts/test_to_stage_mapping.py helper.

kill

kill

Kill all running builds associated with pull request.

skip

skip --comment COMMENT

Skip testing for latest commit on pull request. --comment "Reason for skipping build/test" is required. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break.

reuse-pipeline

reuse-pipeline

Reuse a previous pipeline to validate current commit. This action will also kill all currently running builds associated with the pull request. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break.

syuoni and others added 2 commits February 3, 2026 08:00
…PDL (NVIDIA#9530)

Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com>
Signed-off-by: Bo Deng <deemod@nvidia.com>
@bo-nv bo-nv requested review from a team as code owners February 3, 2026 08:07
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 3, 2026

📝 Walkthrough

Walkthrough

These changes introduce CUDA 9.0+ grid-programmatic launch synchronization in custom MoE kernels, add compile-time flags for GDC optimization in CUTLASS kernels for Hopper and Blackwell architectures, introduce an ENABLE_TINYGEMM environment variable flag for TinyGEMM optimization selection, and enhance error reporting with token count details.

Changes

Cohort / File(s) Summary
CUDA Architecture-Specific Optimizations
cpp/tensorrt_llm/kernels/customMoeRoutingKernels.cu, cpp/tensorrt_llm/kernels/cutlass_kernels/CMakeLists.txt
Added explicit grid-programmatic launch synchronization calls (cudaGridDependencySynchronize and cudaTriggerProgrammaticLaunchCompletion) for SM90+ in MoE kernel; added CUTLASS GDC compile flags for Hopper (SM90) and Blackwell (SM100/103/120/121) architectures.
Optimization Feature Flags
tensorrt_llm/_torch/models/modeling_gpt_oss.py
Introduced ENABLE_TINYGEMM environment variable flag to conditionally enable TinyGEMM optimization path alongside existing SM version and token limit checks.
Error Reporting Enhancement
tensorrt_llm/_torch/pyexecutor/model_engine.py
Enhanced assertion failure message in previous_seq_slots_device to include actual total_num_tokens and max_num_tokens values for improved debugging context.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 40.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ⚠️ Warning The PR description is incomplete and lacks critical details. Only the template structure is present with empty sections for Description and Test Coverage. Fill in the Description section explaining the accuracy issue, why the cherry-picked changes fix it, and list relevant test cases in Test Coverage section.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies this as a fix for an accuracy issue and references the upstream PRs being cherry-picked.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Important

Action Needed: IP Allowlist Update

If your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:

  • 136.113.208.247/32 (new)
  • 34.170.211.100/32
  • 35.222.179.152/32

Failure to add the new IP will result in interrupted reviews.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@bo-nv bo-nv requested a review from longlee0622 February 3, 2026 08:49
@bo-nv bo-nv self-assigned this Feb 3, 2026
@bo-nv bo-nv marked this pull request as draft February 3, 2026 08:49
@longlee0622 longlee0622 added the Release Blocker PRs that blocking the final release build or branching out the release branch label Feb 3, 2026
@longlee0622
Copy link
Collaborator

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #34618 [ run ] triggered by Bot. Commit: 492ee92

@tensorrt-cicd
Copy link
Collaborator

PR_Github #34618 [ run ] completed with state FAILURE. Commit: 492ee92
/LLM/release-1.2.0rc2/L0_MergeRequest_PR pipeline #10 completed with status: 'FAILURE'

⚠️ 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

@bo-nv bo-nv marked this pull request as ready for review February 3, 2026 11:19
@bo-nv
Copy link
Collaborator Author

bo-nv commented Feb 3, 2026

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #34627 [ run ] triggered by Bot. Commit: 492ee92

Signed-off-by: Bo Deng <deemod@nvidia.com>
@bo-nv
Copy link
Collaborator Author

bo-nv commented Feb 3, 2026

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #34628 [ run ] triggered by Bot. Commit: 0aa7702

@tensorrt-cicd
Copy link
Collaborator

PR_Github #34628 [ run ] completed with state FAILURE. Commit: 0aa7702
/LLM/release-1.2.0rc2/L0_MergeRequest_PR pipeline #12 completed with status: 'FAILURE'

⚠️ 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

@longlee0622
Copy link
Collaborator

/bot skip --comment "failing unrelated tests"

@chzblych chzblych merged commit 910c070 into NVIDIA:release/1.2.0rc2 Feb 4, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release Blocker PRs that blocking the final release build or branching out the release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants