KEMBAR78
[TRTLLM-7399][test] Add DS-R1/Qwen3 test cases for RTX 6000 by pamelap-nvidia · Pull Request #7662 · NVIDIA/TensorRT-LLM · GitHub
Skip to content

Conversation

@pamelap-nvidia
Copy link
Collaborator

@pamelap-nvidia pamelap-nvidia commented Sep 10, 2025

Summary by CodeRabbit

  • Tests
    • Expanded coverage for Qwen3-30B variants (FP8 and NVFP4), adding new latency/accuracy scenarios with CUTLASS MoE backends.
    • Introduced multi-node/multi-GPU permutations and memory-based skip thresholds for more reliable runs.
    • Updated the test matrix for RTX Pro 6000 environments with additional entries, estimated runtimes, and gating notes.
    • Preserved existing cases while adding torch compile on/off variants to broaden performance validation.

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.

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

@pamelap-nvidia pamelap-nvidia force-pushed the 6kd_tests branch 2 times, most recently from 7b148ca to ecec382 Compare September 10, 2025 03:17
@pamelap-nvidia
Copy link
Collaborator Author

/bot run --stage-list "RTXPro6000-PyTorch-Post-Merge-1, RTXPro6000-4_GPUs-PyTorch-Post-Merge-1, RTXPro6000-4_GPUs-PyTorch-Post-Merge-2, RTXPro6000-8_GPUs-PyTorch-Post-Merge-1"

@tensorrt-cicd
Copy link
Collaborator

PR_Github #18296 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #18296 [ run ] completed with state FAILURE
/LLM/main/L0_MergeRequest_PR pipeline #13717 (Partly Tested) completed with status: 'FAILURE'

@pamelap-nvidia
Copy link
Collaborator Author

/bot run --stage-list "RTXPro6000-PyTorch-Post-Merge-1, RTXPro6000-4_GPUs-PyTorch-Post-Merge-1, RTXPro6000-4_GPUs-PyTorch-Post-Merge-2" --disable-fail-fast

@pamelap-nvidia
Copy link
Collaborator Author

/bot run --stage-list "RTXPro6000-PyTorch-Post-Merge-1, RTXPro6000-4_GPUs-PyTorch-Post-Merge-1, RTXPro6000-4_GPUs-PyTorch-Post-Merge-2" --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #19705 [ run ] triggered by Bot

@pamelap-nvidia pamelap-nvidia changed the title 6kd tests [TRTLLM-7399] Add test cases for RTX 6000 Sep 24, 2025
@tensorrt-cicd
Copy link
Collaborator

PR_Github #19705 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #14832 (Partly Tested) completed with status: 'SUCCESS'

@pamelap-nvidia pamelap-nvidia changed the title [TRTLLM-7399] Add test cases for RTX 6000 [TRTLLM-7399][test] Add test cases for RTX 6000 Sep 24, 2025
@pamelap-nvidia pamelap-nvidia changed the title [TRTLLM-7399][test] Add test cases for RTX 6000 [TRTLLM-7399][test] Add DS-R1/Qwen3 test cases for RTX 6000 Sep 24, 2025
@pamelap-nvidia pamelap-nvidia marked this pull request as ready for review September 24, 2025 02:13
@pamelap-nvidia
Copy link
Collaborator Author

@EmmaQiaoCh PTAL. Tests passed in /LLM/main/L0_MergeRequest_PR pipeline #14832 (Partly Tested). Each stage takes additional ~25min for the added cases.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 24, 2025

📝 Walkthrough

Walkthrough

Adds new parameterized test cases for CUTLASS MOE backends in PyTorch accuracy tests, expands multi-node quickstart E2E tests with Qwen3-30B-A3B fp8/nvfp4 variants, and updates the RTX Pro 6000 test list YAML to include corresponding single-/multi-GPU test entries and comments for selectively skipped tests.

Changes

Cohort / File(s) Summary of changes
PyTorch accuracy MOE variants
tests/integration/defs/accuracy/test_llm_api_pytorch.py
Added two parameterized cases to test_nvfp4_4gpus introducing CUTLASS MOE backends (latency_moe_cutlass, latency_moe_cutlass_eagle3); existing cases retained.
E2E multi-node Qwen3-30B additions
tests/integration/defs/test_e2e.py
Expanded param set for test_ptp_quickstart_advanced_llama_multi_nodes with Qwen3-30B-A3B fp8/nvfp4 HF models and memory-based skip marks (40000, 20000).
Test list updates for RTX Pro 6000
tests/integration/test_lists/test-db/l0_rtx_pro_6000.yml
Added new E2E and accuracy entries for Qwen3-30B, including MOE latency and torch_compile variants; adjusted sections/comments for single- and 4-GPU scopes; preserved existing entries and noted some disabled tests.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Pre-merge checks and finishing touches

❌ Failed checks (2 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 PR body contains the repository template but is missing required content: there is no PR title following the template and both the Description and Test Coverage sections are blank. The raw changes add Qwen3/DS-R1 test cases and update test lists across three test files, but those changes and their rationale are not described or justified in the PR body. The included bot-help text and checklist do not replace the required descriptive and test-coverage information. Please update the PR to include a title that follows the repository template (e.g., [TRTLLM-7399][test] Add DS-R1/Qwen3 test cases for RTX 6000), fill the Description with a concise summary of the changes and rationale, and populate Test Coverage with the exact tests and CI stages that validate the changes; also confirm checklist items such as license scan, CODEOWNERS, and documentation. Attach links or notes for the CI runs you referenced and re-run the pipeline if needed. After updating, request reviewers or ownership changes as appropriate.
✅ Passed checks (1 passed)
Check name Status Explanation
Title Check ✅ Passed The title "[TRTLLM-7399][test] Add DS-R1/Qwen3 test cases for RTX 6000" includes a valid JIRA ticket and the [test] type, and it succinctly describes the primary change: adding Qwen3/DS‑R1 test cases for the RTX 6000 test matrix. This matches the changes in the diff which add Qwen3-related parameterized tests and update the RTX 6000 test list. The title is concise, specific, and appropriate for a teammate scanning the project history.
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


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.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 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 9f1d9b7 and e107b93.

📒 Files selected for processing (3)
  • tests/integration/defs/accuracy/test_llm_api_pytorch.py (1 hunks)
  • tests/integration/defs/test_e2e.py (1 hunks)
  • tests/integration/test_lists/test-db/l0_rtx_pro_6000.yml (2 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{h,hpp,hh,hxx,cpp,cxx,cc,cu,cuh,py}

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

Use only spaces, no tabs; indent with 4 spaces.

Files:

  • tests/integration/defs/accuracy/test_llm_api_pytorch.py
  • tests/integration/defs/test_e2e.py
**/*.py

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

**/*.py: Python code must target Python 3.8+.
Indent Python code with 4 spaces; do not use tabs.
Maintain module namespace when importing; prefer 'from package.subpackage import foo' then 'foo.SomeClass()' instead of importing the class directly.
Python filenames should be snake_case (e.g., some_file.py).
Python classes use PascalCase names.
Functions and methods use snake_case names.
Local variables use snake_case; prefix 'k' for variables that start with a number (e.g., k_99th_percentile).
Global variables use upper SNAKE_CASE prefixed with 'G' (e.g., G_MY_GLOBAL).
Constants use upper SNAKE_CASE (e.g., MY_CONSTANT).
Avoid shadowing variables from an outer scope.
Initialize all externally visible members of a class in the constructor.
Prefer docstrings for interfaces that may be used outside a file; comments for in-function or file-local interfaces.
Use Google-style docstrings for classes and functions (Sphinx-parsable).
Document attributes and variables inline so they render under the class/function docstring.
Avoid reflection when a simpler, explicit approach suffices (e.g., avoid dict(**locals()) patterns).
In try/except, catch the most specific exceptions possible.
For duck-typing try/except, keep the try body minimal and use else for the main logic.

Files:

  • tests/integration/defs/accuracy/test_llm_api_pytorch.py
  • tests/integration/defs/test_e2e.py
**/*.{cpp,cxx,cc,h,hpp,hh,hxx,cu,cuh,py}

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

Prepend the NVIDIA Apache-2.0 copyright header with current year to the top of all source files (e.g., .cpp, .h, .cu, .py).

Files:

  • tests/integration/defs/accuracy/test_llm_api_pytorch.py
  • tests/integration/defs/test_e2e.py
🧠 Learnings (2)
📚 Learning: 2025-09-09T09:40:45.658Z
Learnt from: fredricz-20070104
PR: NVIDIA/TensorRT-LLM#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_rtx_pro_6000.yml
📚 Learning: 2025-08-26T09:49:04.956Z
Learnt from: pengbowang-nv
PR: NVIDIA/TensorRT-LLM#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:

  • tests/integration/test_lists/test-db/l0_rtx_pro_6000.yml
🔇 Additional comments (3)
tests/integration/defs/accuracy/test_llm_api_pytorch.py (1)

2983-2993: LGTM: added CUTLASS 4‑GPU variants with matching IDs

The two new CUTLASS/eagle3 parameter sets and their IDs align correctly with the param list. No issues spotted.

tests/integration/test_lists/test-db/l0_rtx_pro_6000.yml (2)

33-38: LGTM — test IDs verified

pytest.param entries for Qwen3-30B-A3B_fp8_hf and Qwen3-30B-A3B_nvfp4_hf exist in tests/integration/defs/test_e2e.py (lines 1839–1843).


90-101: LGTM: 4‑GPU accuracy entries consistent with parametrized IDs

Verified the IDs "latency_moe_cutlass", "dep4_latency_moe_cutlass" and "tep4_latency_moe_cutlass" are defined in tests/integration/defs/accuracy/test_llm_api_pytorch.py, so the l0_rtx_pro_6000.yml entries are correct.

@pamelap-nvidia
Copy link
Collaborator Author

/bot skip --comment "test covered in the partial test"

@tensorrt-cicd
Copy link
Collaborator

PR_Github #19742 [ skip ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #19742 [ skip ] completed with state SUCCESS
Release Check Pipeline #2062 failed

Signed-off-by: Pamela <179191831+pamelap-nvidia@users.noreply.github.com>
Signed-off-by: Pamela <179191831+pamelap-nvidia@users.noreply.github.com>
Signed-off-by: Pamela <179191831+pamelap-nvidia@users.noreply.github.com>
Signed-off-by: Pamela <179191831+pamelap-nvidia@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Pamela Peng <179191831+pamelap-nvidia@users.noreply.github.com>
@pamelap-nvidia
Copy link
Collaborator Author

/bot skip --comment "test covered in the partial test"

@tensorrt-cicd
Copy link
Collaborator

PR_Github #19818 [ skip ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #19818 [ skip ] completed with state SUCCESS
Skipping testing for commit 222be8a

@pamelap-nvidia pamelap-nvidia merged commit b1dc84b into NVIDIA:main Sep 24, 2025
5 checks passed
@pamelap-nvidia pamelap-nvidia deleted the 6kd_tests branch September 24, 2025 15:40
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.

3 participants