Skip to content

[None][test] Half K25 Agg Multi Round to Solve Timeout Issue - #15083

Merged
chenfeiz0326 merged 2 commits into
NVIDIA:mainfrom
chenfeiz0326:chenfeiz/update-k25-multi-round-config
Jun 8, 2026
Merged

[None][test] Half K25 Agg Multi Round to Solve Timeout Issue#15083
chenfeiz0326 merged 2 commits into
NVIDIA:mainfrom
chenfeiz0326:chenfeiz/update-k25-multi-round-config

Conversation

@chenfeiz0326

@chenfeiz0326 chenfeiz0326 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

Release Notes

  • Tests
    • Updated performance sanity test configurations to reduce iteration counts across multiple benchmark variants while maintaining concurrency settings.

Description

Test Coverage

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

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

@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR reduces test iterations from 10 to 5 across performance sanity YAML configurations for K2.5 FP4 deployments (Dynamo-enabled, multi-node, and single-node variants), while maintaining the original concurrency settings for each test scenario.

Changes

K2.5 FP4 Performance Test Configuration Updates

Layer / File(s) Summary
Reduce test iterations across K2.5 FP4 configurations
tests/scripts/perf-sanity/aggregated/dynamo_k25_thinking_fp4_blackwell.yaml, tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_2_nodes_grace_blackwell.yaml, tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_blackwell.yaml, tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_grace_blackwell.yaml
Eight test configuration entries are updated to reduce iterations from 10 to 5 across different concurrency presets (con2, con128, con256, con512) while preserving concurrency values in Dynamo, multi-node Grace/Blackwell, single-node Blackwell, and single-node Grace/Blackwell test variants.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

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

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is entirely the template with all sections incomplete; no actual description, test coverage details, or rationale for the changes are provided. Fill in the Description section explaining why iterations were reduced and how this solves timeouts. Add Test Coverage section listing affected test configurations.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title correctly identifies the main change: reducing iterations in K25 performance sanity test configurations to address 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 (3)
tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_grace_blackwell.yaml (1)

29-31: 💤 Low value

Very low prompt count for low-concurrency test; verify adequacy.

Reducing iterations to 5 with concurrency: 2 yields only 10 total prompts. While consistent with the other files in this PR, this minimal sample size may not provide adequate coverage for detecting performance regressions on the Grace Blackwell platform. Consider whether this test should retain more iterations if the timeout issue is primarily in higher-concurrency scenarios.

🤖 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/aggregated/k25_thinking_fp4_grace_blackwell.yaml`
around lines 29 - 31, The test "con2_iter5_8k1k" currently uses concurrency: 2
and iterations: 5 (only 10 total prompts); increase the iterations value (e.g.,
to at least 20 or match the iterations used by the sibling performance configs)
so the low-concurrency run produces a larger sample size for meaningful
regression detection; update the iterations key for the "con2_iter5_8k1k" entry
(and keep concurrency: 2) to ensure adequate coverage.
tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_2_nodes_grace_blackwell.yaml (1)

30-32: 💤 Low value

Very low prompt count for low-concurrency test; verify adequacy.

Reducing iterations to 5 with concurrency: 2 yields only 10 total prompts for this 32k8k multi-node configuration. While this may address timeout issues, 10 prompts provides minimal statistical coverage for detecting performance regressions. Verify that this is sufficient for sanity checking or consider whether this test should retain more iterations (or whether alternative timeout mitigations are feasible).

🤖 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/aggregated/k25_thinking_fp4_2_nodes_grace_blackwell.yaml`
around lines 30 - 32, The test case "con2_iter5_32k8k" currently sets
concurrency: 2 and iterations: 5 (only 10 total prompts), which is likely too
small for reliable perf sanity checks; update the YAML entry for the test named
"con2_iter5_32k8k" to increase iterations (e.g., to 20 or another value that
yields adequate sample size given concurrency: 2) or add an explicit
comment/metadata justifying the low iteration count and any timeout mitigation
used so reviewers can accept the reduced sample; ensure you modify the
iterations field and/or add a clear inline note next to the name so the intent
is obvious.
tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_blackwell.yaml (1)

29-31: 💤 Low value

Very low prompt count for low-concurrency tests; consider retaining more iterations.

Both con2 configurations now yield only 10 total prompts each (for both 8k1k and 32k8k variants). While this may address timeout issues, the minimal sample size may not provide adequate coverage for performance regression detection. Consider whether:

  • These low-concurrency tests could retain 10 iterations (if timeout is primarily in high-concurrency configs)
  • Alternative timeout mitigations exist (e.g., per-test timeout increases)

Also applies to: 95-97

🤖 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/aggregated/k25_thinking_fp4_blackwell.yaml` around
lines 29 - 31, The low-concurrency test entries (e.g., the YAML block with name
"con2_iter5_8k1k" and its sibling 32k8k con2 entry) currently use iterations: 5
which yields too few prompts; change iterations from 5 to 10 for these con2_*
entries to restore a larger sample size, or alternatively keep iterations at 10
and instead raise the per-test timeout if timeouts were the reason for reducing
iterations — update the entries named "con2_iter5_8k1k" and the matching con2
32k8k entry accordingly.
🤖 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-sanity/aggregated/dynamo_k25_thinking_fp4_blackwell.yaml`:
- Around line 32-34: Add a brief note (either as a YAML comment near the
con128_iter5_2k1k entry or in the PR description) that explains the timeout root
cause and why iterations were reduced: state that the original
con128_iter10_2k1k (iterations: 10) was hitting the transfer/response timeout
during key-value transfer/response handling (the failing component was the KV
transfer / RPC response path that exceeded the existing
kv_transfer_timeout_ms/timeout_iters), causing test runs to abort; explain that
reducing iterations to 5 prevents repeated back-to-back timeouts while still
providing 640 total prompts at concurrency 128 for this deployment variant, and
justify that 5 iterations maintain statistical signal because of fixed high
concurrency (128) and the test’s focus on median/percentile latency rather than
rare-tail extremes (or note what alternate threshold/logic—e.g., percentile
checks or additional runs—will compensate for the smaller sample).

---

Nitpick comments:
In
`@tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_2_nodes_grace_blackwell.yaml`:
- Around line 30-32: The test case "con2_iter5_32k8k" currently sets
concurrency: 2 and iterations: 5 (only 10 total prompts), which is likely too
small for reliable perf sanity checks; update the YAML entry for the test named
"con2_iter5_32k8k" to increase iterations (e.g., to 20 or another value that
yields adequate sample size given concurrency: 2) or add an explicit
comment/metadata justifying the low iteration count and any timeout mitigation
used so reviewers can accept the reduced sample; ensure you modify the
iterations field and/or add a clear inline note next to the name so the intent
is obvious.

In `@tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_blackwell.yaml`:
- Around line 29-31: The low-concurrency test entries (e.g., the YAML block with
name "con2_iter5_8k1k" and its sibling 32k8k con2 entry) currently use
iterations: 5 which yields too few prompts; change iterations from 5 to 10 for
these con2_* entries to restore a larger sample size, or alternatively keep
iterations at 10 and instead raise the per-test timeout if timeouts were the
reason for reducing iterations — update the entries named "con2_iter5_8k1k" and
the matching con2 32k8k entry accordingly.

In `@tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_grace_blackwell.yaml`:
- Around line 29-31: The test "con2_iter5_8k1k" currently uses concurrency: 2
and iterations: 5 (only 10 total prompts); increase the iterations value (e.g.,
to at least 20 or match the iterations used by the sibling performance configs)
so the low-concurrency run produces a larger sample size for meaningful
regression detection; update the iterations key for the "con2_iter5_8k1k" entry
(and keep concurrency: 2) to ensure adequate coverage.
🪄 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: 09bc74e1-1892-4842-8ac1-5458a6e7e39c

📥 Commits

Reviewing files that changed from the base of the PR and between 5fa68a4 and 30e103e.

📒 Files selected for processing (4)
  • tests/scripts/perf-sanity/aggregated/dynamo_k25_thinking_fp4_blackwell.yaml
  • tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_2_nodes_grace_blackwell.yaml
  • tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_blackwell.yaml
  • tests/scripts/perf-sanity/aggregated/k25_thinking_fp4_grace_blackwell.yaml

@chenfeiz0326

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast --stage-list "DGX_B200-8_GPUs-PyTorch-PerfSanity-Post-Merge-2,DGX_B200-8_GPUs-PyTorch-PerfSanity-Post-Merge-2,DGX_B200-8_GPUs-PyTorch-PerfSanity-Post-Merge-3,DGX_B200-8_GPUs-PyTorch-PerfSanity-Post-Merge-4,GB200-8_GPUs-2_Nodes-PyTorch-PerfSanity-Node2-GPU8-Post-Merge-7"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #52703 [ run ] triggered by Bot. Commit: 30e103e Link to invocation

@chenfeiz0326
chenfeiz0326 force-pushed the chenfeiz/update-k25-multi-round-config branch from c50f30b to 0b7326a Compare June 8, 2026 07:55
@chenfeiz0326

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast --stage-list "DGX_B200-8_GPUs-PyTorch-PerfSanity-Post-Merge-2,DGX_B200-8_GPUs-PyTorch-PerfSanity-Post-Merge-2,DGX_B200-8_GPUs-PyTorch-PerfSanity-Post-Merge-3,DGX_B200-8_GPUs-PyTorch-PerfSanity-Post-Merge-4,GB200-8_GPUs-2_Nodes-PyTorch-PerfSanity-Node2-GPU8-Post-Merge-7"

@chenfeiz0326
chenfeiz0326 requested a review from mzweilz June 8, 2026 07:57
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #52707 [ run ] triggered by Bot. Commit: 0b7326a Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #52703 [ run ] completed with state ABORTED. Commit: 30e103e

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #52707 [ run ] completed with state SUCCESS. Commit: 0b7326a
/LLM/main/L0_MergeRequest_PR pipeline #41974 (Partly Tested) completed with status: 'SUCCESS'

CI Report

Link to invocation

Signed-off-by: Chenfei Zhang <chenfeiz@nvidia.com>
Signed-off-by: Chenfei Zhang <chenfeiz@nvidia.com>
@chenfeiz0326
chenfeiz0326 force-pushed the chenfeiz/update-k25-multi-round-config branch from 0b7326a to ef7e2ea Compare June 8, 2026 14:00
@chenfeiz0326

Copy link
Copy Markdown
Collaborator Author

/bot skip --comment "Only unwaive perf tests, no need to run the whole CI pipeline"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #52787 [ skip ] triggered by Bot. Commit: ef7e2ea Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

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

Link to invocation

@chenfeiz0326
chenfeiz0326 merged commit 9eaa468 into NVIDIA:main Jun 8, 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