Skip to content

[TRTLLM-9676][fix] Fix mamba_cache_manager when enabling cuda_graph_padding and let test cover this case#9873

Merged
nv-guomingz merged 10 commits intoNVIDIA:mainfrom
JadoTu:fix_mamba_cache_manager
Jan 9, 2026
Merged

[TRTLLM-9676][fix] Fix mamba_cache_manager when enabling cuda_graph_padding and let test cover this case#9873
nv-guomingz merged 10 commits intoNVIDIA:mainfrom
JadoTu:fix_mamba_cache_manager

Conversation

@JadoTu
Copy link
Collaborator

@JadoTu JadoTu commented Dec 10, 2025

Summary by CodeRabbit

  • Improvements

    • Enhanced request padding optimization for Mamba models in CUDA Graph execution mode, improving performance consistency and stability across variable batch sizes.
    • Justification: MambaCacheManage.pptx
  • Tests

    • Expanded CUDA Graph accuracy testing with dynamic batch size support spanning 1 to 2048, plus improved sampling strategies for validation.

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

-->

Description

  1. Current MambaCacheManager will not deal with padding requests' indices of ssm states. Repeated indices will allure errors in CUDA kernels. This PR is to remove the repeatance.
  2. Change the CI test in order to cover this scenario.

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: jiant <107457950+JadoTu@users.noreply.github.com>
@JadoTu
Copy link
Collaborator Author

JadoTu commented Dec 10, 2025

/bot run

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 10, 2025

📝 Walkthrough

Walkthrough

Three files are modified to support Mamba state reordering during request padding: cuda_graph_runner.py adds conditional calls to new reordering logic, mamba_cache_manager.py introduces state index reordering handling with request masking, and test configuration is updated with dynamic batch sizes and sampling parameter adjustments.

Changes

Cohort / File(s) Summary
Mamba cache padding logic
tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py, tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.py
Adds conditional call to reorder_state_indices_when_padding_requests() in cuda_graph_runner when kv_cache_manager is a Mamba-based manager. Introduces new instance variables (request_mask, state_indices_arange) and reorder_state_indices_when_padding_requests() method in MambaCacheManager to rebuild state indices for padded requests using masked selection and arange rotation.
Test configuration and sampling
tests/integration/defs/accuracy/test_llm_api_pytorch.py
Changes CUDA Graph batch configuration in test_bf16_4gpu from fixed max_batch_size=512 to dynamic batch_sizes=[1, 2, 4, ..., 2048] while maintaining enable_padding=True. Adds runtime override for GSM8K.NUM_SAMPLES to 1319 in evaluation tests.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • mamba_cache_manager.py: The reorder_state_indices_when_padding_requests() method logic requires careful verification—specifically the mask-based selection, arange rotation, and correctness of state index assignment for padded batches.
  • cuda_graph_runner.py: Verify that the conditional invocation correctly identifies Mamba cache manager instances and that the call placement within _get_padded_batch preserves expected padding semantics.
  • test_llm_api_pytorch.py: The batch_sizes expansion significantly broadens test coverage; verify that dynamic batching with padding behaves correctly across the full range, and confirm that GSM8K sampling override (1319 samples) doesn't create test stability issues.

Pre-merge checks and finishing touches

❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
Description check ❓ Inconclusive PR description identifies the problem (repeated indices with padding) and lists test coverage section, but the Test Coverage section is empty with only a comment placeholder. Complete the Test Coverage section by listing which specific test(s) validate the padding-with-padded-requests scenario. Reference test_llm_api_pytorch.py changes and explain how they cover the fix.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly specifies the main fix (mamba_cache_manager with cuda_graph_padding) and mentions test coverage, directly matching the changeset content.
✨ 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.

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 (2)
tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.py (1)

113-120: Reordering logic for padded Mamba state indices looks sound; consider clearing new buffers on shutdown

The new request_mask / state_indices_arange helpers and reorder_state_indices_when_padding_requests() correctly ensure that padded slots in state_indices are filled with distinct, currently unused indices, avoiding repetitions that can upset the CUDA kernels. Under the existing invariants (padded batch size ≤ max_batch_size, one block per active request), you will always have at least padding_size free indices, so the boolean‑mask / advanced indexing pattern is safe.

One small lifecycle nit: shutdown() currently only clears conv_states, ssm_states, and state_indices; for completeness and to keep GPU memory hygiene consistent, it would be good to also clear request_mask and state_indices_arange there.

For example:

     def shutdown(self):
         # release tensor memory, keeping python references as tensors
         self.conv_states = torch.tensor([])
         self.ssm_states = torch.tensor([])
         self.state_indices = torch.tensor([])
+        self.request_mask = torch.tensor([])
+        self.state_indices_arange = torch.tensor([])
         torch.cuda.empty_cache()

Also applies to: 137-147, 179-184

tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py (1)

393-397: Verify call order: Mamba state reordering must happen after prepare_resources for the current batch

The idea to special‑case Mamba by calling reorder_state_indices_when_padding_requests(batch_size, padding_size) when padding is enabled is exactly what’s needed to avoid duplicate SSM state indices for the padded dummy requests.

However, this relies on self.state_indices already reflecting the current batch (including the dummy request ID) as populated by MambaCacheManager._prepare_mamba_cache_blocks().

From the visible code, _get_padded_batch() is invoked from pad_batch() before yielding control back to the caller, and MambaCacheManager.prepare_resources() is (in most architectures) called later as part of the main engine flow. If that’s the case, _prepare_mamba_cache_blocks() will overwrite state_indices after your reorder call, so duplicates for this step’s padding would remain.

You might want to double‑check the actual call order in the engine, and, if prepare_resources() does indeed run after pad_batch, consider moving the reordering to a point that is guaranteed to run post‑_prepare_mamba_cache_blocks (for example, a small post‑processing hook inside MambaCacheManager.prepare_resources, guarded by the same padding_size logic passed in via the caller).

Please verify the engine’s call sequence to ensure this fix is actually taking effect for the padded CUDA‑graph batches.

📜 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 8fefa2c and 08d4e36.

📒 Files selected for processing (3)
  • tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py (2 hunks)
  • tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.py (2 hunks)
  • tests/integration/defs/accuracy/test_llm_api_pytorch.py (2 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
**/*.py

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

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

Files:

  • tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py
  • tests/integration/defs/accuracy/test_llm_api_pytorch.py
  • tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.py
**/*.{cpp,h,cu,py}

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

All TensorRT-LLM Open Source Software code files should contain an NVIDIA copyright header that includes the current year at the top

Files:

  • tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py
  • tests/integration/defs/accuracy/test_llm_api_pytorch.py
  • tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.py
🧠 Learnings (10)
📚 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:

  • tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py
  • tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.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/_torch/pyexecutor/cuda_graph_runner.py
📚 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/defs/accuracy/test_llm_api_pytorch.py
📚 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/defs/accuracy/test_llm_api_pytorch.py
📚 Learning: 2025-09-04T07:33:10.618Z
Learnt from: MrGeva
Repo: NVIDIA/TensorRT-LLM PR: 7219
File: tensorrt_llm/_torch/auto_deploy/compile/backends/torch_cudagraph.py:162-168
Timestamp: 2025-09-04T07:33:10.618Z
Learning: When users explicitly provide cuda_graph_batch_sizes in TorchCudagraphCompiler, respect their choices and only sanitize the values (clamp, dedupe, sort) without forcing additional batch sizes like 1 or max_batch_size. Only add commonly-used batch sizes when falling back to the heuristic.

Applied to files:

  • tests/integration/defs/accuracy/test_llm_api_pytorch.py
📚 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/defs/accuracy/test_llm_api_pytorch.py
📚 Learning: 2025-08-26T09:37:10.463Z
Learnt from: jiaganc
Repo: NVIDIA/TensorRT-LLM PR: 7031
File: tensorrt_llm/bench/dataclasses/configuration.py:90-104
Timestamp: 2025-08-26T09:37:10.463Z
Learning: In TensorRT-LLM's bench configuration, the `get_pytorch_perf_config()` method returns `self.pytorch_config` which is a Dict[str, Any] that can contain default values including `cuda_graph_config`, making the fallback `llm_args["cuda_graph_config"]` safe to use.

Applied to files:

  • tests/integration/defs/accuracy/test_llm_api_pytorch.py
📚 Learning: 2025-08-26T09:37:10.463Z
Learnt from: jiaganc
Repo: NVIDIA/TensorRT-LLM PR: 7031
File: tensorrt_llm/bench/dataclasses/configuration.py:90-104
Timestamp: 2025-08-26T09:37:10.463Z
Learning: In TensorRT-LLM, the `get_pytorch_perf_config()` method returns `self.pytorch_config` which can contain default `cuda_graph_config` values, so `llm_args` may already have this config before the extra options processing.

Applied to files:

  • tests/integration/defs/accuracy/test_llm_api_pytorch.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:

  • tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.py
📚 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:

  • tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.py
🧬 Code graph analysis (2)
tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py (1)
tensorrt_llm/_torch/pyexecutor/mamba_cache_manager.py (3)
  • MambaCacheManager (28-184)
  • MambaHybridCacheManager (187-268)
  • reorder_state_indices_when_padding_requests (138-147)
tests/integration/defs/accuracy/test_llm_api_pytorch.py (3)
tensorrt_llm/llmapi/llm_args.py (1)
  • CudaGraphConfig (102-159)
tests/integration/defs/accuracy/accuracy_core.py (1)
  • GSM8K (334-349)
tensorrt_llm/evaluate/lm_eval.py (1)
  • GSM8K (455-510)
⏰ 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 (3)
tests/integration/defs/accuracy/test_llm_api_pytorch.py (2)

4539-4544: Explicit CUDA graph batch_sizes list looks appropriate

Using an explicit, sorted batch_sizes list with enable_padding=True when cuda_graph is enabled is consistent with how CudaGraphConfig is intended to be used and should exercise the padding path over a wide range of batch sizes. No issues from my side here.


4559-4559: GSM8K NUM_SAMPLES patch is safe and test‑localizes behavior

Patching GSM8K.NUM_SAMPLES to 1319 inside the test keeps this test independent from any global modifications of that attribute elsewhere and aligns with the full‑dataset default. Looks good.

tensorrt_llm/_torch/pyexecutor/cuda_graph_runner.py (1)

18-18: Mamba cache manager import is appropriate and localized

Importing MambaCacheManager / MambaHybridCacheManager here for type checks in _get_padded_batch is reasonable and doesn’t introduce obvious cyclic dependencies.

@tensorrt-cicd
Copy link
Collaborator

PR_Github #27702 [ run ] triggered by Bot. Commit: 08d4e36

@nv-guomingz
Copy link
Collaborator

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #27949 [ run ] triggered by Bot. Commit: 08d4e36

@tensorrt-cicd
Copy link
Collaborator

PR_Github #27949 [ run ] completed with state SUCCESS. Commit: 08d4e36
/LLM/main/L0_MergeRequest_PR pipeline #21344 completed with status: 'SUCCESS'

Signed-off-by: JadoTu <107457950+JadoTu@users.noreply.github.com>
@JadoTu
Copy link
Collaborator Author

JadoTu commented Dec 15, 2025

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #28326 [ run ] triggered by Bot. Commit: ea1c502

@tensorrt-cicd
Copy link
Collaborator

PR_Github #28326 [ run ] completed with state FAILURE. Commit: ea1c502
/LLM/main/L0_MergeRequest_PR pipeline #21670 completed with status: 'FAILURE'

Signed-off-by: jiant <107457950+JadoTu@users.noreply.github.com>
@JadoTu
Copy link
Collaborator Author

JadoTu commented Dec 24, 2025

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #29709 [ run ] triggered by Bot. Commit: 9edd777

@tensorrt-cicd
Copy link
Collaborator

PR_Github #29709 [ run ] completed with state SUCCESS. Commit: 9edd777
/LLM/main/L0_MergeRequest_PR pipeline #22826 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

@JadoTu
Copy link
Collaborator Author

JadoTu commented Dec 24, 2025

/bot run

JadoTu added 2 commits January 2, 2026 18:34
Signed-off-by: jiant <107457950+JadoTu@users.noreply.github.com>
@JadoTu
Copy link
Collaborator Author

JadoTu commented Jan 3, 2026

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30428 [ run ] triggered by Bot. Commit: 2f696fc

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30428 [ run ] completed with state SUCCESS. Commit: 2f696fc
/LLM/main/L0_MergeRequest_PR pipeline #23456 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

@JadoTu
Copy link
Collaborator Author

JadoTu commented Jan 3, 2026

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30435 [ run ] triggered by Bot. Commit: 2f696fc

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30435 [ run ] completed with state SUCCESS. Commit: 2f696fc
/LLM/main/L0_MergeRequest_PR pipeline #23462 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

@JadoTu
Copy link
Collaborator Author

JadoTu commented Jan 4, 2026

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30464 [ run ] triggered by Bot. Commit: 2f696fc

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30464 [ run ] completed with state SUCCESS. Commit: 2f696fc
/LLM/main/L0_MergeRequest_PR pipeline #23486 completed with status: 'SUCCESS'

Signed-off-by: jiant <107457950+JadoTu@users.noreply.github.com>
@JadoTu
Copy link
Collaborator Author

JadoTu commented Jan 6, 2026

Commit 2ecd8a3 is a intermediate product as it solves the cuda D2H sync but brings another CuBin kernel launch overhead.
image

Signed-off-by: jiant <107457950+JadoTu@users.noreply.github.com>
@JadoTu
Copy link
Collaborator Author

JadoTu commented Jan 6, 2026

Commit ce52308 finally solve the runtime launch overhead.
image

@JadoTu
Copy link
Collaborator Author

JadoTu commented Jan 6, 2026

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30711 [ run ] triggered by Bot. Commit: ce52308

@tensorrt-cicd
Copy link
Collaborator

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

@JadoTu
Copy link
Collaborator Author

JadoTu commented Jan 6, 2026

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30757 [ run ] triggered by Bot. Commit: ce52308

@tensorrt-cicd
Copy link
Collaborator

PR_Github #30757 [ run ] completed with state SUCCESS. Commit: ce52308
/LLM/main/L0_MergeRequest_PR pipeline #23740 completed with status: 'SUCCESS'

@nv-guomingz nv-guomingz requested a review from syuoni January 9, 2026 06:23
Copy link
Collaborator

@syuoni syuoni left a comment

Choose a reason for hiding this comment

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

Approved for the cuda graph and test changes.

@nv-guomingz nv-guomingz merged commit 4c498bf into NVIDIA:main Jan 9, 2026
5 checks passed
videodanchik pushed a commit to videodanchik/TensorRT-LLM that referenced this pull request Jan 14, 2026
…adding and let test cover this case (NVIDIA#9873)

Signed-off-by: JadoTu <107457950+JadoTu@users.noreply.github.com>
Signed-off-by: Daniil Kulko <kulkodaniil@gmail.com>
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.

5 participants