Skip to content

[https://nvbugs/6729495][fix] Cherry-pick #19600 to release/1.3: Restore Nemotron-H weight-update covergence test - #20795

Merged
shuyixiong merged 1 commit into
NVIDIA:release/1.3from
shikicloud:fix/release-1.3-nvbug-6729495
Oct 23, 2026

Conversation

@shikicloud

@shikicloud shikicloud commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Dev Engineer Review

  • The change removes the waiver for the Nemotron-H weight-update test and installs causal-conv1d and mamba-ssm in Ray setup paths.
  • The installer builds pinned source releases and changes Mamba’s C++ standard to C++20. This adds downloads and compilation to setup; verify that build resources and setup time are sufficient.
  • No current review findings or test results were supplied.

QA Engineer Review

  • The test now reports the import error with build guidance when an extension is missing. It also asserts that the Nemotron-H fast path is available.
  • The waiver for test_llm_update_weights_nemotron_h was removed. The test is not present in the inspected tests/integration/test_lists/test-db/ or tests/integration/test_lists/qa/ files.
  • Coverage verdict: needs follow-up. Test-list membership beyond the waiver change and execution results are not established.

Per-File QA Perspective

  • jenkins/L0_Test.groovy: Ray-stage setup installs the Mamba extensions after Ray. Verify that installation completes before Ray tests start.
  • jenkins/scripts/install_mamba.sh: Adds pinned source builds for causal-conv1d and mamba-ssm, then checks imports and reports package and environment versions. Verify the build in the target PyTorch and CUDA environment.
  • jenkins/scripts/slurm_install.sh: Runs the installer when pytestCommand contains --run-ray. Verify that this condition covers the intended Ray jobs.
  • tests/integration/test_lists/waives.txt: Removes the waiver for the Nemotron-H weight-update test. The test can run where its selector includes it.
  • tests/unittest/_torch/ray_orchestrator/multi_gpu/test_llm_update_weights_multi_gpu.py: The test covers Nemotron-H weight updates and now checks extension availability and fast-path status. It is not listed in the inspected test-db or manual-QA lists.

Description

Unwaive Nemotron-H weight-update test for 1.3 release branch.

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)

  • 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.

@shikicloud
shikicloud requested review from a team as code owners October 22, 2026 03:48
@shikicloud shikicloud changed the title [https://nvbugs/6729495][fix] Restore Nemotron-H weight-update covera… [https://nvbugs/6729495][fix] Restore Nemotron-H weight-update covergence test Oct 22, 2026
@shikicloud

Copy link
Copy Markdown
Collaborator Author

/bot run --extra-stage "DGX_B200-4_GPUs-PyTorch-Ray-1"

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/TensorRT-LLM/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 78030b41-7aaf-46ef-ba76-8b8ec87a2ccf
📥 Commits

Reviewing files that changed from the base of the PR and between a74101d and 9a745d5.

📒 Files selected for processing: 1
  • tests/integration/test_lists/waives.txt
💤 Files with no reviewable changes: 1
  • tests/integration/test_lists/waives.txt

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

Ray-enabled Jenkins and Slurm setup now build causal-conv1d and Mamba from source. The Nemotron-H weight-update test is no longer waived and checks Mamba fast-path availability.

Changes

Mamba CI setup

Layer / File(s) Summary
Build and check Mamba extensions
jenkins/scripts/install_mamba.sh
The script downloads pinned sources, builds causal-conv1d and Mamba with the required flags, and checks package imports and versions.
Run the installer in Ray setup
jenkins/L0_Test.groovy, jenkins/scripts/slurm_install.sh
The Jenkins Ray stage runs the installer. Slurm setup runs it when pytestCommand contains --run-ray, with retries and a 2700-second timeout.
Enable and check the Nemotron-H test
tests/unittest/_torch/ray_orchestrator/multi_gpu/test_llm_update_weights_multi_gpu.py, tests/integration/test_lists/waives.txt
The waiver entry is removed. The test reports extension import errors with a build command and asserts that the Nemotron-H Mamba fast path is available.

Priority: ➖ Normal

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

Change: Bug fix

Sequence Diagram(s)

sequenceDiagram
  participant Jenkins as Jenkins Ray or Slurm setup
  participant Installer as install_mamba.sh
  participant Sources as Source archives
  participant Pip
  participant Check as Python verification
  participant Test as Nemotron-H test
  Jenkins->>Installer: Run when Ray setup is enabled
  Installer->>Sources: Download pinned causal-conv1d and Mamba sources
  Installer->>Pip: Build and install both packages
  Installer->>Check: Import packages and Qwen model class
  Check-->>Installer: Print version information
  Jenkins->>Test: Run the unwaived weight-update test
  Test->>Test: Check Mamba fast-path availability
Loading
Merge Risk: ⚪ Minimal · up to 9a745

The Nemotron-H test can run in the supported Ray stage with its required extensions installed first. No issue identified here needs to block merging.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Description check Warning The description states the main objective, but the required Test Coverage section is empty. The checklist items are not individually reviewed, and the description does not explain the added Mamba inst… Add the relevant test name and execution command, explain the Mamba and causal-conv1d installation changes, and review or mark each applicable checklist item.
Docstring Coverage Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 3 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title identifies the NVBugs ticket, change type, target release, and restored Nemotron-H weight-update test. It is directly related to the pull request changes, although “covergence” is misspelled…
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: Title check

Explanation

The title identifies the NVBugs ticket, change type, target release, and restored Nemotron-H weight-update test. It is directly related to the pull request changes, although “covergence” is misspelled.

Full details: Description check

Explanation

The description states the main objective, but the required Test Coverage section is empty. The checklist items are not individually reviewed, and the description does not explain the added Mamba installation or provide a test command.

Resolution

Add the relevant test name and execution command, explain the Mamba and causal-conv1d installation changes, and review or mark each applicable checklist item.

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

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

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79785 [ run ] triggered by Bot. Commit: a74101d Link to invocation

@shikicloud shikicloud changed the title [https://nvbugs/6729495][fix] Restore Nemotron-H weight-update covergence test [https://nvbugs/6729495][fix] Cherry-pick #19600 to release/1.3: Restore Nemotron-H weight-update covergence test Oct 22, 2026
@shikicloud
shikicloud force-pushed the fix/release-1.3-nvbug-6729495 branch from a74101d to 9a745d5 Compare October 22, 2026 05:24
@shikicloud

Copy link
Copy Markdown
Collaborator Author

/bot run --extra-stage "DGX_B200-4_GPUs-PyTorch-Ray-1"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79800 [ run ] triggered by Bot. Commit: 9a745d5 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79785 [ run ] completed with state ABORTED. Commit: a74101d

Link to invocation

@shikicloud

Copy link
Copy Markdown
Collaborator Author

/bot run --extra-stage "DGX_B200-4_GPUs-PyTorch-Ray-1"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79807 [ run ] triggered by Bot. Commit: 9a745d5 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79800 [ run ] completed with state ABORTED. Commit: 9a745d5

Link to invocation

@yiqingy0 yiqingy0 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.

Approve for infra part with a comment.

Comment thread jenkins/scripts/slurm_install.sh Resolved
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79858 [ run ] triggered by Bot. Commit: 9a745d5 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79807 [ run ] completed with state ABORTED. Commit: 9a745d5

Link to invocation

@github-actions

Copy link
Copy Markdown

Automatically added "ci: full pre-merge approved" because this PR has satisfied the required GitHub review approvals. Unresolved review conversations and other required checks remain independent merge requirements.

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79858 [ run ] completed with state FAILURE. Commit: 9a745d5
/LLM/release-1.3/L0_MergeRequest_PR pipeline #501 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

@shikicloud

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79887 [ run ] triggered by Bot. Commit: 9a745d5 Link to invocation

@shuyixiong
shuyixiong enabled auto-merge (squash) October 22, 2026 15:01
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79887 [ run ] completed with state SUCCESS. Commit: 9a745d5
/LLM/release-1.3/L0_MergeRequest_PR pipeline #502 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

@shikicloud

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79993 [ run ] triggered by Bot. Commit: 9a745d5 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #79993 [ run ] completed with state FAILURE. Commit: 9a745d5
/LLM/release-1.3/L0_MergeRequest_PR pipeline #515 completed with status: 'UNSTABLE'

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

Link to invocation

@shikicloud

Copy link
Copy Markdown
Collaborator Author

/bot run

@github-actions

Copy link
Copy Markdown

👎 Promotion blocked, new vulnerability found

Vulnerability report

Component Vulnerability Description Severity
PillowPython CVE-2026-96643 Pillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with the six-byte Exif header. src/PIL/PngImagePlugin.py accepts an uncapped PNG eXIf chunk, so a file filled with repeated headers causes a new shrinking copy on every iteration and quadratic CPU work. The condition is reachable through Image.getexif(), Image._getexif(), and ImageOps.exif_transpose(), including common photo-upload rotation workflows. This issue is fixed in version 13.0.0. HIGH
PillowPython CVE-2026-96644 Pillow is a Python imaging library. Prior to 13.0.0 on Windows, src/PIL/WmfImagePlugin.py passes unchecked 32-bit WMF or EMF dimensions to the native drawwmf handler in src/display.c. The handler sizes a DIB allocation from 16-bit-truncated bcWidth and bcHeight fields but copies pixel data using the original full dimensions. A crafted wide, short metafile can pass the pixel-count decompression-bomb check and make the Windows-only renderer read beyond the heap buffer, potentially disclosing memory or crashing the process. This issue is fixed in version 13.0.0. HIGH
PillowPython CVE-2026-96778 Pillow is a Python imaging library. From 9.4.0 until 13.0.0, ImagingJpegEncode() in src/libImaging/JpegEncode.c can call jpeg_write_marker() for a JPEG COM comment when an ICC profile has exactly filled the 65536-byte encoder buffer. libjpeg writes one byte before checking the exhausted free_in_buffer counter, which then wraps and permits the attacker-controlled comment and subsequent compressed image data to overwrite adjacent heap memory. Re-saving an untrusted image as JPEG while preserving its ICC profile and forwarded comment can crash the process and may enable code execution in suitable runtime and heap layouts. This issue is fixed in version 13.0.0. HIGH

@shikicloud

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #80125 [ run ] triggered by Bot. Commit: 9a745d5 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #80125 [ run ] completed with state SUCCESS. Commit: 9a745d5
/LLM/release-1.3/L0_MergeRequest_PR pipeline #527 completed with status: 'SUCCESS'

CI Report

Link to invocation

@shuyixiong
shuyixiong merged commit a26483a into NVIDIA:release/1.3 Oct 23, 2026
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.

8 participants