Skip to content

Conversation

@brb-nv
Copy link
Collaborator

@brb-nv brb-nv commented Dec 30, 2025

Description

This MR fixes poor accuracy on GSM8K accuracy benchmark when Helix CP is used along with TP on gen server.

Background:

  • When using helix parallelism, CP ranks are repurposed to TP ranks. This happens not just for the FFN part, but even for the o_proj part of attention layer.

Root cause:

  • When there's a mix of TP & HelixCP (TP=2/CP=2 for example), all ranks become TP ranks for o_proj but there's an issue in the order of these ranks because CP ranks are interleaved.
  • In above example, cp_groups are {0, 2}, {1,3} but repurposed tp_group is {0,1,2,3}. Note the difference in order of ranks highlighted in bold. So, o_proj has the wrong weights on a subset of ranks.

Fix:

  • Update the TP-CP grouping order such that when CP is present, CP ranks are consecutive while TP ranks are interleaved (with stride cp_size) before repurposing.
  • After repurposing with cp_size=1, TP ranks are sequential anyway and o_proj will receive the right weights.
  • Alternative fix considered: [TRTLLM-9465][fix] Fix accuracy issues with TP+Helix CP #9759

Test Coverage

$ pytest tests/unittest/others/test_mapping.py -s -v
$ TRTLLM_USE_UCX_KVCACHE=1 mpirun -n 8 ./tests/unit_tests/multi_gpu/cacheTransceiverTest --gtest_filter="AsymmetricCaseTest0WithCPForMLA/AsymmetricalCacheTest.TestCase/*"
$ TRTLLM_USE_UCX_KVCACHE=1 mpirun -n 8 ./tests/unit_tests/multi_gpu/cacheTransceiverTest --gtest_filter="AsymmetricCaseTest1WithCPForMLA/AsymmetricalCacheTest.TestCase/*"
$ pytest tests/integration/defs/accuracy/test_disaggregated_serving.py::TestDeepSeekV3Lite::test_auto_dtype_with_helix[nccl-cudagraph:none-pp1tp2cp2] -s -v
$ pytest tests/integration/defs/accuracy/test_disaggregated_serving.py::TestDeepSeekV3Lite::test_auto_dtype_with_helix[nccl-cudagraph:with_padding-pp1tp2cp2] -s -v
$ pytest tests/integration/defs/accuracy/test_disaggregated_serving.py::TestDeepSeekV3Lite::test_auto_dtype_with_helix[fifo-cudagraph:none-pp1tp2cp2] -s -v
$ pytest tests/integration/defs/accuracy/test_disaggregated_serving.py::TestDeepSeekV3Lite::test_auto_dtype_with_helix[fifo-cudagraph:with_padding-pp1tp2cp2] -s -v

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.

Summary by CodeRabbit

  • Bug Fixes

    • Corrected rank calculations and group mappings for proper tensor and context parallelism handling across distributed systems.
    • Fixed device mesh dimension ordering to properly reflect parallelism configuration.
  • Tests

    • Expanded disaggregated serving test coverage with multiple parallelism configuration combinations.
    • Updated test database entries and parameterization to support new parallelism testing scenarios.

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

@brb-nv brb-nv force-pushed the user/brb/alter-tp-cp-order branch from fa73294 to 5fda479 Compare December 30, 2025 20:45
@brb-nv brb-nv force-pushed the user/brb/alter-tp-cp-order branch 2 times, most recently from 98c4683 to 767f2d9 Compare December 30, 2025 22:04
@brb-nv brb-nv requested review from chuangz0 and yuxianq December 31, 2025 00:11
@brb-nv brb-nv force-pushed the user/brb/alter-tp-cp-order branch from dfd940b to d9384e8 Compare December 31, 2025 00:17
@brb-nv brb-nv marked this pull request as ready for review December 31, 2025 00:29
@brb-nv brb-nv requested review from a team as code owners December 31, 2025 00:29
@brb-nv brb-nv requested review from nv-yilinf and schetlur-nv and removed request for nv-yilinf December 31, 2025 00:29
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 31, 2025

📝 Walkthrough

Walkthrough

This PR fundamentally reworks rank decomposition and indexing across distributed tensor/context parallelism dimensions. The calculation of tp_rank and cp_rank shifts from simple modulo-based decomposition to one accounting for both TP and CP dimensions together, effectively reordering the rank indexing scheme from TP-first to CP-first layout. Changes propagate through cache formatting, GPU kernels, device mesh construction, model loading, and tests.

Changes

Cohort / File(s) Summary
Core Rank Decomposition Logic
tensorrt_llm/mapping.py
Restructured tp_rank and cp_rank computation to (rank % (tp_size * cp_size)) // cp_size and rank % cp_size respectively. Updated prev_cp_rank/next_cp_rank with simplified wraparound logic. Reworked cp_groups and tp_groups initialization using consecutive/interleaved ranges. Updated pp_group indexing formula.
C++ Cache Formatting
cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp, cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
Changed selfTpRank calculation from selfIdx % tp_size to (selfIdx % (tp_size * cp_size)) // cp_size to account for context parallelism in rank mapping.
CUDA Cache Operations
cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu
Reordered rank derivation: compute selfCpRank first, then selfTpRank = (selfRank % (selfTpNum * selfCpNum)) / selfCpNum. Updated loop iteration bounds and IRank formula to use CP-first indexing: (k * peerTPNum * peerCPNum) + (j * peerCPNum) + i.
Device Mesh Construction
tensorrt_llm/_torch/device_mesh.py
Reordered mesh dimensions from [cp_size, pp_size, ...] to [pp_size, tp_size, cp_size, ...] with updated shape calculation. Adjusted MOE dimension handling when moe_ep_size <= 1.
Model Loading
tensorrt_llm/models/modeling_utils.py
Updated rank remapping formula in from_checkpoint from rank % tp_size + (rank // (tp_size * cp_size)) * tp_size to (rank % (tp_size * cp_size)) // cp_size + (rank // (tp_size * cp_size)) * tp_size with comment adjustment.
Unit Tests
tests/unittest/others/test_mapping.py
Updated expected values for tp_group, cp_group, prev_cp_rank, and next_cp_rank to match new rank decomposition and grouping logic.
Integration Test Logic
tests/integration/defs/accuracy/test_disaggregated_serving.py
Parameterized test_auto_dtype_with_helix with gen_pp, gen_tp, gen_cp arguments. Increased device requirement from 4 to 8. Updated server config to use new parameters and compute gen_ep = gen_tp * gen_cp.
Integration Test Configurations
tests/integration/test_lists/qa/llm_function_core.txt, tests/integration/test_lists/test-db/l0_dgx_b200.yml, tests/integration/test_lists/test-db/l0_gb200_multi_gpus.yml
Updated test identifiers and configurations to reflect new CP/TP parameterization variants. Added new test entries for helix with different CUDA graph configurations; removed entries from gb200 pre/post merge lists.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

  • #6816 — Modifies mapping logic for rank decomposition and parallel group generation (tp_rank/cp_rank, group construction), directly related to rank indexing scheme changes.

Suggested reviewers

  • achartier
  • tomeras91

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 5.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title '[TRTLLM-9465][fix] Swap TP-CP grouping order' accurately summarizes the main change in the PR, which is reordering tensor parallel and context parallel grouping to fix accuracy issues.
Description check ✅ Passed The PR description clearly explains the background, root cause, and fix for the GSM8K accuracy issue with Helix CP and TP, with detailed test coverage provided.
✨ 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.

@brb-nv brb-nv force-pushed the user/brb/alter-tp-cp-order branch from af69ed7 to 464ee46 Compare December 31, 2025 00:32
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: 0

🧹 Nitpick comments (3)
cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp (1)

63-96: TP rank decomposition now consistent with TP×CP layout

Computing selfTpRank as (selfIdx % (tensorParallelism * selfCpSize)) / selfCpSize correctly recovers the TP index from a pp * (tp * cp) + tp * cp + cp rank layout and fixes the previous CP‑agnostic interpretation. Behavior is unchanged for CP=1 and correct for CP>1.

You might optionally mark selfCpSize/selfTpRank as const int for clarity, but that’s not required.

cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp (1)

157-168: CP‑aware TP rank fixes duplicate‑head routing with CP>1

Using selfTpRank = (selfIdx % (tensorParallelism * selfCpSize)) / selfCpSize makes the TP rank computation consistent with the new TP×CP rank layout, so the duplicate‑head factor and DP‑group arithmetic behave correctly when CP is enabled. This aligns with the MLA path and mapping changes.

As above, you could mark selfCpSize/selfTpRank as const int for readability if you like.

tests/integration/defs/accuracy/test_disaggregated_serving.py (1)

915-915: Consider removing commented debug code.

The commented print_iter_log lines (Lines 915, 934) appear to be debug artifacts. Consider removing them to keep the test code clean.

🔎 Proposed cleanup
             "cache_transceiver_config": {
                 "backend": "UCX"
             },
-            # "print_iter_log": True,
         }
         gen_server_config = {
...
             "cache_transceiver_config": {
                 "backend": "UCX"
             },
-            # "print_iter_log": True,
         }

Also applies to: 934-934

📜 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 74832a1 and 464ee46.

📒 Files selected for processing (11)
  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
  • cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu
  • tensorrt_llm/_torch/device_mesh.py
  • tensorrt_llm/mapping.py
  • tensorrt_llm/models/modeling_utils.py
  • tests/integration/defs/accuracy/test_disaggregated_serving.py
  • tests/integration/test_lists/qa/llm_function_core.txt
  • tests/integration/test_lists/test-db/l0_dgx_b200.yml
  • tests/integration/test_lists/test-db/l0_gb200_multi_gpus.yml
  • tests/unittest/others/test_mapping.py
💤 Files with no reviewable changes (1)
  • tests/integration/test_lists/test-db/l0_gb200_multi_gpus.yml
🧰 Additional context used
📓 Path-based instructions (3)
**/*.py

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

**/*.py: 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 in Python, even if only one class or function from a module is used
Python files should use snake_case naming: some_file.py
Python classes should use PascalCase naming: class SomeClass
Python functions and methods should use snake_case naming: def my_awesome_function():
Python local variables should use snake_case naming: my_variable = ...
Python variable names that start with a number should be prefixed with 'k': k_99th_percentile = ...
Python global variables should use upper snake_case with prefix 'G': G_MY_GLOBAL = ...
Python constants should use upper snake_case naming: 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
Python comments should be reserved for code within a function, or interfaces that are local to a file
Use Google style docstrings in Python for classes and functions, which can be parsed by Sphinx
Python attributes and variables can be documented inline with type and description
Avoid using reflection in Python when functionality can be easily achieved without reflection
When using try-except blocks in Python, limit the except 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, using the else block for logic

Files:

  • tensorrt_llm/_torch/device_mesh.py
  • tensorrt_llm/models/modeling_utils.py
  • tests/unittest/others/test_mapping.py
  • tensorrt_llm/mapping.py
  • tests/integration/defs/accuracy/test_disaggregated_serving.py
**/*.{cpp,h,cu,cuh,py}

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

All TensorRT-LLM Open Source Software code should contain an NVIDIA copyright header that includes the year of its latest meaningful modification

Files:

  • tensorrt_llm/_torch/device_mesh.py
  • cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu
  • tensorrt_llm/models/modeling_utils.py
  • tests/unittest/others/test_mapping.py
  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
  • tensorrt_llm/mapping.py
  • tests/integration/defs/accuracy/test_disaggregated_serving.py
**/*.{cpp,h,cu,cuh}

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

**/*.{cpp,h,cu,cuh}: Closing braces of namespaces should have a comment saying the namespace it closes: } // namespace foo
Prefer const or constexpr variables over #define whenever possible, as the latter are not visible to the compiler
A variable that is not modified after its initialization should be declared as const
For naming of constants in C++, follow the naming section conventions
Except 0 (only used in comparison for checking signness/existence/emptiness) and nullptr, true, false, all other literals should only be used for variable initialization in C++
Use the Allman indentation style in C++
Put the semicolon for an empty for or while loop in a new line in C++
The statement forming the body of a switch, while, do .. while or for statement shall be a compound statement (use brace-delimited statements) in C++
If and else should always be followed by brace-delimited statements, even if empty or a single statement in C++
C++ filenames should use camel case with first letter lowercase: thisIsASubDir and thisIsAFilename.cpp
All files involved in the compilation of a compilation target (.exe/.so) must have filenames that are case-insensitive unique in C++
All types (including class names) in C++ should use camel case with uppercase first letter: FooBarClass
Local variables, methods and namespaces in C++ should use camel case with first letter lowercase: localFooBar
Non-magic-number global variables that are non-static and not defined in anonymous namespace in C++ should use camel case prefixed by a lower case 'g': gDontUseGlobalFoos
Non-magic-number global variables that are static or defined in an anonymous namespace in C++ should use camel case prefixed by a lower case 's': sMutableStaticGlobal
Locally visible static variables in C++ should use camel case with lowercase prefix 's' as the first letter: static std::once_flag sFlag;
Public, private and protected class member variables in C++ should use camel case prefi...

Files:

  • cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu
  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
🧠 Learnings (23)
📓 Common learnings
Learnt from: nv-lschneider
Repo: NVIDIA/TensorRT-LLM PR: 7910
File: cpp/tensorrt_llm/kernels/nccl_device/config.cu:42-49
Timestamp: 2025-09-23T14:58:05.372Z
Learning: In TensorRT-LLM NCCL device kernels (cpp/tensorrt_llm/kernels/nccl_device/), the token partitioning intentionally uses ceil-like distribution (same token_per_rank for all ranks) to ensure all ranks launch the same number of blocks. This is required for optimal NCCL device API barrier performance, even though it may launch extra blocks for non-existent tokens on later ranks. Runtime bounds checking in the kernel (blockID validation) handles the overshoot cases.
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-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/test-db/l0_dgx_b200.yml
📚 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/test-db/l0_dgx_b200.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_dgx_b200.yml
  • tests/integration/test_lists/qa/llm_function_core.txt
📚 Learning: 2025-09-17T06:01:01.836Z
Learnt from: fredricz-20070104
Repo: NVIDIA/TensorRT-LLM PR: 7785
File: tests/integration/defs/perf/utils.py:321-333
Timestamp: 2025-09-17T06:01:01.836Z
Learning: In test infrastructure code for disaggregated serving tests, prefer logging errors and continuing execution rather than raising exceptions on timeout, to avoid disrupting test cleanup and causing cascading failures.

Applied to files:

  • tests/integration/test_lists/test-db/l0_dgx_b200.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_dgx_b200.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_function_core.txt
📚 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_function_core.txt
📚 Learning: 2025-09-23T14:58:05.372Z
Learnt from: nv-lschneider
Repo: NVIDIA/TensorRT-LLM PR: 7910
File: cpp/tensorrt_llm/kernels/nccl_device/config.cu:42-49
Timestamp: 2025-09-23T14:58:05.372Z
Learning: In TensorRT-LLM NCCL device kernels (cpp/tensorrt_llm/kernels/nccl_device/), the token partitioning intentionally uses ceil-like distribution (same token_per_rank for all ranks) to ensure all ranks launch the same number of blocks. This is required for optimal NCCL device API barrier performance, even though it may launch extra blocks for non-existent tokens on later ranks. Runtime bounds checking in the kernel (blockID validation) handles the overshoot cases.

Applied to files:

  • cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu
  • tensorrt_llm/models/modeling_utils.py
  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
📚 Learning: 2025-08-19T12:45:11.997Z
Learnt from: amitz-nv
Repo: NVIDIA/TensorRT-LLM PR: 7033
File: tensorrt_llm/_torch/pyexecutor/model_engine.py:0-0
Timestamp: 2025-08-19T12:45:11.997Z
Learning: In tensorrt_llm/_torch/pyexecutor/model_engine.py, DoRA (Delta Orthogonal Rank Adaptation) functionality was removed from the PyTorch flow to eliminate issues with inverted DoRA detection logic. The original is_dora condition was checking if scaling_vec_pointer == 0, which was potentially incorrect.

Applied to files:

  • cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu
  • tensorrt_llm/models/modeling_utils.py
📚 Learning: 2025-08-14T21:04:50.248Z
Learnt from: thorjohnsen
Repo: NVIDIA/TensorRT-LLM PR: 6910
File: cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp:0-0
Timestamp: 2025-08-14T21:04:50.248Z
Learning: In KV cache onboarding logic during prefill in cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp, when calculating which blocks fall within the attention window, use getTokensPerBlock() to advance token indices rather than block->getUniqueTokens().size(), because the calculation needs to consider the post-prefill state where blocks will be filled to capacity, not their current token count.

Applied to files:

  • cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu
  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
📚 Learning: 2025-08-21T09:41:49.347Z
Learnt from: eopXD
Repo: NVIDIA/TensorRT-LLM PR: 6768
File: cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp:2010-2045
Timestamp: 2025-08-21T09:41:49.347Z
Learning: In cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp, updateSequenceCacheBlockOffsets is specifically for updating bookkeeping when blocks are added during the context phase, not for refreshing offsets after detach operations. During detach operations, GenerationRequest::removeFrontBlock handles the necessary cache block bookkeeping internally.

Applied to files:

  • cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu
  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
📚 Learning: 2025-09-29T15:14:28.503Z
Learnt from: amitz-nv
Repo: NVIDIA/TensorRT-LLM PR: 8063
File: tensorrt_llm/lora_manager.py:1080-1112
Timestamp: 2025-09-29T15:14:28.503Z
Learning: In tensorrt_llm/lora_manager.py, when calculating part_sizes for attn_qkv fused LoRA modules, the sizes are correctly multiplied by tp_size because model_config.num_heads and model_config.num_kv_heads are already divided by tp_size (per-TP-rank values), so multiplication is needed to get the original full concatenated dimension size. The interleave_fused_lora_weights_for_tp function provides proper validation.

Applied to files:

  • cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu
  • tensorrt_llm/models/modeling_utils.py
  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
📚 Learning: 2025-09-29T15:14:28.503Z
Learnt from: amitz-nv
Repo: NVIDIA/TensorRT-LLM PR: 8063
File: tensorrt_llm/lora_manager.py:1080-1112
Timestamp: 2025-09-29T15:14:28.503Z
Learning: In tensorrt_llm/lora_manager.py, when calculating part_sizes for attn_qkv fused LoRA modules, the sizes are correctly multiplied by tp_size because model_config.num_heads and model_config.num_kv_heads are already divided by tp_size (per-TP-rank values), so multiplication is needed to get the original full concatenated dimension size. The interleave_fused_lora_weights_for_tp function provides proper validation with asserts for total size and TP divisibility.

Applied to files:

  • cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu
  • tensorrt_llm/models/modeling_utils.py
  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
📚 Learning: 2025-08-26T06:07:02.166Z
Learnt from: shaharmor98
Repo: NVIDIA/TensorRT-LLM PR: 7231
File: tensorrt_llm/_torch/pyexecutor/_util.py:504-509
Timestamp: 2025-08-26T06:07:02.166Z
Learning: In tensorrt_llm/_torch/pyexecutor/_util.py, when calling model_engine.set_lora_model_config(), pass model_binding_config.mlp_hidden_size directly without multiplying by mapping.tp_size, as the mlp_hidden_size from get_bindings_model_config() is already the per-TP rank value needed for LoRA weight packaging.

Applied to files:

  • tensorrt_llm/models/modeling_utils.py
📚 Learning: 2025-08-14T06:36:40.701Z
Learnt from: timlee0212
Repo: NVIDIA/TensorRT-LLM PR: 6886
File: tensorrt_llm/_torch/models/modeling_deepseekv3.py:0-0
Timestamp: 2025-08-14T06:36:40.701Z
Learning: In DeepSeek V3 model (tensorrt_llm/_torch/models/modeling_deepseekv3.py), the disagreement between AllReduce.__init__ guard and _compute_mlp_tp_size logic for MNNVL usage is expected by design. The AllReduce component and MLP TP-size computation intentionally use different criteria for MNNVL availability decisions.

Applied to files:

  • tensorrt_llm/models/modeling_utils.py
📚 Learning: 2025-08-08T04:10:19.038Z
Learnt from: djns99
Repo: NVIDIA/TensorRT-LLM PR: 6728
File: cpp/tensorrt_llm/plugins/mixtureOfExperts/mixtureOfExpertsPlugin.cpp:966-966
Timestamp: 2025-08-08T04:10:19.038Z
Learning: TensorRT plugins currently don't support padding functionality, and TensorRT is not getting new features (in maintenance mode). This means that duplicating parameters like mExpertHiddenSize in function calls, even with TODO comments, can be acceptable as pragmatic solutions within these constraints.

Applied to files:

  • tensorrt_llm/models/modeling_utils.py
📚 Learning: 2025-09-19T21:28:13.751Z
Learnt from: jhaotingc
Repo: NVIDIA/TensorRT-LLM PR: 7856
File: cpp/tensorrt_llm/thop/fp8BlockScaleMoe.cpp:159-166
Timestamp: 2025-09-19T21:28:13.751Z
Learning: In TensorRT-LLM blockScaleMoe routing (cpp/tensorrt_llm/kernels/trtllmGenKernels/blockScaleMoe/runner.cu), the DeepSeek routing method performs reinterpret_cast<float*>(routingLogits) at line 89, which could cause issues if routing_logits are BF16. However, Qwen3-FP8 models use RenormalizeNaive routing method and are not affected by this dtype casting issue.

Applied to files:

  • tensorrt_llm/models/modeling_utils.py
📚 Learning: 2025-08-06T08:18:28.669Z
Learnt from: zhengd-nv
Repo: NVIDIA/TensorRT-LLM PR: 6633
File: cpp/tensorrt_llm/batch_manager/dataTransceiverImpl.cpp:145-155
Timestamp: 2025-08-06T08:18:28.669Z
Learning: In cpp/tensorrt_llm/batch_manager/dataTransceiverImpl.cpp, the existing `mMtxForMap` mutex in DataSenderImpl is sufficient to synchronize measurement file operations in the `release` method, as all file operations occur within the same critical section that protects the `mRequestToSession` map access.

Applied to files:

  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
📚 Learning: 2025-08-15T06:46:54.897Z
Learnt from: eopXD
Repo: NVIDIA/TensorRT-LLM PR: 6767
File: cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp:0-0
Timestamp: 2025-08-15T06:46:54.897Z
Learning: In cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp addToken function, newly allocated blocks are unshared by design. The beam search path in addToken (when sequence.getNumTokens() > windowSize) is currently broken/non-functional with SWA, so the block allocation doesn't follow a shared-then-unshared pattern.

Applied to files:

  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
📚 Learning: 2025-08-20T06:48:45.368Z
Learnt from: eopXD
Repo: NVIDIA/TensorRT-LLM PR: 6768
File: cpp/include/tensorrt_llm/batch_manager/kvCacheManager.h:0-0
Timestamp: 2025-08-20T06:48:45.368Z
Learning: In cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp, updateSequenceCacheBlockOffsets is only called when adding a sequence, not during detach operations. During detach, the cache block bookkeeping is handled by GenerationRequest::removeFrontBlock.

Applied to files:

  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
📚 Learning: 2025-09-23T15:01:00.070Z
Learnt from: nv-lschneider
Repo: NVIDIA/TensorRT-LLM PR: 7910
File: cpp/tensorrt_llm/kernels/nccl_device/config.cu:15-17
Timestamp: 2025-09-23T15:01:00.070Z
Learning: In TensorRT-LLM NCCL device kernels, the <sstream> header is not needed as an explicit include in config.cu because it's provided transitively through other headers. Local compilation testing confirms this works without the explicit include.

Applied to files:

  • cpp/tensorrt_llm/batch_manager/cacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
📚 Learning: 2025-08-20T06:56:02.889Z
Learnt from: eopXD
Repo: NVIDIA/TensorRT-LLM PR: 6768
File: cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp:577-579
Timestamp: 2025-08-20T06:56:02.889Z
Learning: In cpp/tensorrt_llm/batch_manager/kvCacheManager.cpp, maxSequenceLength is now enforced as a non-optional argument in the BlockManager constructor, so concerns about std::nullopt defaulting to 0 are not applicable. When windowSize > maxSequenceLength, a warning should be added instead of handling optional parameter cases.

Applied to files:

  • cpp/tensorrt_llm/batch_manager/mlaCacheFormatter.cpp
🧬 Code graph analysis (4)
tensorrt_llm/_torch/device_mesh.py (3)
tensorrt_llm/_utils.py (2)
  • shape (1001-1002)
  • shape (1018-1019)
tensorrt_llm/_torch/utils.py (1)
  • shape (141-142)
tensorrt_llm/_torch/distributed/communicator.py (1)
  • cp_size (56-57)
tensorrt_llm/models/modeling_utils.py (3)
tensorrt_llm/_torch/distributed/communicator.py (2)
  • tp_size (64-65)
  • cp_size (56-57)
tensorrt_llm/runtime/model_runner.py (1)
  • mapping (825-826)
tensorrt_llm/mapping.py (2)
  • rank (199-200)
  • rank (203-210)
tests/unittest/others/test_mapping.py (1)
tensorrt_llm/mapping.py (13)
  • tp_group (563-564)
  • pp_group (567-568)
  • cp_group (571-572)
  • is_last_pp_rank (261-262)
  • is_first_cp_rank (288-289)
  • is_last_cp_rank (285-286)
  • prev_pp_rank (273-277)
  • next_pp_rank (279-283)
  • prev_cp_rank (294-298)
  • next_cp_rank (300-304)
  • Mapping (361-540)
  • rank (199-200)
  • rank (203-210)
tensorrt_llm/mapping.py (2)
tensorrt_llm/_torch/device_mesh.py (6)
  • cp_rank (84-86)
  • rank (36-37)
  • pp_rank (80-81)
  • tp_group (90-91)
  • pp_group (94-95)
  • tp_rank (76-77)
tensorrt_llm/_torch/distributed/communicator.py (7)
  • cp_rank (68-69)
  • rank (40-41)
  • rank (451-452)
  • tp_size (64-65)
  • pp_rank (76-77)
  • tp_rank (72-73)
  • pp_size (60-61)
⏰ 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 (11)
tests/integration/test_lists/qa/llm_function_core.txt (1)

543-548: Helix DeepSeekV3Lite accuracy variants correctly scoped to pp1tp2cp2

The new test_auto_dtype_with_helix[...] entries explicitly encode the pp1tp2cp2 configuration, matching the updated disaggregated‑serving test parametrization and the GSM8K regression this PR targets. Duplication in this QA list is fine given the test‑DB/waives separation.
Based on learnings, duplication across test lists is intentional.

tensorrt_llm/_torch/device_mesh.py (1)

121-132: Device mesh dim order matches new TP/CP rank layout

Defining the mesh as [pp, tp] and, when moe_ep_size <= 1, appending a cp dimension of size cp_size yields a [pp, tp, cp] layout consistent with the global rank formula used in the MPI mapping (pp outer, cp innermost). This keeps CP ranks contiguous and TP ranks interleaved with stride cp_size across both orchestrators.

cpp/tensorrt_llm/executor/cache_transmission/cacheSplitConcat.cu (1)

110-113: TargetRanksInfoForDP now yields CP‑consecutive, TP‑interleaved rank lists

Deriving

  • selfCPRank = selfRank % selfCPNum
  • selfTPRank = (selfRank % (selfTPNum * selfCPNum)) / selfCPNum

is the correct inverse of rank = pp * (tp * cp) + tp * cp + cp. The updated CP‑domain logic and the nested loops

  • for cp in [peerCPRankStart, peerCPRankEnd)
  • for tp in [peerTPRankStart, peerTPRankEnd)
  • for pp in [peerPPRankStart, peerPPRankEnd)

combined with irank = pp * (peerTPNum * peerCPNum) + tp * peerCPNum + cp produce mDomainPPSize * mDomainTPSize * mDomainCPSize ranks with CP contiguous and TP interleaved at stride peerCPNum, matching the new mapping and cache‑split expectations.

No correctness issues spotted in the new math.

Also applies to: 207-216

tensorrt_llm/mapping.py (2)

294-305: CP navigation and docs now match CP‑consecutive layout

prev_cp_rank/next_cp_rank now assume CP ranks are stored consecutively within each (pp, tp) tile, wrapping by ±cp_size inside that tile. This matches the updated examples (CP groups as contiguous ranges, TP groups as interleaved) and the new group construction logic, so CP neighbor traversal is locally consistent with the underlying layout. For cp_size == 1 these methods naturally degenerate to self, which is reasonable.

Also applies to: 379-389, 438-448


551-573: MpiTopology TP/CP rank decomposition and groups are internally consistent

  • tp_rank = (rank % (tp_size * cp_size)) // cp_size, cp_rank = rank % cp_size, and pp_rank = rank // (tp_size * cp_size) are the exact inverse of rank = pp * (tp * cp) + tp * cp + cp.
  • _init_parallel_groups:
    • pp_groups: fixed (tp,cp) over all pp ranks;
    • cp_groups: for each (pp, tp), cp_size consecutive ranks;
    • tp_groups: for each (pp, cp), TP ranks interleaved with stride cp_size.

The tp_group, pp_group, and cp_group index formulas (pp_rank * cp_size + cp_rank, tp_rank * cp_size + cp_rank, pp_rank * tp_size + tp_rank) align exactly with how the lists are populated. This makes the MPI mapping’s TP/CP grouping semantics match the new CP‑first/TP‑stride layout used elsewhere in the PR.

Also applies to: 567-569, 599-613

tests/integration/test_lists/test-db/l0_dgx_b200.yml (1)

69-69: LGTM! Test entries align with the expanded HELIX parameterization.

The new test entries correctly reference the pp1tp2cp2 configuration from the parametrized test, with appropriate 8-GPU requirements and 60-minute timeouts. The split of fifo to pre_merge and nccl to post_merge provides balanced CI coverage.

Also applies to: 96-96

tests/unittest/others/test_mapping.py (2)

60-62: LGTM! Updated expectations correctly reflect the new CP-consecutive grouping.

For Mapping(world_size=8, rank=3, tp_size=2, pp_size=2, cp_size=2):

  • tp_group=[1, 3] — TP ranks now interleaved with stride cp_size=2.
  • cp_group=[2, 3] — CP ranks are now consecutive.
  • prev_cp_rank()=2 and next_cp_rank()=2 correctly wrap within the consecutive CP group.

This aligns with the PR objective of making CP ranks consecutive so that when repurposed as TP, o_proj receives correct weights.

Also applies to: 69-70


73-83: LGTM! Expectations for the 16-rank scenario correctly validate the new grouping.

For Mapping(world_size=16, rank=9, tp_size=2, pp_size=2, cp_size=4):

  • tp_group=[9, 13] — TP ranks at stride 4 (cp_size).
  • cp_group=[8, 9, 10, 11] — CP ranks are consecutive.
  • is_first_cp_rank()=False — rank 9 is cp_rank=1, not 0.
  • prev_cp_rank()=8, next_cp_rank()=10 — correct consecutive navigation within the CP group.
  • is_last_pp_rank()=True — rank 9 is pp_rank=1, which equals pp_size - 1.
  • prev_pp_rank()=1, next_pp_rank()=1 — both wrap to rank 1 (same PP group).
tensorrt_llm/models/modeling_utils.py (1)

742-747: LGTM! The rank remapping formula correctly handles the new CP-first grouping.

The updated formula:

rank = (rank % (tp_size * cp_size)) // cp_size + (rank // (tp_size * cp_size)) * tp_size

Correctly maps CP ranks to their corresponding checkpoint files. Since different CP ranks share the same weights, they should load from the same rank{n}.safetensors file. For example, with tp_size=2, cp_size=2:

  • Ranks 0 and 1 (different cp_rank, same tp_rank=0) both map to rank0.safetensors.
  • Ranks 2 and 3 (different cp_rank, same tp_rank=1) both map to rank1.safetensors.

The comment update from "tp_cp_pp rank" to "cp_tp_pp rank" accurately reflects the new rank decomposition order.

tests/integration/defs/accuracy/test_disaggregated_serving.py (2)

874-877: LGTM! Well-structured parameterization for HELIX CP/TP configurations.

The new parameterization covers three key configurations that exercise the TP-CP grouping fix:

  • pp1tp1cp4: Pure CP parallelism (CP=4 repurposed as TP for expert parallel)
  • pp1tp2cp2: Mixed TP/CP (the primary fix case for o_proj weight distribution)
  • pp2tp1cp2: PP + CP combination

The gen_ep = gen_tp * gen_cp calculation correctly computes the MOE expert parallel size when CP ranks are repurposed as TP ranks.

GPU requirements check out: ctx (4 GPUs) + gen (4 GPUs for all configs) = 8 GPUs total, matching the @pytest.mark.skip_less_device(8) decorator.

Also applies to: 894-897


906-906: Verify the context server TP size increase is intentional.

The ctx_server_config["tensor_parallel_size"] was increased from 2 to 4. This means the context server now consumes 4 GPUs instead of 2. While this works with the 8-GPU requirement (4 ctx + 4 gen), it reduces the headroom for testing additional configurations.

Is this increase intentional, or should the context server remain at TP=2 to provide flexibility?

Also applies to: 918-921

@brb-nv brb-nv requested review from Shixiaowei02 and removed request for chuangz0 December 31, 2025 00:51
@brb-nv brb-nv force-pushed the user/brb/alter-tp-cp-order branch 2 times, most recently from c229c87 to 872167b Compare December 31, 2025 01:15
@brb-nv
Copy link
Collaborator Author

brb-nv commented Dec 31, 2025

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30216 [ run ] triggered by Bot. Commit: 872167b

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30216 [ run ] completed with state SUCCESS. Commit: 872167b
/LLM/main/L0_MergeRequest_PR pipeline #23259 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

@brb-nv brb-nv requested a review from yuxianq December 31, 2025 08:42
@brb-nv
Copy link
Collaborator Author

brb-nv commented Dec 31, 2025

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30265 [ run ] triggered by Bot. Commit: fe70dd1

@brb-nv
Copy link
Collaborator Author

brb-nv commented Dec 31, 2025

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30285 [ run ] triggered by Bot. Commit: fe70dd1

@brb-nv brb-nv force-pushed the user/brb/alter-tp-cp-order branch from fe70dd1 to edde143 Compare December 31, 2025 15:57
@brb-nv
Copy link
Collaborator Author

brb-nv commented Dec 31, 2025

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30290 [ run ] triggered by Bot. Commit: edde143

@tensorrt-cicd
Copy link
Collaborator

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

@brb-nv
Copy link
Collaborator Author

brb-nv commented Dec 31, 2025

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30299 [ run ] triggered by Bot. Commit: edde143

@tensorrt-cicd
Copy link
Collaborator

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

@brb-nv
Copy link
Collaborator Author

brb-nv commented Jan 1, 2026

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30310 [ run ] triggered by Bot. Commit: edde143

@tensorrt-cicd
Copy link
Collaborator

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

@brb-nv brb-nv force-pushed the user/brb/alter-tp-cp-order branch from 17fc5d4 to 41aba32 Compare January 1, 2026 07:11
@brb-nv
Copy link
Collaborator Author

brb-nv commented Jan 1, 2026

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30323 [ run ] triggered by Bot. Commit: 7577996

@brb-nv brb-nv force-pushed the user/brb/alter-tp-cp-order branch from 7577996 to 4e971dc Compare January 1, 2026 11:41
@tensorrt-cicd
Copy link
Collaborator

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

@brb-nv brb-nv force-pushed the user/brb/alter-tp-cp-order branch from 4e971dc to 896a9f3 Compare January 1, 2026 17:14
@brb-nv
Copy link
Collaborator Author

brb-nv commented Jan 1, 2026

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30349 [ run ] triggered by Bot. Commit: 896a9f3

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30349 [ run ] completed with state SUCCESS. Commit: 896a9f3
/LLM/main/L0_MergeRequest_PR pipeline #23381 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

brb-nv added 5 commits January 1, 2026 22:44
Signed-off-by: Balaram Buddharaju <[email protected]>
Signed-off-by: Balaram Buddharaju <[email protected]>
$ pytest tests/integration/defs/examples/test_ray.py::test_llm_inference_distributed_ray -s -v

Signed-off-by: Balaram Buddharaju <[email protected]>
@brb-nv brb-nv force-pushed the user/brb/alter-tp-cp-order branch from 896a9f3 to 168255a Compare January 1, 2026 22:45
@brb-nv
Copy link
Collaborator Author

brb-nv commented Jan 1, 2026

/bot run --disable-fail-fast

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30351 [ run ] triggered by Bot. Commit: 168255a

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30351 [ run ] completed with state SUCCESS. Commit: 168255a
/LLM/main/L0_MergeRequest_PR pipeline #23383 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

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