Skip to content

[None][chore] Clean deprecated CppMambaCacheManager#15533

Open
bo-nv wants to merge 4 commits into
NVIDIA:mainfrom
bo-nv:main-clean-CppMambaManager
Open

[None][chore] Clean deprecated CppMambaCacheManager#15533
bo-nv wants to merge 4 commits into
NVIDIA:mainfrom
bo-nv:main-clean-CppMambaManager

Conversation

@bo-nv

@bo-nv bo-nv commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

Release Notes

  • Refactor
    • Simplified RNN cache management by removing support for legacy slot-based mode; unified pool mode is now the standard.
    • Removed TRTLLM_USE_CPP_MAMBA environment variable; Python Mamba cache manager is now the default implementation.
    • Streamlined cache transceiver and formatter architecture by consolidating redundant code paths.

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)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • 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

To see a list of available CI bot commands, please comment /bot help.

@bo-nv

bo-nv commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --add-multi-gpu-test --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #55128 [ run ] triggered by Bot. Commit: bc39287 Link to invocation

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The PR removes the slot-based RnnStateManager code path from RNN cache transfer, buffer sizing, and formatting, consolidating everything through the unified KV cache pool (BaseKVCacheManager/CppMambaHybridCacheManager). Corresponding Python classes (CppMambaCacheManager), routing functions (use_cpp_mamba_cache_manager), type guards, and environment-variable (TRTLLM_USE_CPP_MAMBA) monkeypatching are removed across mixers, transceivers, and tests.

Changes

Unified KV Cache Pool: Remove RnnStateManager Slot Path

Layer / File(s) Summary
C++ header contracts: remove slot-based constructors and members
cpp/include/tensorrt_llm/batch_manager/rnnCacheTransBuffer.h, cpp/include/tensorrt_llm/batch_manager/rnnCacheFormatter.h, cpp/include/tensorrt_llm/batch_manager/cacheTransceiver.h
Removes RnnStateManager* constructor overloads from RnnCacheTransBufferManager and RnnCacheFormatter, drops private mRnnStateManager members and slot-mode helpers, and removes the optional rnnStateManager parameter from CacheTransceiver's public constructor.
C++ implementation: pool-based sizing, formatter rename, unified init
cpp/tensorrt_llm/batch_manager/rnnCacheTransBuffer.cpp, cpp/tensorrt_llm/batch_manager/rnnCacheFormatter.cpp, cpp/tensorrt_llm/batch_manager/cacheTransceiver.cpp, cpp/tensorrt_llm/batch_manager/cacheTransferLayer.cpp, cpp/tensorrt_llm/executor/cache_transmission/rnnCacheSplitConcat.cu
Replaces slot-based buffer sizing with computeTransferBufferSizeFromPool using cacheState and parallelization params. Renames unformatUnifiedPoolMode to unformat. Removes all mRnnStateManager-conditioned branches from constructor and makeRnnFormatter. Updates inline comments.
Python MambaCacheManager: remove CppMambaCacheManager, simplify facade
tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.py, tensorrt_llm/_torch/model_config.py
Deletes CppMambaCacheManager class and use_cpp_mamba_cache_manager(). MambaCacheManager unconditionally delegates to PythonMambaCacheManager. All speculative/replay accessors and guarded methods drop C++-conditional branches. Removes _unified_kv_pool_includes_mamba helper.
Python routing, transceiver, and mixer simplification
tensorrt_llm/_torch/pyexecutor/_util.py, tensorrt_llm/_torch/pyexecutor/kv_cache_transceiver.py, tensorrt_llm/_torch/pyexecutor/py_executor_creator.py, tensorrt_llm/_torch/disaggregation/..., tensorrt_llm/_torch/modules/mamba/mamba2_mixer.py, tensorrt_llm/_torch/modules/mamba/gdn_mixer.py
Removes use_cpp_mamba_cache_manager routing branch from get_kv_cache_manager_cls and legacy MTP warning. kv_cache_transceiver.py derives RNN layer counts from mamba_layer_offsets instead of rnn_state_manager. Disaggregation type guards on PythonMambaCacheManager removed. Mixers simplify to always use mamba_layer_cache.
Python bindings and tests
cpp/tensorrt_llm/nanobind/batch_manager/cacheTransceiver.cpp, cpp/tests/unit_tests/batch_manager/rnnCacheFormatterTest.cpp, tests/unittest/_torch/executor/test_mamba_cache_manager.py, tests/unittest/disaggregated/test_mamba_transfer.py, tests/unittest/others/test_kv_cache_transceiver.py, tests/integration/defs/accuracy/test_llm_api_pytorch.py, tests/integration/test_lists/...
Removes rnn_state_manager from CacheTransceiver nanobind binding. Updates formatter test dummy casts to BaseKVCacheManager*. Replaces CppMambaCacheManager tests with CppMambaHybridCacheManager regression tests. Drops TRTLLM_USE_CPP_MAMBA monkeypatching and use_cpp_mamba parametrization from all affected tests.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete. It contains only the template with placeholders and no actual description of the changes, rationale, or test coverage. Fill in the Description section explaining why CppMambaCacheManager is being removed and what the impact is. Complete the Test Coverage section listing relevant tests that validate the changes.
Docstring Coverage ⚠️ Warning Docstring coverage is 29.41% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: removing deprecated CppMambaCacheManager code. It is specific, concise, and directly related to the changeset.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (4)
cpp/tensorrt_llm/batch_manager/rnnCacheTransBuffer.cpp (2)

69-85: 🚀 Performance & Scalability | 🟠 Major | ⚡ Quick win

Honor maxNumTokens when sizing real-block capacity.

The helper accepts maxNumTokens for buffer sizing but sizes from wsMeta.maxTokenNum only, so max_tokens_in_buffer no longer caps RNN preallocation for long-context unified-pool transfers.

Proposed fix
         auto const recurrentWs
             = static_cast<SizeType32>(kv_cache_manager::LinearAttentionMetadata::LinearCacheType::kRecurrentStates);
         auto const wsMeta = blockManager.getWindowSizeMetadata(recurrentWs);
-        SizeType32 maxTokenNum = wsMeta.maxTokenNum;
+        auto const effectiveMaxTokenNum = maxNumTokens.has_value()
+            ? std::min(static_cast<size_t>(wsMeta.maxTokenNum), *maxNumTokens)
+            : static_cast<size_t>(wsMeta.maxTokenNum);
+        SizeType32 const maxTokenNum = static_cast<SizeType32>(effectiveMaxTokenNum);
         // Number of interval snapshots + end-of-prompt block + saveLastSnapshot.
         maxRealBlocksPerSeq
             = maxTokenNum / linearMeta->statesSnapshotInterval + 1 + (linearMeta->saveLastSnapshot ? 1 : 0);
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@cpp/tensorrt_llm/batch_manager/rnnCacheTransBuffer.cpp` around lines 69 - 85,
The buffer sizing logic uses wsMeta.maxTokenNum directly to calculate
maxRealBlocksPerSeq, but ignores the maxNumTokens parameter that was passed to
this function. The fix is to honor the maxNumTokens constraint by taking the
minimum of wsMeta.maxTokenNum and maxNumTokens when assigning to the maxTokenNum
variable, ensuring that long-context unified-pool transfers respect the
configured token buffer cap.

30-34: 🩺 Stability & Availability | 🔴 Critical | ⚡ Quick win

Validate kvCacheManager before the base initializer dereferences it.

computeTransferBufferSizeFromPool(...) dereferences kvCacheManager at Line 71 during the BaseTransBufferManager initializer, so the constructor-body check at Line 100 runs too late for nullptr callers.

Proposed fix
 size_t RnnCacheTransBufferManager::computeTransferBufferSizeFromPool(
     kv_cache_manager::BaseKVCacheManager* kvCacheManager, executor::kv_cache::CacheState const& cacheState,
     std::optional<size_t> maxNumTokens)
 {
+    TLLM_CHECK(kvCacheManager != nullptr);
     TLLM_CHECK(cacheState.hasRnnConfig());
@@
 {
-    TLLM_CHECK(kvCacheManager != nullptr);
     TLLM_LOG_INFO("RnnCacheTransBufferManager created for unified pool RNN cache");
 }

Also applies to: 71-72, 95-100

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@cpp/tensorrt_llm/batch_manager/rnnCacheTransBuffer.cpp` around lines 30 - 34,
The kvCacheManager parameter is dereferenced in the BaseTransBufferManager
initializer at lines 71-72, but the null pointer check currently occurs in the
constructor body at lines 95-100, which runs after the initializer list. Add a
null validation for kvCacheManager at the very beginning of the
RnnCacheTransBufferManager constructor, before the initializer list executes, to
catch nullptr inputs before they cause a dereference error. This ensures the
TLLM_CHECK or similar validation happens early enough to prevent undefined
behavior when kvCacheManager is null.
cpp/tensorrt_llm/batch_manager/cacheTransceiver.cpp (1)

269-270: 🎯 Functional Correctness | 🔴 Critical

RNN models using CacheTransceiverFactory::createCacheTransceiver() will not initialize RNN config.

The factory function does not compute or pass rnnLayerNumPerPP to the CacheTransceiver constructor, unlike attentionLayerNumPerPP which is properly distributed across pipeline parallel ranks. Since rnnLayerNumPerPP defaults to an empty vector, the RNN config initialization at line 350 (if (!rnnLayerNumPerPP.empty())) is skipped. Add logic to compute rnnLayerNumPerPP from modelConfig.getNbRnnLayers() similar to the attentionLayerNumPerPP computation, or ensure RNN models use an alternative initialization path that explicitly passes non-empty rnnLayerNumPerPP.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@cpp/tensorrt_llm/batch_manager/cacheTransceiver.cpp` around lines 269 - 270,
In the CacheTransceiverFactory::createCacheTransceiver() factory function,
compute rnnLayerNumPerPP from modelConfig.getNbRnnLayers() following the same
pattern used to compute attentionLayerNumPerPP (distributing the RNN layers
across pipeline parallel ranks), and pass this computed rnnLayerNumPerPP to the
CacheTransceiver constructor call alongside the existing parameters. This
ensures that RNN config initialization in the CacheTransceiver constructor is
not skipped due to an empty rnnLayerNumPerPP vector.
tensorrt_llm/_torch/pyexecutor/_util.py (1)

100-116: 🎯 Functional Correctness | 🔴 Critical

Fix hybrid manager routing to prevent AttributeError when block reuse + PYTHON transceiver are combined.

The routing logic at lines 110–111 returns CppMambaHybridCacheManager if enable_block_reuse=True, before checking transceiver_runtime="PYTHON". This allows an unsupported configuration: if both enable_block_reuse=True and transceiver_runtime="PYTHON" are set, the code returns CppMambaHybridCacheManager, but downstream disaggregation code (kv_cache_transceiver.py:194, kv_extractor.py:94, transceiver.py:125) assumes manager._impl.mamba_layer_offsets and manager._impl.mamba_cache exist. CppMambaHybridCacheManager has no _impl attribute—it stores mamba_layer_offsets directly—causing an AttributeError at runtime.

Add an explicit guard at line 110–111 to reject the incompatible combination, or reorder checks so PYTHON transceiver always receives MixedMambaHybridCacheManager.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tensorrt_llm/_torch/pyexecutor/_util.py` around lines 100 - 116, The routing
logic for selecting the hybrid cache manager returns CppMambaHybridCacheManager
when enable_block_reuse=True before checking whether
transceiver_runtime="PYTHON", allowing an unsupported configuration that causes
downstream AttributeError. Fix this by either adding an explicit guard that
raises a ValueError when both enable_block_reuse=True and
transceiver_runtime="PYTHON" are set together, or reorder the conditional checks
so that the PYTHON transceiver condition is evaluated before the
enable_block_reuse check to ensure MixedMambaHybridCacheManager is always
returned when PYTHON transceiver is detected.
🧹 Nitpick comments (3)
tests/unittest/others/test_kv_cache_transceiver.py (1)

558-558: 📐 Maintainability & Code Quality | 🔵 Trivial

QA coverage status: needs follow-up outside this PR for route-matrix completeness.

tests/unittest/others/test_kv_cache_transceiver.py continues to cover hybrid transfer/cancel behavior, but a follow-up should explicitly add a Cpp-hybrid manager route case (and expected behavior assertion under PYTHON transceiver-related config) so the manager-selection contract is locked down.

As per path instructions, this QA feedback flags tests/unittest/others/test_kv_cache_transceiver.py as needing follow-up coverage outside the PR.

Also applies to: 657-657

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/unittest/others/test_kv_cache_transceiver.py` at line 558, The test
function test_hybrid_cache_transceiver_single_process currently covers hybrid
transfer and cancel behavior but is missing explicit coverage for a Cpp-hybrid
manager route case. Add a test case or extend the existing test to explicitly
cover the Cpp-hybrid manager route scenario with expected behavior assertions
under PYTHON transceiver-related config to lock down the manager-selection
contract and ensure route-matrix completeness. This follow-up coverage should be
added to fully validate the hybrid cache transceiver behavior across all
required manager routing paths.

Source: Path instructions

tests/unittest/disaggregated/test_mamba_transfer.py (1)

332-358: 📐 Maintainability & Code Quality | 🔵 Trivial

QA coverage status: sufficient for this change.

tests/unittest/disaggregated/test_mamba_transfer.py still validates the dummy-slot allocation behavior after removing the deprecated env-var hook, so no extra in-PR coverage is required for this specific edit.

As per path instructions, this QA assessment is scoped to tests/unittest/disaggregated/test_mamba_transfer.py and marks coverage as sufficient for the changed segment.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/unittest/disaggregated/test_mamba_transfer.py` around lines 332 - 358,
Verify that the test function
test_mamba_disagg_attention_dp_dummy_with_batch_size_one properly validates the
dummy-slot allocation behavior without depending on any deprecated environment
variable hooks. Ensure that the test assertions (checking
mamba_cache_free_blocks, mamba_cache_index values, and the comparison with
_attention_dp_dummy_slot) adequately validate the expected behavior after the
removal of the deprecated env-var hook, and confirm that no environment variable
configuration is required for the test to pass.

Source: Path instructions

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

6842-6853: 📐 Maintainability & Code Quality | 🔵 Trivial

Coverage status: sufficient for this file’s scope after legacy-path removal.

For tests/integration/defs/accuracy/test_llm_api_pytorch.py, removing use_cpp_mamba parametrization is appropriate with the deprecated CppMamba path removed, and test_fp8_4gpus still exercises both attention_dp modes.

As per path instructions, tests/** feedback should explicitly state coverage status and file scope; this file is sufficient for the current PR objective.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/integration/defs/accuracy/test_llm_api_pytorch.py` around lines 6842 -
6853, Ensure that the test_fp8_4gpus method in this file does not have a
use_cpp_mamba parametrization decorator, as the deprecated CppMamba path has
been removed and the attention_dp parametrization alone provides sufficient
coverage for the test's scope. If a use_cpp_mamba parametrization exists on the
test_fp8_4gpus method, remove it entirely and keep only the attention_dp
parametrization that exercises both on and off modes.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tensorrt_llm/_torch/modules/mamba/gdn_mixer.py`:
- Around line 881-883: The Qwen3NextGatedDeltaNet instantiation in
tensorrt_llm/_torch/auto_deploy/models/custom/modeling_qwen3_next.py at line 496
is missing the required aux_stream parameter. Currently only config and
layer_idx are passed as positional arguments, but the __init__ method expects
model_config, aux_stream, and layer_idx in that order. This causes layer_idx to
be incorrectly assigned to aux_stream, leaving self.layer_idx as None, which
then causes the mamba_layer_cache call at lines 881-883 in gdn_mixer.py to fail
since it cannot accept None as a layer index. Locate the Qwen3NextGatedDeltaNet
construction at line 496 in the custom modeling file and add the missing
aux_stream argument between config and layer_idx to match the correct
implementation found at line 329 in
tensorrt_llm/_torch/models/modeling_qwen3_next.py.

In `@tensorrt_llm/_torch/pyexecutor/py_executor_creator.py`:
- Around line 853-860: The logger.info message at line 859 incorrectly hardcodes
"Using CppMambaHybridCacheManager" without checking the actual manager selection
logic that depends on cache_transceiver_config.transceiver_runtime. Update the
else block to accurately log which cache manager will actually be used based on
the transceiver_runtime configuration value. The message should reflect that
when transceiver_runtime is set to 'PYTHON', PythonMambaCacheManager is used,
otherwise CppMambaHybridCacheManager is used, rather than always reporting
CppMambaHybridCacheManager.

---

Outside diff comments:
In `@cpp/tensorrt_llm/batch_manager/cacheTransceiver.cpp`:
- Around line 269-270: In the CacheTransceiverFactory::createCacheTransceiver()
factory function, compute rnnLayerNumPerPP from modelConfig.getNbRnnLayers()
following the same pattern used to compute attentionLayerNumPerPP (distributing
the RNN layers across pipeline parallel ranks), and pass this computed
rnnLayerNumPerPP to the CacheTransceiver constructor call alongside the existing
parameters. This ensures that RNN config initialization in the CacheTransceiver
constructor is not skipped due to an empty rnnLayerNumPerPP vector.

In `@cpp/tensorrt_llm/batch_manager/rnnCacheTransBuffer.cpp`:
- Around line 69-85: The buffer sizing logic uses wsMeta.maxTokenNum directly to
calculate maxRealBlocksPerSeq, but ignores the maxNumTokens parameter that was
passed to this function. The fix is to honor the maxNumTokens constraint by
taking the minimum of wsMeta.maxTokenNum and maxNumTokens when assigning to the
maxTokenNum variable, ensuring that long-context unified-pool transfers respect
the configured token buffer cap.
- Around line 30-34: The kvCacheManager parameter is dereferenced in the
BaseTransBufferManager initializer at lines 71-72, but the null pointer check
currently occurs in the constructor body at lines 95-100, which runs after the
initializer list. Add a null validation for kvCacheManager at the very beginning
of the RnnCacheTransBufferManager constructor, before the initializer list
executes, to catch nullptr inputs before they cause a dereference error. This
ensures the TLLM_CHECK or similar validation happens early enough to prevent
undefined behavior when kvCacheManager is null.

In `@tensorrt_llm/_torch/pyexecutor/_util.py`:
- Around line 100-116: The routing logic for selecting the hybrid cache manager
returns CppMambaHybridCacheManager when enable_block_reuse=True before checking
whether transceiver_runtime="PYTHON", allowing an unsupported configuration that
causes downstream AttributeError. Fix this by either adding an explicit guard
that raises a ValueError when both enable_block_reuse=True and
transceiver_runtime="PYTHON" are set together, or reorder the conditional checks
so that the PYTHON transceiver condition is evaluated before the
enable_block_reuse check to ensure MixedMambaHybridCacheManager is always
returned when PYTHON transceiver is detected.

---

Nitpick comments:
In `@tests/integration/defs/accuracy/test_llm_api_pytorch.py`:
- Around line 6842-6853: Ensure that the test_fp8_4gpus method in this file does
not have a use_cpp_mamba parametrization decorator, as the deprecated CppMamba
path has been removed and the attention_dp parametrization alone provides
sufficient coverage for the test's scope. If a use_cpp_mamba parametrization
exists on the test_fp8_4gpus method, remove it entirely and keep only the
attention_dp parametrization that exercises both on and off modes.

In `@tests/unittest/disaggregated/test_mamba_transfer.py`:
- Around line 332-358: Verify that the test function
test_mamba_disagg_attention_dp_dummy_with_batch_size_one properly validates the
dummy-slot allocation behavior without depending on any deprecated environment
variable hooks. Ensure that the test assertions (checking
mamba_cache_free_blocks, mamba_cache_index values, and the comparison with
_attention_dp_dummy_slot) adequately validate the expected behavior after the
removal of the deprecated env-var hook, and confirm that no environment variable
configuration is required for the test to pass.

In `@tests/unittest/others/test_kv_cache_transceiver.py`:
- Line 558: The test function test_hybrid_cache_transceiver_single_process
currently covers hybrid transfer and cancel behavior but is missing explicit
coverage for a Cpp-hybrid manager route case. Add a test case or extend the
existing test to explicitly cover the Cpp-hybrid manager route scenario with
expected behavior assertions under PYTHON transceiver-related config to lock
down the manager-selection contract and ensure route-matrix completeness. This
follow-up coverage should be added to fully validate the hybrid cache
transceiver behavior across all required manager routing paths.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 98e15294-3765-4d86-b749-e423d9ad7500

📥 Commits

Reviewing files that changed from the base of the PR and between 9ed7ce4 and bc39287.

📒 Files selected for processing (25)
  • cpp/include/tensorrt_llm/batch_manager/cacheTransceiver.h
  • cpp/include/tensorrt_llm/batch_manager/rnnCacheFormatter.h
  • cpp/tensorrt_llm/batch_manager/cacheTransceiver.cpp
  • cpp/tensorrt_llm/batch_manager/cacheTransferLayer.cpp
  • cpp/tensorrt_llm/batch_manager/rnnCacheFormatter.cpp
  • cpp/tensorrt_llm/batch_manager/rnnCacheTransBuffer.cpp
  • cpp/tensorrt_llm/batch_manager/rnnCacheTransBuffer.h
  • cpp/tensorrt_llm/executor/cache_transmission/rnnCacheSplitConcat.cu
  • cpp/tensorrt_llm/nanobind/batch_manager/cacheTransceiver.cpp
  • cpp/tests/unit_tests/batch_manager/rnnCacheFormatterTest.cpp
  • tensorrt_llm/_torch/disaggregation/resource/kv_extractor.py
  • tensorrt_llm/_torch/disaggregation/transceiver.py
  • tensorrt_llm/_torch/model_config.py
  • tensorrt_llm/_torch/modules/mamba/gdn_mixer.py
  • tensorrt_llm/_torch/modules/mamba/mamba2_mixer.py
  • tensorrt_llm/_torch/pyexecutor/_util.py
  • tensorrt_llm/_torch/pyexecutor/kv_cache_transceiver.py
  • tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.py
  • tensorrt_llm/_torch/pyexecutor/py_executor_creator.py
  • tests/integration/defs/accuracy/test_llm_api_pytorch.py
  • tests/integration/test_lists/qa/llm_function_core.txt
  • tests/integration/test_lists/test-db/l0_dgx_h100.yml
  • tests/unittest/_torch/executor/test_mamba_cache_manager.py
  • tests/unittest/disaggregated/test_mamba_transfer.py
  • tests/unittest/others/test_kv_cache_transceiver.py
💤 Files with no reviewable changes (2)
  • tensorrt_llm/_torch/model_config.py
  • tests/unittest/_torch/executor/test_mamba_cache_manager.py

Comment thread tensorrt_llm/_torch/modules/mamba/gdn_mixer.py
Comment thread tensorrt_llm/_torch/pyexecutor/py_executor_creator.py
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #55128 [ run ] completed with state SUCCESS. Commit: bc39287
/LLM/main/L0_MergeRequest_PR pipeline #44111 completed with status: 'FAILURE'

CI Report

⚠️ 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

Link to invocation

@bo-nv

bo-nv commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --add-multi-gpu-test --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #55357 [ run ] triggered by Bot. Commit: bc39287 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #55357 [ run ] completed with state FAILURE. Commit: bc39287
/LLM/main/L0_MergeRequest_PR pipeline #44306 completed with status: 'FAILURE'

CI Report

⚠️ 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

CI Agent Failure Analysis

Link to invocation

@bo-nv bo-nv force-pushed the main-clean-CppMambaManager branch from bc39287 to f69845a Compare June 25, 2026 06:36
@bo-nv

bo-nv commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --add-multi-gpu-test --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #55723 [ run ] triggered by Bot. Commit: f69845a Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #55723 [ run ] completed with state SUCCESS. Commit: f69845a
/LLM/main/L0_MergeRequest_PR pipeline #44625 completed with status: 'FAILURE'

CI Report

⚠️ 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

CI Agent Failure Analysis

Link to invocation

@bo-nv

bo-nv commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57884 [ run ] triggered by Bot. Commit: 5ee5c27 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57884 [ run ] completed with state FAILURE. Commit: 5ee5c27
/LLM/main/L0_MergeRequest_PR pipeline #46579 completed with status: 'FAILURE'

CI Report

⚠️ 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

CI Agent Failure Analysis

Link to invocation

@bo-nv

bo-nv commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57907 [ run ] triggered by Bot. Commit: 5ee5c27 Link to invocation

@bo-nv bo-nv force-pushed the main-clean-CppMambaManager branch from 5ee5c27 to 296e83d Compare July 7, 2026 04:57
@bo-nv

bo-nv commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57940 [ run ] triggered by Bot. Commit: 296e83d Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57907 [ run ] completed with state ABORTED. Commit: 5ee5c27

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57940 [ run ] completed with state FAILURE. Commit: 296e83d
/LLM/main/L0_MergeRequest_PR pipeline #46625 completed with status: 'FAILURE'

CI Report

⚠️ 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

CI Agent Failure Analysis

Link to invocation

bo-nv added 2 commits July 7, 2026 09:51
Signed-off-by: Bo Deng <deemod@nvidia.com>
Signed-off-by: Bo Deng <deemod@nvidia.com>
@bo-nv bo-nv force-pushed the main-clean-CppMambaManager branch from 296e83d to 15ca2b3 Compare July 7, 2026 10:02
@bo-nv

bo-nv commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --add-multi-gpu-test --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57992 [ run ] triggered by Bot. Commit: 15ca2b3 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57992 [ run ] completed with state SUCCESS. Commit: 15ca2b3
/LLM/main/L0_MergeRequest_PR pipeline #46662 completed with status: 'FAILURE'

CI Report

⚠️ 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

CI Agent Failure Analysis

Link to invocation

@bo-nv

bo-nv commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --add-multi-gpu-test --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #58172 [ run ] triggered by Bot. Commit: 15ca2b3 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #58172 [ run ] completed with state FAILURE. Commit: 15ca2b3
/LLM/main/L0_MergeRequest_PR pipeline #46822 completed with status: 'FAILURE'

CI Report

⚠️ 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

CI Agent Failure Analysis

Link to invocation

@bo-nv

bo-nv commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #58209 [ run ] triggered by Bot. Commit: 15ca2b3 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #58209 [ run ] completed with state FAILURE. Commit: 15ca2b3
/LLM/main/L0_MergeRequest_PR pipeline #46852 completed with status: 'FAILURE'

CI Report

⚠️ 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

CI Agent Failure Analysis

Link to invocation

@bo-nv

bo-nv commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #58367 [ run ] triggered by Bot. Commit: 15ca2b3 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #58367 [ run ] completed with state SUCCESS. Commit: 15ca2b3
/LLM/main/L0_MergeRequest_PR pipeline #46993 completed with status: 'SUCCESS'
Pipeline passed with automatic retried tests. Check the rerun report for details.

CI Report

Link to invocation

bo-nv added 2 commits July 10, 2026 06:36
Signed-off-by: Bo Deng <deemod@nvidia.com>
Signed-off-by: Bo Deng <deemod@nvidia.com>
@bo-nv

bo-nv commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --skip-test --extra-stage "DGX_H100-4_GPUs-PyTorch-Others-1,DGX_H100-4_GPUs-PyTorch-Others-2"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #58627 [ run ] triggered by Bot. Commit: d8ac506 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #58627 [ run ] completed with state FAILURE. Commit: d8ac506
/LLM/main/L0_MergeRequest_PR pipeline #47216 (Partly Tested) completed with status: 'FAILURE'

CI Report

⚠️ 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

CI Agent Failure Analysis

Link to invocation

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.

6 participants