Skip to content

[https://nvbugs/6007967][fix] fix disagg pp hang issue - #12528

Merged
bo-nv merged 2 commits into
NVIDIA:mainfrom
bo-nv:main-6007967
Apr 2, 2026
Merged

[https://nvbugs/6007967][fix] fix disagg pp hang issue#12528
bo-nv merged 2 commits into
NVIDIA:mainfrom
bo-nv:main-6007967

Conversation

@bo-nv

@bo-nv bo-nv commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Bug Fixes
    • Improved inter-process communication synchronization during distributed batch processing to enhance reliability and prevent potential communication delays in multi-node tensor parallelism inference deployments.
  • Tests
    • Removed test waivers for disaggregated serving scenarios, confirming improved system stability and successful verification of tensor parallelism functionality across various parameter configurations.

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)

  • 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 requested a review from a team as a code owner March 25, 2026 07:25
@bo-nv
bo-nv requested a review from lancelly March 25, 2026 07:25
@coderabbitai

coderabbitai Bot commented Mar 25, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This pull request adds conditional MPI send flushing logic to the sample state broadcasting loop in the PyExecutor, forcing an MPI progress-driving wait when the executed batch queue is empty. Additionally, three test waivers for disaggregated serving tests are removed from the waiver list.

Changes

Cohort / File(s) Summary
MPI Synchronization
tensorrt_llm/_torch/pyexecutor/py_executor.py
Adds conditional MPI send handle waiting in _broadcast_sample_state_loop: when executed_batch_queue is empty, calls wait_on_pp_send_handles(...) on pending sends for the current microbatch before blocking on queue retrieval.
Test Waivers
tests/integration/test_lists/waives.txt
Removes three test waivers for accuracy/test_disaggregated_serving.py::TestLlama3_1_8BInstruct::test_ctx_pp_gen_tp_asymmetric parameterizations related to GSM8K/MMLU with specific ctx_pp and gen_tp configurations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ⚠️ Warning The PR description is completely empty, containing only the template structure with no substantive information about the fix, test coverage, or checklist completion. Add a clear description of the issue being fixed (disagg pp hang), explain the solution, list relevant test cases, and fill out the PR checklist items.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the issue (NVBugs 6007967) and describes the fix (disagg pp hang issue), directly related to the code changes in py_executor.py.

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

@bo-nv

bo-nv commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40286 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40286 [ run ] completed with state SUCCESS. Commit: 00c7fdb
/LLM/main/L0_MergeRequest_PR pipeline #31399 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 Mar 25, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40335 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40335 [ run ] completed with state SUCCESS. Commit: 00c7fdb
/LLM/main/L0_MergeRequest_PR pipeline #31441 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 Mar 25, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40365 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40365 [ run ] completed with state FAILURE. Commit: 00c7fdb
/LLM/main/L0_MergeRequest_PR pipeline #31467 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 Mar 26, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40397 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40397 [ run ] completed with state FAILURE. Commit: 00c7fdb
/LLM/main/L0_MergeRequest_PR pipeline #31492 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 Mar 26, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40427 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40427 [ run ] completed with state FAILURE. Commit: 00c7fdb
/LLM/main/L0_MergeRequest_PR pipeline #31520 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 Mar 28, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40535 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40535 [ run ] completed with state DISABLED
CI server is currently disabled for scheduled maintenance. Estimated completion time: 9 PM PST on 3/28.

Link to invocation

@bo-nv

bo-nv commented Mar 28, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40545 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40545 [ run ] completed with state DISABLED
CI server is currently disabled for scheduled maintenance. Estimated completion time: 9 PM PST on 3/28.

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40816 [ run ] completed with state SUCCESS. Commit: 00c7fdb
/LLM/main/L0_MergeRequest_PR pipeline #31830 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 Mar 31, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40953 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40953 [ run ] completed with state SUCCESS. Commit: 00c7fdb
/LLM/main/L0_MergeRequest_PR pipeline #31941 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 Mar 31, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40993 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #40993 [ run ] completed with state SUCCESS. Commit: 00c7fdb
/LLM/main/L0_MergeRequest_PR pipeline #31973 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 Mar 31, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #41023 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #41023 [ run ] completed with state FAILURE. Commit: 00c7fdb
/LLM/main/L0_MergeRequest_PR pipeline #32002 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 Apr 1, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #41054 [ run ] triggered by Bot. Commit: 00c7fdb Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #41054 [ run ] completed with state FAILURE. Commit: 00c7fdb
/LLM/main/L0_MergeRequest_PR pipeline #32030 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 Apr 1, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

bo-nv added 2 commits April 1, 2026 10:05
Signed-off-by: Bo Deng <deemod@nvidia.com>
Signed-off-by: Bo Deng <deemod@nvidia.com>
@bo-nv

bo-nv commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@bo-nv
bo-nv enabled auto-merge (squash) April 1, 2026 10:08
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #41183 [ run ] triggered by Bot. Commit: 638949c Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #41183 [ run ] completed with state SUCCESS. Commit: 638949c
/LLM/main/L0_MergeRequest_PR pipeline #32146 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 Apr 1, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #41279 [ run ] triggered by Bot. Commit: 638949c Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #41279 [ run ] completed with state SUCCESS. Commit: 638949c
/LLM/main/L0_MergeRequest_PR pipeline #32237 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 Apr 2, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #41379 [ run ] triggered by Bot. Commit: 638949c Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #41379 [ run ] completed with state SUCCESS. Commit: 638949c
/LLM/main/L0_MergeRequest_PR pipeline #32319 completed with status: 'SUCCESS'

CI Report

Link to invocation

@bo-nv
bo-nv merged commit 2b4f54c into NVIDIA:main Apr 2, 2026
5 checks passed
karen-sy pushed a commit to karen-sy/TensorRT-LLM that referenced this pull request Apr 7, 2026
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.

4 participants