Repository navigation
Conversation
kapilsh
force-pushed
the
symmem/stream-guard
branch
from
November 16, 2026 15:26
93262ee to
0dd13e4
Compare
kapilsh
force-pushed
the
symmem/stream-guard
branch
6 times, most recently
from
November 19, 2026 19:26
f7372bf to
de08ec8
Compare
kapilsh
force-pushed
the
symmem/stream-guard
branch
from
November 20, 2026 02:41
de08ec8 to
717e79d
Compare
kapilsh
force-pushed
the
symmem/stream-guard
branch
2 times, most recently
from
November 22, 2026 14:05
d0343d2 to
7c1f3f1
Compare
kapilsh
force-pushed
the
symmem/stream-guard
branch
from
November 26, 2026 11:32
7c1f3f1 to
50db5e2
Compare
kapilsh
requested review from
brandondfeng,
d4l3k,
dolpm and
tushar00jain
as code owners
November 26, 2026 11:32
Mirrors PyTorch's GroupStreamGuard (#195947, #199418). Two signal-pad operations of one group running concurrently on different streams can consume each other's signals, e.g. a barrier finishing before every rank arrived. group_stream_guard wraps barrier, put_signal and wait_signal. Per (process group, device) it records an event after each launch; an operation on a different stream waits on it first. Under graph capture the record and wait become graph edges, tracked separately from eager operations. State is keyed weakly by the process group. Unlike torch, the NCCL backend's put_signal/wait_signal are guarded too: here both backends share the same kernels and signal pad. Tests check the ordering through captured graph edges and cuStreamWaitValue32 gates, within a group and across groups.
kapilsh
force-pushed
the
symmem/stream-guard
branch
from
November 27, 2026 11:10
50db5e2 to
1ecfd41
Compare
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.
Summary
Test plan