Skip to content

Conversation

@JennyLiu-nv
Copy link
Collaborator

@JennyLiu-nv JennyLiu-nv commented Jan 7, 2026

Add DGX-Spark Perf QA test cases for single node

  • Added LLM models including GPT-OSS, Llama-3.1/3.3, Qwen3, Phi-4, DeepSeek-R1, Nemotron, and Mixtral variants
  • Added VLM models phi_4_multimodal_instruct bf16/fp8/fp4

Summary by CodeRabbit

  • New Features
    • Added support for additional AI models including Qwen3 (8B, 14B, 32B variants in multiple precisions), Phi-4 multimodal and reasoning models, DeepSeek-R1 Distill Llama 70B, and NVIDIA Nemotron Nano 9B v2 across local and HuggingFace repositories.

✏️ Tip: You can customize this high-level summary in your review settings.

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.

Signed-off-by: Jenny Liu <JennyLiu-nv+JennyLiu@users.noreply.github.com>
@JennyLiu-nv
Copy link
Collaborator Author

/bot run

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 7, 2026

📝 Walkthrough

Walkthrough

Added model path mappings for multiple new models (Qwen3, Phi-4, DeepSeek, NVIDIA Nemotron) to configuration dictionaries. Removed existing test entries from performance test list. Introduced new integration test configuration file with hardware-specific constraints targeting PyTorch-based performance testing.

Changes

Cohort / File(s) Summary
Model path configuration
tests/integration/defs/perf/test_perf.py
Added 17 new entries to MODEL_PATH_DICT and 14 corresponding entries to HF_MODEL_PATH for Qwen3, Phi-4, DeepSeek, and NVIDIA Nemotron model variants with different quantization formats (FP4, FP8, A3B).
Test data modifications
tests/integration/test_lists/qa/llm_digits_perf.txt
Removed multiple performance test entries covering various model configurations (Llama v3.1/v3.3, Mixtral, Mistral Nemo, DeepSeek) across different precision levels and input/output length combinations.
Test configuration
tests/integration/test_lists/qa/llm_digits_perf.yml
Created new integration test configuration defining a test group with hardware constraints (GPU count 1, memory 10GB+, Ubuntu OS, aarch64 CPU) and performance benchmarks for multiple models targeting PyTorch backend with fixed batch size and token lengths (2048, 128-reqs).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Description check ❓ Inconclusive The PR description provides details about added models but is incomplete; it lacks a detailed explanation of the issue/solution and test coverage information required by the template. Enhance the description with explicit sections explaining the motivation, solution, and test coverage details for the added test cases.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding DGX-Spark performance QA test cases for single node setups, which matches the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing touches
  • 📝 Generate docstrings

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.

@JennyLiu-nv JennyLiu-nv changed the title [TRTLLM-10271][test] Add DGX-Spark Perf QA test cases for single node [None][test] Add DGX-Spark Perf QA test cases for single node Jan 7, 2026
@tensorrt-cicd
Copy link
Collaborator

PR_Github #30885 [ run ] triggered by Bot. Commit: 8494583

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: 2

🤖 Fix all issues with AI agents
In @tests/integration/defs/perf/test_perf.py:
- Around line 152-153: Remove the duplicate dictionary entry "starcoder2_7b"
(the second occurrence that follows "nvidia_nemotron_nano_9b_v2_nvfp4") so the
mapping only contains a single "starcoder2_7b" key (keep the original one
defined earlier), i.e., delete the later duplicate line and run tests to ensure
no regressions.

In @tests/integration/test_lists/qa/llm_digits_perf.yml:
- Around line 14-44: The test YAML references 21 model keys that aren't defined;
add entries for each missing model to the appropriate registry so tests can
resolve them: update MODEL_PATH_DICT (in test_perf.py) or HF_MODEL_PATH if using
HF names, or append the models to _allowed_configs in allowed_configs.py with
the correct config dicts (precision/engine/tag) matching existing entries;
ensure identifiers exactly match the names in the test list (e.g.,
"gpt_oss_20b_fp4", "qwen3_8b_fp8", "phi_4_reasoning_plus_fp4", etc.) and include
valid path/value strings used elsewhere so the perf tests load rather than fail.
📜 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 b130d58 and 8494583.

📒 Files selected for processing (3)
  • tests/integration/defs/perf/test_perf.py
  • tests/integration/test_lists/qa/llm_digits_perf.txt
  • tests/integration/test_lists/qa/llm_digits_perf.yml
💤 Files with no reviewable changes (1)
  • tests/integration/test_lists/qa/llm_digits_perf.txt
🧰 Additional context used
📓 Path-based instructions (2)
**/*.py

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

**/*.py: The code developed for TensorRT-LLM should conform to Python 3.8+
Indent Python code with 4 spaces. Do not use tabs
Always maintain the namespace when importing Python modules, even if only one class or function from a module is used
Python filenames should use snake_case (e.g., some_file.py)
Python classes should use PascalCase (e.g., class SomeClass)
Python functions and methods should use snake_case (e.g., def my_awesome_function():)
Python local variables should use snake_case, with prefix k for variable names that start with a number (e.g., k_99th_percentile)
Python global variables should use upper snake_case with prefix G (e.g., G_MY_GLOBAL)
Python constants should use upper snake_case (e.g., MY_CONSTANT)
Avoid shadowing variables declared in an outer scope in Python
Initialize all externally visible members of a Python class in the constructor
For Python interfaces that may be used outside a file, prefer docstrings over comments
Use comments in Python for code within a function, or interfaces that are local to a file
Use Google-style docstrings for Python classes and functions, which can be parsed by Sphinx
Python attributes and variables can be documented inline with the format """<type>: Description"""
Avoid using reflection in Python when functionality can be easily achieved without reflection
When using try-except blocks in Python, limit the except clause to the smallest set of errors possible
When using try-except blocks in Python to handle multiple possible variable types (duck-typing), keep the body of the try as small as possible and use the else block for the main logic

Files:

  • tests/integration/defs/perf/test_perf.py
**/*.{cpp,cc,cxx,h,hpp,hxx,cu,cuh,py}

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

All TensorRT-LLM source files (.cpp, .h, .cu, .py, and other source files) should contain an NVIDIA copyright header with the year of latest meaningful modification

Files:

  • tests/integration/defs/perf/test_perf.py
🧠 Learnings (7)
📓 Common learnings
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.
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*").
📚 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:

  • tests/integration/test_lists/qa/llm_digits_perf.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/qa/llm_digits_perf.yml
📚 Learning: 2025-09-17T02:48:52.732Z
Learnt from: tongyuantongyu
Repo: NVIDIA/TensorRT-LLM PR: 7781
File: tests/integration/test_lists/waives.txt:313-313
Timestamp: 2025-09-17T02:48:52.732Z
Learning: In TensorRT-LLM, `tests/integration/test_lists/waives.txt` is specifically for waiving/skipping tests, while other test list files like those in `test-db/` and `qa/` directories are for different test execution contexts (pre-merge, post-merge, QA tests). The same test appearing in both waives.txt and execution list files is intentional - the test is part of test suites but will be skipped due to the waiver.

Applied to files:

  • tests/integration/test_lists/qa/llm_digits_perf.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/qa/llm_digits_perf.yml
📚 Learning: 2025-08-13T11:07:11.772Z
Learnt from: Funatiq
Repo: NVIDIA/TensorRT-LLM PR: 6754
File: tests/integration/test_lists/test-db/l0_a30.yml:41-47
Timestamp: 2025-08-13T11:07:11.772Z
Learning: In TensorRT-LLM test configuration files like tests/integration/test_lists/test-db/l0_a30.yml, TIMEOUT values are specified in minutes, not seconds.

Applied to files:

  • tests/integration/test_lists/qa/llm_digits_perf.yml
📚 Learning: 2025-08-06T13:58:07.506Z
Learnt from: galagam
Repo: NVIDIA/TensorRT-LLM PR: 6487
File: tests/unittest/_torch/auto_deploy/unit/singlegpu/test_ad_trtllm_bench.py:1-12
Timestamp: 2025-08-06T13:58:07.506Z
Learning: In TensorRT-LLM, test files (files under tests/ directories) do not require NVIDIA copyright headers, unlike production source code files. Test files typically start directly with imports, docstrings, or code.

Applied to files:

  • tests/integration/test_lists/qa/llm_digits_perf.yml
🪛 Ruff (0.14.10)
tests/integration/defs/perf/test_perf.py

153-153: Dictionary key literal "starcoder2_7b" repeated

Remove repeated key literal "starcoder2_7b"

(F601)

⏰ 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 (5)
tests/integration/test_lists/qa/llm_digits_perf.yml (1)

1-13: Configuration structure looks good.

The hardware constraints appropriately target single-node DGX-Spark systems with GB10 GPUs and ARM architecture, matching the PR objectives for single-node performance testing.

tests/integration/defs/perf/test_perf.py (4)

103-104: LGTM.

The new model path entry for deepseek_r1_distill_llama_70b follows the established pattern for DeepSeek models.


132-135: LGTM.

The phi_4_multimodal_instruct FP4 and FP8 variants follow the established precision variant pattern and directory structure.


154-163: LGTM.

The Qwen3 model variants follow a consistent naming pattern with appropriate precision suffixes and path structures.


164-166: No HF_MODEL_PATH entries are required for phi_4_reasoning_plus variants.

The phi_4_reasoning_plus entries in MODEL_PATH_DICT are intended as local model paths (e.g., "Phi-4/Phi-4-reasoning-plus"), not HuggingFace models. HF_MODEL_PATH entries are only needed for models available directly from HuggingFace and are distinguished by the _hf suffix (e.g., phi_4_mini_instruct_hf). The MODEL_PATH_DICT entries for phi_4_reasoning_plus variants are correct as-is.

Jenny Liu added 2 commits January 7, 2026 10:07
Signed-off-by: Jenny Liu <JennyLiu-nv+JennyLiu@users.noreply.github.com>
- Add Qwen2.5-VL-7B models (base, FP8, FP4)
- Add Gemma-3-12B models (base, FP8, FP4)
- Add Gemma-3-27B models (base, FP8, FP4)
- Add corresponding test cases to llm_digits_perf.yml

Signed-off-by: Jenny Liu <JennyLiu-nv+JennyLiu@users.noreply.github.com>
@tensorrt-cicd
Copy link
Collaborator

PR_Github #30885 [ run ] completed with state SUCCESS. Commit: 8494583
/LLM/main/L0_MergeRequest_PR pipeline #23848 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

@JennyLiu-nv
Copy link
Collaborator Author

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30944 [ run ] triggered by Bot. Commit: abfe35b

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30944 [ run ] completed with state SUCCESS. Commit: abfe35b
/LLM/main/L0_MergeRequest_PR pipeline #23906 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

@JennyLiu-nv
Copy link
Collaborator Author

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #31020 [ run ] triggered by Bot. Commit: 4102e7a

@tensorrt-cicd
Copy link
Collaborator

PR_Github #31020 [ run ] completed with state SUCCESS. Commit: 4102e7a
/LLM/main/L0_MergeRequest_PR pipeline #23967 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

@JennyLiu-nv
Copy link
Collaborator Author

Will merge the change to this PR

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