Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@QiJune
Copy link
Collaborator

@QiJune QiJune commented Nov 7, 2025

Summary by CodeRabbit

  • Chores
    • Relocated PyTorch GPU test configurations from x86 to SBSA Slurm setup
    • Updated test database entries for GPU configurations

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.

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.

@QiJune QiJune requested review from a team as code owners November 7, 2025 02:25
@QiJune
Copy link
Collaborator Author

QiJune commented Nov 7, 2025

/bot run --stage-list "GB200-4_GPUs-PyTorch-Ray-1"

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 7, 2025

📝 Walkthrough

Walkthrough

The changes relocate a Ray-based PyTorch test configuration from x86 tests to SBSA Slurm tests, remove an 8-GPU test block from the DGX B200 configuration, and restructure test condition organization in the GB200 multi-GPU configuration while preserving the test set.

Changes

Cohort / File(s) Change Summary
Test Configuration Migration
jenkins/L0_Test.groovy
Removed DGX_B200-4_GPUs-PyTorch-Ray-1 from x86TestConfigs; added GB200-4_GPUs-PyTorch-Ray-1 to SBSASlurmTestConfigs
Test List Removals
tests/integration/test_lists/test-db/l0_dgx_b200.yml
Removed nested condition block containing pre_merge/8-gpu test entries and associated multi-block test configurations
Test List Restructuring
tests/integration/test_lists/test-db/l0_gb200_multi_gpus.yml
Reorganized condition block structure; preserved test set and filtering criteria with relocated placement

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify that the removal of DGX_B200-4_GPUs-PyTorch-Ray-1 from x86 tests and its absence from other configurations is intentional
  • Confirm the new SBSA Slurm test configuration is correctly placed and properly formatted in SBSASlurmTestConfigs
  • Validate that the removed 8-GPU test block from l0_dgx_b200.yml aligns with the overall test strategy change
  • Ensure the restructured conditions in l0_gb200_multi_gpus.yml produce equivalent test coverage

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete. It contains only the template structure with all sections empty (Description, Test Coverage are blank) and lacks substantive information about the changes, rationale, and test coverage despite the PR making meaningful infrastructure modifications. Fill in the Description section explaining why the test is being moved and the Test Coverage section listing affected test configurations (l0_dgx_b200.yml, l0_gb200_multi_gpus.yml, and L0_Test.groovy).
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: moving a B200 with Ray orchestrator test stage to GB200, which aligns with the file changes that remove a DGX B200 Ray test from x86 and add a GB200 Ray test to SBSA Slurm configs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b53961e and fef50d9.

📒 Files selected for processing (3)
  • jenkins/L0_Test.groovy (1 hunks)
  • tests/integration/test_lists/test-db/l0_dgx_b200.yml (0 hunks)
  • tests/integration/test_lists/test-db/l0_gb200_multi_gpus.yml (1 hunks)
💤 Files with no reviewable changes (1)
  • tests/integration/test_lists/test-db/l0_dgx_b200.yml
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: pengbowang-nv
Repo: NVIDIA/TensorRT-LLM PR: 7192
File: tests/integration/test_lists/test-db/l0_dgx_b200.yml:56-72
Timestamp: 2025-08-26T09:49:04.956Z
Learning: In TensorRT-LLM test configuration files, the test scheduling system handles wildcard matching with special rules that prevent duplicate test execution even when the same tests appear in multiple yaml files with overlapping GPU wildcards (e.g., "*b200*" and "*gb200*").
Learnt from: nv-lschneider
Repo: NVIDIA/TensorRT-LLM PR: 7910
File: tests/unittest/_torch/multi_gpu/test_nccl_device.py:138-149
Timestamp: 2025-10-13T19:45:03.518Z
Learning: In test_nccl_device.py, the NCCL device AllReduce implementation compares the entire residual tensor on each rank, unlike the UB implementation which compares per-rank chunks. The residual chunking calculations in the test are intentionally overridden to reflect this design difference.
📚 Learning: 2025-08-26T09:49:04.956Z
Learnt from: pengbowang-nv
Repo: NVIDIA/TensorRT-LLM PR: 7192
File: tests/integration/test_lists/test-db/l0_dgx_b200.yml:56-72
Timestamp: 2025-08-26T09:49:04.956Z
Learning: In TensorRT-LLM test configuration files, the test scheduling system handles wildcard matching with special rules that prevent duplicate test execution even when the same tests appear in multiple yaml files with overlapping GPU wildcards (e.g., "*b200*" and "*gb200*").

Applied to files:

  • jenkins/L0_Test.groovy
  • tests/integration/test_lists/test-db/l0_gb200_multi_gpus.yml
📚 Learning: 2025-07-28T17:06:08.621Z
Learnt from: moraxu
Repo: NVIDIA/TensorRT-LLM PR: 6303
File: tests/integration/test_lists/qa/examples_test_list.txt:494-494
Timestamp: 2025-07-28T17:06:08.621Z
Learning: In TensorRT-LLM testing, it's common to have both CLI flow tests (test_cli_flow.py) and PyTorch API tests (test_llm_api_pytorch.py) for the same model. These serve different purposes: CLI flow tests validate the traditional command-line workflow, while PyTorch API tests validate the newer LLM API backend. Both are legitimate and should coexist.

Applied to files:

  • tests/integration/test_lists/test-db/l0_gb200_multi_gpus.yml
📚 Learning: 2025-09-09T09:40:45.658Z
Learnt from: fredricz-20070104
Repo: NVIDIA/TensorRT-LLM PR: 7645
File: tests/integration/test_lists/qa/llm_function_core.txt:648-648
Timestamp: 2025-09-09T09:40:45.658Z
Learning: In TensorRT-LLM test lists, it's common and intentional for the same test to appear in multiple test list files when they serve different purposes (e.g., llm_function_core.txt for comprehensive core functionality testing and llm_function_core_sanity.txt for quick sanity checks). This duplication allows tests to be run in different testing contexts.

Applied to files:

  • tests/integration/test_lists/test-db/l0_gb200_multi_gpus.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Pre-commit Check
🔇 Additional comments (2)
tests/integration/test_lists/test-db/l0_gb200_multi_gpus.yml (1)

43-66: LGTM! Proper separation of Ray orchestrator tests.

The new condition block correctly isolates Ray orchestrator tests from the standard test configuration. The orchestrator: ray term will be properly matched by the Jenkins pipeline's getMakoArgsFromStageName function when the stage name contains "-Ray-".

The test selection is appropriate, including Ray-specific tests (examples/test_ray.py, disaggregated tests) and relevant accuracy tests with compatible parameters.

Based on learnings

jenkins/L0_Test.groovy (1)

2719-2719: LGTM! Correct stage mapping for GB200 Ray orchestrator tests.

The new stage configuration properly maps to the Ray orchestrator condition block added in l0_gb200_multi_gpus.yml. The stage name "GB200-4_GPUs-PyTorch-Ray-1" follows the required format and will correctly trigger Ray-specific test execution via the -Ray- keyword detection in getMakoArgsFromStageName (line 1684).

Platform "gb200-trtllm" is appropriate for SBSA Slurm execution.


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.

@tensorrt-cicd
Copy link
Collaborator

PR_Github #23792 [ run ] triggered by Bot. Commit: fef50d9

@tensorrt-cicd
Copy link
Collaborator

PR_Github #23792 [ run ] completed with state SUCCESS. Commit: fef50d9
/LLM/main/L0_MergeRequest_PR pipeline #17910 (Partly Tested) completed with status: 'FAILURE'

@QiJune
Copy link
Collaborator Author

QiJune commented Nov 7, 2025

/bot run --stage-list "GB200-4_GPUs-PyTorch-Ray-1"

@tensorrt-cicd
Copy link
Collaborator

PR_Github #23812 [ run ] triggered by Bot. Commit: fef50d9

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants