-
Notifications
You must be signed in to change notification settings - Fork 80
Cuda-graph capturable Dispatch and combine #6031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
samnordmann
wants to merge
17
commits into
main
Choose a base branch
from
dispatch_combine/remove_tcp_sync
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
75f42b3
adding cuda graph capturable d/c but test failing when capture enabled
samnordmann a83937d
fix cuda graph capture
samnordmann 93af651
lint
samnordmann d67780b
fix semaphore for cuda graph capture
samnordmann 7480e88
Guard against re-allocation and Separate max_send_bytes from max_send…
samnordmann 8b7c2de
clean
samnordmann 5377fed
lint
samnordmann ce82b07
minor comments
samnordmann 75fa32f
lint
samnordmann b8c4c78
Use symbolic Val* for MoeCombine num_tokens instead int64_t
samnordmann ee790cb
fix semaphore logic and move it to ipc_handle
samnordmann 86bc54b
Merge branch 'main' of github.com:NVIDIA/Fuser into dispatch_combine/…
samnordmann 1f622c7
minor cleanup
samnordmann d955e65
lint
samnordmann 9c3e464
Merge branch 'main' of github.com:NVIDIA/Fuser into dispatch_combine/…
samnordmann 2cc0919
lint
samnordmann c5e1ae6
Merge branch 'main' of github.com:NVIDIA/Fuser into dispatch_combine/…
samnordmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Divisibility guard removed — silent wrong
elem_strideif mismatchedThe PR removes the checks:
elem_strideis computed assend.numel() / metadata.max_send_total. Ifsend.numel()is not divisible bymax_send_total(e.g. because a caller passes mismatched metadata), integer truncation silently gives a wrong stride. Everysend_offsets,send_counts, andrecv_offsetsis then scaled by this wrong value before being passed to the kernel, producing corrupted data without any error. The checks were cheap and provided essential diagnostic value; removing them for graph-capturability does not improve performance because they are CPU-side and never execute inside a captured region.