Skip to content

Conversation

@yibinl-nvidia
Copy link
Collaborator

@yibinl-nvidia yibinl-nvidia commented Dec 1, 2025

Summary by CodeRabbit

  • Documentation

    • Added comprehensive architecture diagram documenting system components and data flows.
  • Chores

    • Updated PR checklist to include architecture diagram maintenance reminder.
    • Updated code ownership and approval requirements for specific repository files and release branches.

✏️ 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: Yibin Li <109242046+yibinl-nvidia@users.noreply.github.com>
@yibinl-nvidia yibinl-nvidia requested a review from a team as a code owner December 1, 2025 18:39
@yibinl-nvidia yibinl-nvidia self-assigned this Dec 1, 2025
@yibinl-nvidia yibinl-nvidia changed the title [None][chore] Design diagram review process change (#8748) [None][chore][cherry-pick] Design diagram review process change (#8748) Dec 1, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 1, 2025

📝 Walkthrough

Walkthrough

Added a new TAVA architecture diagram file with corresponding governance and process updates. The CODEOWNERS file assigns ownership of the diagram to the design team and designates a release branch approval team. The PR template now includes a reminder to update the architecture diagram.

Changes

Cohort / File(s) Summary
Administrative & Process Setup
.github/CODEOWNERS, .github/pull_request_template.md
Added CODEOWNERS entry for TAVA architecture diagram assignment and global release branch approval rule. Updated PR template checklist to include reminder for updating TAVA architecture diagram.
Architecture Documentation
.github/tava_architecture_diagram.md
Introduced new Mermaid diagram illustrating TAVA architecture with subgraphs for User API & CLI Tools, Model Checkpoint, TensorRT Flow, PyTorch Flow, Shared Components, and Output Results. Defines node types, inter-subgraph connections, styling, and component relationships including Huggingface models, trtllmExecutor, TensorRT Engine/Graph/Plugins, PyExecutor, and KV Cache.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • CODEOWNERS entries are straightforward ownership rules with minimal impact
  • PR template change is a single-line addition to an existing checklist
  • Architecture diagram visualization should be validated for structural accuracy and component labeling correctness

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is mostly blank, containing only the template with no actual description, test coverage, or meaningful checklist confirmations provided by the author. Fill in the Description, Test Coverage sections, and provide a meaningful explanation of the changes and their rationale.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title clearly indicates this is a chore-type change related to design diagram review process, reflecting the CODEOWNERS and architecture diagram updates in the changeset.
✨ 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.

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

🧹 Nitpick comments (2)
.github/pull_request_template.md (1)

52-52: Optional: capitalize “TAVA” for consistency

Consider changing to Update [TAVA architecture diagram] ... so the acronym matches other usages (e.g., team name, diagram section header).

.github/tava_architecture_diagram.md (1)

36-50: Minor cleanup: typo, duplicate node label, and unused API nodes

A few small polish items in the diagram:

  • Line 97: %% Shared Componnet format – typo in “Componnet”.
  • PyEngine is declared as PyEngine[PyTorch Engine] and then re-declared in PyExecutor --> PyEngine[PyTorch Engine]; you can reference PyEngine without relabeling to avoid duplication.
  • class PythonAPI,CppAPI,LLMAPI api; styles PythonAPI and CppAPI, but those nodes are never defined in the graph.

Suggested minimal diff:

-        PyEngine[PyTorch Engine]
+        PyEngine[PyTorch Engine]
@@
-        PyExecutor --> PyEngine[PyTorch Engine]
+        PyExecutor --> PyEngine
@@
-    %% Shared Componnet format
+    %% Shared Component format
@@
-    class PythonAPI,CppAPI,LLMAPI api;
+    class LLMAPI api;

These don’t affect behavior but keep the diagram cleaner and easier to maintain.

Also applies to: 97-107

📜 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 ec223a1 and fbd2624.

📒 Files selected for processing (3)
  • .github/CODEOWNERS (1 hunks)
  • .github/pull_request_template.md (1 hunks)
  • .github/tava_architecture_diagram.md (1 hunks)
🧰 Additional context used
🧠 Learnings (11)
📓 Common learnings
Learnt from: venkywonka
Repo: NVIDIA/TensorRT-LLM PR: 6029
File: .github/pull_request_template.md:45-53
Timestamp: 2025-08-27T17:50:13.264Z
Learning: For PR templates in TensorRT-LLM, avoid suggesting changes that would increase developer overhead, such as converting plain bullets to mandatory checkboxes. The team prefers guidance-style bullets that don't require explicit interaction to reduce friction in the PR creation process.
📚 Learning: 2025-08-27T17:50:13.264Z
Learnt from: venkywonka
Repo: NVIDIA/TensorRT-LLM PR: 6029
File: .github/pull_request_template.md:45-53
Timestamp: 2025-08-27T17:50:13.264Z
Learning: For PR templates in TensorRT-LLM, avoid suggesting changes that would increase developer overhead, such as converting plain bullets to mandatory checkboxes. The team prefers guidance-style bullets that don't require explicit interaction to reduce friction in the PR creation process.

Applied to files:

  • .github/pull_request_template.md
  • .github/CODEOWNERS
📚 Learning: 2025-09-09T18:31:44.336Z
Learnt from: venkywonka
Repo: NVIDIA/TensorRT-LLM PR: 7658
File: .github/CODEOWNERS:160-164
Timestamp: 2025-09-09T18:31:44.336Z
Learning: The teams NVIDIA/trt-llm-release-nim-branch-approval and NVIDIA/trt-llm-release-branch-approval exist in the NVIDIA organization and are valid for use in .github/CODEOWNERS files, even if they may not be accessible via external API queries due to permissions.

Applied to files:

  • .github/pull_request_template.md
  • .github/CODEOWNERS
📚 Learning: 2025-09-09T18:31:44.336Z
Learnt from: venkywonka
Repo: NVIDIA/TensorRT-LLM PR: 7658
File: .github/CODEOWNERS:160-164
Timestamp: 2025-09-09T18:31:44.336Z
Learning: The ruleset for `release/**` branch patterns in the NVIDIA/TensorRT-LLM repository covers NIM-specific release branches like `release/1.0.1-NIM`, ensuring proper code ownership enforcement.

Applied to files:

  • .github/pull_request_template.md
  • .github/CODEOWNERS
📚 Learning: 2025-08-21T00:16:56.457Z
Learnt from: farshadghodsian
Repo: NVIDIA/TensorRT-LLM PR: 7101
File: docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md:36-36
Timestamp: 2025-08-21T00:16:56.457Z
Learning: TensorRT-LLM container release tags in documentation should only reference published NGC container images. The README badge version may be ahead of the actual published container versions.

Applied to files:

  • .github/pull_request_template.md
  • .github/CODEOWNERS
📚 Learning: 2025-08-11T20:09:24.389Z
Learnt from: achartier
Repo: NVIDIA/TensorRT-LLM PR: 6763
File: tests/integration/defs/triton_server/conftest.py:16-22
Timestamp: 2025-08-11T20:09:24.389Z
Learning: In the TensorRT-LLM test infrastructure, the team prefers simple, direct solutions (like hard-coding directory traversal counts) over more complex but robust approaches when dealing with stable directory structures. They accept the maintenance cost of updating tests if the layout changes.

Applied to files:

  • .github/CODEOWNERS
📚 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:

  • .github/CODEOWNERS
📚 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:

  • .github/CODEOWNERS
  • .github/tava_architecture_diagram.md
📚 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:

  • .github/CODEOWNERS
📚 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:

  • .github/CODEOWNERS
📚 Learning: 2025-11-24T17:09:17.870Z
Learnt from: CR
Repo: NVIDIA/TensorRT-LLM PR: 0
File: CODING_GUIDELINES.md:0-0
Timestamp: 2025-11-24T17:09:17.870Z
Learning: Applies to **/*.h : Use a preprocessor guard in C++ header files with the guard name format `TRTLLM_` followed by the filename in all caps (e.g., `TRTLLM_FOO_BAR_HELLO_H` for file `FooBarHello.h`); do not include directory names in the symbol

Applied to files:

  • .github/CODEOWNERS
⏰ 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 (1)
.github/CODEOWNERS (1)

162-164: TAVA diagram ownership entry looks good

Specific ownership for .github/tava_architecture_diagram.md via @NVIDIA/trt-llm-TAVA-design-change is clear and aligns with the new process. No changes needed.

@yibinl-nvidia yibinl-nvidia changed the title [None][chore][cherry-pick] Design diagram review process change (#8748) [None][chore] cherry-pick: Design diagram review process change (#8748) Dec 1, 2025
@tburt-nv
Copy link
Collaborator

tburt-nv commented Dec 1, 2025

/bot skip --comment "doc only change"

@tensorrt-cicd
Copy link
Collaborator

PR_Github #26460 [ skip ] triggered by Bot. Commit: fbd2624

@tensorrt-cicd
Copy link
Collaborator

PR_Github #26460 [ skip ] completed with state SUCCESS. Commit: fbd2624
Skipping testing for commit fbd2624

@tensorrt-cicd
Copy link
Collaborator

PR_Github #26488 [ run ] triggered by Bot. Commit: fbd2624

@chzblych
Copy link
Collaborator

chzblych commented Dec 2, 2025

/bot skip --comment "doc only change"

@tensorrt-cicd
Copy link
Collaborator

PR_Github #26520 [ skip ] triggered by Bot. Commit: fbd2624

@tensorrt-cicd
Copy link
Collaborator

PR_Github #26488 [ run ] completed with state ABORTED. Commit: fbd2624
LLM/release-1.1/L0_MergeRequest_PR #550 (Blue Ocean) completed with status: ABORTED

@tensorrt-cicd
Copy link
Collaborator

PR_Github #26520 [ skip ] completed with state SUCCESS. Commit: fbd2624
Skipping testing for commit fbd2624

@yibinl-nvidia yibinl-nvidia merged commit 307afac into NVIDIA:release/1.1 Dec 2, 2025
7 of 13 checks passed
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.

4 participants