[https://nvbugs/6428057][fix] Propagate host stop criteria across PP ranks#16131
Closed
chienchunhung wants to merge 2 commits into
Closed
[https://nvbugs/6428057][fix] Propagate host stop criteria across PP ranks#16131chienchunhung wants to merge 2 commits into
chienchunhung wants to merge 2 commits into
Conversation
…ranks Signed-off-by: Chien-Chun Hung <2679986+chienchunhung@users.noreply.github.com>
Collaborator
Author
|
/bot run --disable-fail-fast --extra-stage "DGX_B200-4_GPUs-PyTorch-Post-Merge-1, DGX_B200-4_GPUs-PyTorch-Post-Merge-2, GB300-4_GPUs-PyTorch-Post-Merge-3" --detailed-log |
Collaborator
|
PR_Github #58288 [ run ] triggered by Bot. Commit: |
Signed-off-by: Chien-Chun Hung <2679986+chienchunhung@users.noreply.github.com>
Collaborator
Author
|
Closing this draft to avoid duplication and reviewer confusion. PR #16096 will remain the canonical path for root-cause ownership, the fix, waiver cleanup, and verification. |
Collaborator
|
PR_Github #58288 [ run ] completed with state
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
PR #15920 (
4f1c3cd) added a host-side stop-criteria fast path for greedy TorchSampler requests. On the last pipeline-parallel rank, that path setsSampleStateTorch.use_host_stop_criteria=Trueand deliberately leaves devicefinish_reasonsunset. The PP sample-state ring only forwardedsample_state.hostand result diffs, so receiving ranks kept the defaultFalsevalue and entered the device-finish-reason update path with missing state.This mismatch caused the PP worker failures reported after post-merge 2826. The failures landed in the same regression window as #15386, but the responsible change is #15920; this PR does not modify the staged post-load or MoE lifecycle.
The four NVBug records map to three unique waived tests:
Changes
use_host_stop_criteriawith the PP sample-state ring payload.Falsewithout being mutated.use_host_stop_criteria.Test Coverage
Local:
transformers).Targeted CI:
PR_Github #58288 was launched on the initial fix commit
dd211ea. These stages execute the exact unwaived DeepSeek TP2/PP2, DeepSeek PP4, and Nemotron-H LoRA PP2 regressions. The follow-up commit adds only the non-Torch compatibility guard and its CPU regression test; no additional GPU run has been requested yet.Impact
The payload is internal to a homogeneous PP worker group. Torch sampler ranks preserve the host-stop decision, while non-Torch sampler states retain their existing behavior.
Related PRs
main._ring_broadcast_sample_state, forwarduse_host_stop_criteriaalongside… #16130 and [https://nvbugs/6428124][fix] Include use_host_stop_criteria in the PP send/recv payload in… #16134 are repair-bot subsets for individual NVBugs. This PR consolidates the compatibility guard, regression coverage, and all three unique waiver removals.