Skip to content

[https://nvbugs/6108994][fix] add kv_transfer_timeout_ms to avoid timeout#15152

Merged
chenfeiz0326 merged 1 commit into
NVIDIA:mainfrom
bo-nv:bug-6108994
Jun 11, 2026
Merged

[https://nvbugs/6108994][fix] add kv_transfer_timeout_ms to avoid timeout#15152
chenfeiz0326 merged 1 commit into
NVIDIA:mainfrom
bo-nv:bug-6108994

Conversation

@bo-nv

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

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

Release Notes

  • Chores
    • Updated performance test configurations with revised timeout settings to improve test stability and reliability across multiple benchmark scenarios.

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 9, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Four disaggregated benchmark YAML configuration files receive identical updates: kv_transfer_timeout_ms: 600000 is added to both worker_config.gen.cache_transceiver_config and worker_config.ctx.cache_transceiver_config sections across perf-sanity and perf test suites for NIXL and UCX backends.

Changes

KV Transfer Timeout Configuration

Layer / File(s) Summary
KV transfer timeout configuration updates
tests/scripts/perf-sanity/disaggregated/gb300_deepseek-v32-fp4_32k4k_con256_ctx1_dep8_gen1_dep8_eplb0_mtp0_ccb-NIXL.yaml, tests/scripts/perf/disaggregated/gb300_deepseek-r1-fp4_128k8k_con256_ctx1_pp4_gen1_dep8_eplb0_mtp1_ccb-NIXL.yaml, tests/scripts/perf/disaggregated/gb300_deepseek-r1-fp4_128k8k_con256_ctx1_pp4_gen1_dep8_eplb0_mtp1_ccb-UCX.yaml, tests/scripts/perf/disaggregated/gb300_deepseek-v32-fp4_32k4k_con256_ctx1_dep8_gen1_dep8_eplb0_mtp0_ccb-NIXL.yaml
All benchmark YAML configuration files add kv_transfer_timeout_ms: 600000 to both worker_config.gen and worker_config.ctx cache transceiver configs, standardizing KV transfer timeout across disaggregated benchmark scenarios for NIXL and UCX backends.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • NVIDIA/TensorRT-LLM#14856: Both PRs modify the same disaggregated benchmark YAML fields—adding worker_config.{gen,ctx}.cache_transceiver_config.kv_transfer_timeout_ms: 600000 to avoid NIXL/UCX KV-transfer timeouts.

Suggested reviewers

  • chenfeiz0326
  • fredricz-20070104
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete. It only contains the template structure with empty sections for Description and Test Coverage, and does not provide any explanation of the issue being fixed or testing details. Fill in the Description section explaining what timeout issue was encountered and why the 600000ms value was chosen, and add Test Coverage details listing the YAML config files being modified and how they are validated.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly references the NVBugs ID, specifies the type as [fix], and succinctly describes the main change: adding kv_transfer_timeout_ms configuration to resolve timeout issues.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 and usage tips.

@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: 1

🧹 Nitpick comments (1)
tests/scripts/perf-sanity/disaggregated/gb300_deepseek-v32-fp4_32k4k_con256_ctx1_dep8_gen1_dep8_eplb0_mtp0_ccb-NIXL.yaml (1)

70-73: 💤 Low value

Consider adding a comment explaining the large timeout value.

The 600-second timeout is a 10x increase from the default 60 seconds. Given the long input sequences (32k tokens), large output (4k tokens), and high concurrency (256), this is reasonable, but an inline comment would help future maintainers understand why such a large value is necessary for this benchmark scenario.

📝 Suggested comment
     cache_transceiver_config:
       max_tokens_in_buffer: 120000
       backend: NIXL
+      # 600s timeout (10x default) needed for 32k4k long-context disaggregated transfers at high concurrency
       kv_transfer_timeout_ms: 600000

Apply the same comment pattern to the ctx section at line 101.

🤖 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/scripts/perf-sanity/disaggregated/gb300_deepseek-v32-fp4_32k4k_con256_ctx1_dep8_gen1_dep8_eplb0_mtp0_ccb-NIXL.yaml`
around lines 70 - 73, Add an inline comment next to the cache_transceiver_config
kv_transfer_timeout_ms: 600000 setting explaining the rationale for the large
600s timeout (long 32k token inputs, 4k token outputs, high concurrency 256 and
heavy transfer latencies in this benchmark) so future maintainers understand
it's intentional; also add the same explanatory comment pattern to the ctx
section's timeout/transfer-related field (the ctx block referenced in the diff)
to keep both places consistent.
🤖 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
`@tests/scripts/perf/disaggregated/gb300_deepseek-v32-fp4_32k4k_con256_ctx1_dep8_gen1_dep8_eplb0_mtp0_ccb-NIXL.yaml`:
- Around line 70-73: The disaggregated configs are inconsistent: only some
include cache_transceiver_config.kv_transfer_timeout_ms while others (DeepSeek
long-context variants using NIXL/UCX) omit it, which may trigger nvbugs/6108994;
update every disaggregated DeepSeek long-context NIXL/UCX YAML that defines
cache_transceiver_config to add kv_transfer_timeout_ms: 600000 (i.e., ensure the
cache_transceiver_config.kv_transfer_timeout_ms key is present and set to 600000
across those variants), or alternatively add a short comment/doc explaining why
a higher timeout is not needed for specific files if you deliberately omit it.

---

Nitpick comments:
In
`@tests/scripts/perf-sanity/disaggregated/gb300_deepseek-v32-fp4_32k4k_con256_ctx1_dep8_gen1_dep8_eplb0_mtp0_ccb-NIXL.yaml`:
- Around line 70-73: Add an inline comment next to the cache_transceiver_config
kv_transfer_timeout_ms: 600000 setting explaining the rationale for the large
600s timeout (long 32k token inputs, 4k token outputs, high concurrency 256 and
heavy transfer latencies in this benchmark) so future maintainers understand
it's intentional; also add the same explanatory comment pattern to the ctx
section's timeout/transfer-related field (the ctx block referenced in the diff)
to keep both places consistent.
🪄 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: 83089d61-58f9-43c4-8fd6-07e114892a4f

📥 Commits

Reviewing files that changed from the base of the PR and between b852703 and f3111aa.

📒 Files selected for processing (4)
  • tests/scripts/perf-sanity/disaggregated/gb300_deepseek-v32-fp4_32k4k_con256_ctx1_dep8_gen1_dep8_eplb0_mtp0_ccb-NIXL.yaml
  • tests/scripts/perf/disaggregated/gb300_deepseek-r1-fp4_128k8k_con256_ctx1_pp4_gen1_dep8_eplb0_mtp1_ccb-NIXL.yaml
  • tests/scripts/perf/disaggregated/gb300_deepseek-r1-fp4_128k8k_con256_ctx1_pp4_gen1_dep8_eplb0_mtp1_ccb-UCX.yaml
  • tests/scripts/perf/disaggregated/gb300_deepseek-v32-fp4_32k4k_con256_ctx1_dep8_gen1_dep8_eplb0_mtp0_ccb-NIXL.yaml

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53024 [ run ] triggered by Bot. Commit: f3111aa Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53024 [ run ] completed with state SUCCESS. Commit: f3111aa
/LLM/main/L0_MergeRequest_PR pipeline #42247 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 9, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53078 [ run ] triggered by Bot. Commit: f3111aa Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53078 [ run ] completed with state SUCCESS. Commit: f3111aa
/LLM/main/L0_MergeRequest_PR pipeline #42290 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 9, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53128 [ run ] triggered by Bot. Commit: f3111aa Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53128 [ run ] completed with state FAILURE. Commit: f3111aa
/LLM/main/L0_MergeRequest_PR pipeline #42334 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 9, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53160 [ run ] triggered by Bot. Commit: f3111aa Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53160 [ run ] completed with state FAILURE. Commit: f3111aa
/LLM/main/L0_MergeRequest_PR pipeline #42363 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 10, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53210 [ run ] triggered by Bot. Commit: f3111aa Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

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

@chenfeiz0326

Copy link
Copy Markdown
Collaborator

/bot run --disable-fail-fast --stage-list "GB200-24_GPUs-6_Nodes-PyTorch-Disagg-PerfSanity-CTX1-NODE2-GPU8-GEN1-NODE4-GPU16-Post-Merge-1,GB200-24_GPUs-6_Nodes-PyTorch-Disagg-PerfSanity-CTX1-NODE2-GPU8-GEN1-NODE4-GPU16-Post-Merge-2,GB300-12_GPUs-3_Nodes-PyTorch-Disagg-PerfSanity-CTX1-NODE1-GPU4-GEN1-NODE2-GPU8-Post-Merge-4"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53278 [ run ] triggered by Bot. Commit: 181b952 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53278 [ run ] completed with state FAILURE. Commit: 181b952
/LLM/main/L0_MergeRequest_PR pipeline #42468 (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

…eout

Signed-off-by: Bo Deng <deemod@nvidia.com>
@bo-nv

bo-nv commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator Author

/bot help

@github-actions

Copy link
Copy Markdown

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) --high-priority]

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. Supports wildcard * for pattern matching (e.g., "*PerfSanity*" matches all stages containing PerfSanity). Examples: "A10-PyTorch-1, xxx", "PerfSanity". 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. Supports wildcard * for pattern matching. Examples: --extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx", --extra-stage "Post-Merge".

--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.

--high-priority (OPTIONAL) : Run the pipeline with high priority. This option is restricted to authorized users only and will route the job to a high-priority queue.

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.

@bo-nv

bo-nv commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator Author

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53414 [ skip ] triggered by Bot. Commit: 71979fe Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #53414 [ skip ] completed with state SUCCESS. Commit: 71979fe
Skipping testing for commit 71979fe

Link to invocation

@chenfeiz0326
chenfeiz0326 merged commit cab198d into NVIDIA:main Jun 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants