TensorRT-LLM icon indicating copy to clipboard operation
TensorRT-LLM copied to clipboard

[TRTLLM-9000][feat] Add multi-node Perf Tests into CI

Open chenfeiz0326 opened this issue 1 year ago • 47 comments

Summary by CodeRabbit

  • Chores
    • Add DSR1 FP4 multinode perf cases.

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

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

  • [x] 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.

chenfeiz0326 avatar Oct 30 '25 14:10 chenfeiz0326

/bot run --stage-list "GB200-8_GPUs-2_Nodes-PyTorch-Post-Merge-1"

chenfeiz0326 avatar Oct 30 '25 14:10 chenfeiz0326

📝 Walkthrough

Walkthrough

Added two runtime logging statements to jenkins/L0_Test.groovy that print the contents of scriptContent and scriptExec variables before they are written to local and remote locations, respectively.

Changes

Cohort / File(s) Summary
Logging additions
jenkins/L0_Test.groovy
Added two runtime log statements that output scriptContent and scriptExec before writing to local and remote destinations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Pre-merge checks and finishing touches

❌ Failed checks (3 warnings)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
Description Check ⚠️ Warning The pull request description is largely incomplete and does not follow the required template structure. The PR title is a placeholder ("tmp"), the Description section is entirely empty with only the template comment remaining, the Test Coverage section contains no actual test information, and the PR Checklist items are not properly addressed despite being mostly unchecked. While the author checked one checkbox at the end, none of the critical descriptive sections have been filled out. The template clearly requires formatted sections for title, description explaining the changes, and test coverage information, all of which are absent from this submission. The author must provide a complete PR description by: filling in the PR title using the required format (e.g., [JIRA-1234][chore] Add logging to jenkins script), adding a clear explanation in the Description section of what changes are being made and why, listing the relevant tests in the Test Coverage section that validate the changes, and properly reviewing and checking the relevant items in the PR Checklist. The current submission appears to be the empty template without substantive content.
Title check ⚠️ Warning The pull request title describes adding multi-node performance tests to CI, but the actual changes only add logging statements to an existing test file with no functional behavior changes. Update the title to reflect the actual changes, such as 'Add runtime logging to L0_Test.groovy for script content debugging' or similar, which accurately describes the logging additions made.
✨ Finishing touches
  • [ ] 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • [ ] Create PR with unit tests
  • [ ] Post copyable unit tests in a comment

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.

coderabbitai[bot] avatar Oct 30 '25 14:10 coderabbitai[bot]

PR_Github #23060 [ run ] triggered by Bot. Commit: d31d4b1

tensorrt-cicd avatar Oct 30 '25 15:10 tensorrt-cicd

PR_Github #23060 [ run ] completed with state SUCCESS. Commit: d31d4b1 /LLM/main/L0_MergeRequest_PR pipeline #17387 (Partly Tested) completed with status: 'SUCCESS'

tensorrt-cicd avatar Oct 30 '25 16:10 tensorrt-cicd

/bot run --stage-list "GB200-8_GPUs-2_Nodes-PyTorch-Perf-Sanity-Post-Merge-1"

chenfeiz0326 avatar Nov 05 '25 08:11 chenfeiz0326

PR_Github #23614 [ run ] triggered by Bot. Commit: 2d9ecc1

tensorrt-cicd avatar Nov 05 '25 08:11 tensorrt-cicd

PR_Github #23614 [ run ] completed with state FAILURE. Commit: 2d9ecc1 /LLM/main/L0_MergeRequest_PR pipeline #17768 (Partly Tested) completed with status: 'FAILURE'

tensorrt-cicd avatar Nov 05 '25 08:11 tensorrt-cicd

/bot run --stage-list "GB200-8_GPUs-2_Nodes-PyTorch-Perf-Sanity-Post-Merge-1"

chenfeiz0326 avatar Nov 05 '25 10:11 chenfeiz0326

PR_Github #23637 [ run ] triggered by Bot. Commit: 6cb155c

tensorrt-cicd avatar Nov 05 '25 10:11 tensorrt-cicd

PR_Github #23637 [ run ] completed with state SUCCESS. Commit: 6cb155c /LLM/main/L0_MergeRequest_PR pipeline #17784 (Partly Tested) completed with status: 'FAILURE'

tensorrt-cicd avatar Nov 05 '25 12:11 tensorrt-cicd

/bot run --stage-list "GB200-8_GPUs-2_Nodes-PyTorch-Perf-Sanity-Post-Merge-1"

chenfeiz0326 avatar Nov 06 '25 03:11 chenfeiz0326

PR_Github #23699 [ run ] triggered by Bot. Commit: c0943af

tensorrt-cicd avatar Nov 06 '25 03:11 tensorrt-cicd

PR_Github #23699 [ run ] completed with state FAILURE. Commit: c0943af /LLM/main/L0_MergeRequest_PR pipeline #17833 (Partly Tested) completed with status: 'FAILURE'

tensorrt-cicd avatar Nov 06 '25 06:11 tensorrt-cicd

/bot run --stage-list "GB200-8_GPUs-2_Nodes-PyTorch-Perf-Sanity-Post-Merge-1"

chenfeiz0326 avatar Nov 11 '25 07:11 chenfeiz0326

/bot run --stage-list "GB200-8_GPUs-2_Nodes-PyTorch-Perf-Sanity-Post-Merge-1"

chenfeiz0326 avatar Nov 11 '25 07:11 chenfeiz0326

PR_Github #24134 [ run ] triggered by Bot. Commit: 853b08d

tensorrt-cicd avatar Nov 11 '25 07:11 tensorrt-cicd

PR_Github #24134 [ run ] completed with state FAILURE. Commit: 853b08d /LLM/main/L0_MergeRequest_PR pipeline #18195 (Partly Tested) completed with status: 'FAILURE'

tensorrt-cicd avatar Nov 11 '25 08:11 tensorrt-cicd

/bot run --stage-list "GB200-8_GPUs-2_Nodes-PyTorch-Perf-Sanity-Post-Merge-1"

chenfeiz0326 avatar Nov 11 '25 09:11 chenfeiz0326

PR_Github #24152 [ run ] triggered by Bot. Commit: 0c3d8d1

tensorrt-cicd avatar Nov 11 '25 09:11 tensorrt-cicd

/bot run --stage-list "GB200-8_GPUs-2_Nodes-PyTorch-Perf-Sanity-Post-Merge-1"

chenfeiz0326 avatar Nov 11 '25 11:11 chenfeiz0326