Skip to content

[TRTLLM-17125][fix] Address PR review on agg Helix preemption - #21138

Merged
asfiyab-nvidia merged 1 commit into
NVIDIA:feat/helix-aggfrom
asfiyab-nvidia:dev-asfiyab-17125-review-fix-helix-agg
Oct 27, 2026
Merged

asfiyab-nvidia merged 1 commit into
NVIDIA:feat/helix-aggfrom
asfiyab-nvidia:dev-asfiyab-17125-review-fix-helix-agg

Conversation

@asfiyab-nvidia

Copy link
Copy Markdown
Contributor

Description

Sync KV cache manager init status across CP ranks on the GPU-only aggregated Helix path so a failed allocation aborts every rank instead of hanging peers. Require pp_size == 1 for the opt-in schedule check, since the PP loop never calls it. Register the Helix preemption test in l0_a10 and mark the new init-sync test cpu_only.

Test Coverage

Add test_agg_helix_gpu_only_init_syncs_status_across_ranks

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.

Sync KV cache manager init status across CP ranks on the GPU-only aggregated Helix path so a failed allocation aborts every rank instead of hanging peers. Require pp_size == 1 for the opt-in schedule check, since the PP loop never calls it. Register the Helix preemption test in l0_a10 and mark the new init-sync test cpu_only.

Signed-off-by: Asfiya Baig <asfiyab@nvidia.com>
@asfiyab-nvidia
asfiyab-nvidia requested review from a team as code owners October 27, 2026 23:17
@asfiyab-nvidia
asfiyab-nvidia merged commit 8a8ea94 into NVIDIA:feat/helix-agg Oct 27, 2026
8 of 9 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.

1 participant