-
Notifications
You must be signed in to change notification settings - Fork 766
[Feat] Single Batch Overlap (SBO): Overlaping of Down GEMM with Combine Send #183
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
Sulfur6
wants to merge
72
commits into
deepseek-ai:main
Choose a base branch
from
Sulfur6:sbo.v2.public
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 all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
9ac3853
feat: add signal gemm api for SBO (Single Batch Overlap).
Sulfur6 79b5a45
feat: add launch config args for coorperative groups.
Sulfur6 6cf6ca1
feat: add signal gemm impl&runtime in jit kernels.
Sulfur6 1e2c135
feat: add signal gemm kernel.
Sulfur6 a5d23b0
feat: add signal gemm import in deep_gemm package.
Sulfur6 48c741a
feat: add test for signal gemm.
Sulfur6 9a2d3e5
feat: add signal threshold as a config arg for signal gemm.
Sulfur6 03f61d2
add comparation test.
Sulfur6 e86f1f9
avoid using bench kineto
Sulfur6 e7ebff1
test: modify generators to fit bs32 down gemm.
Sulfur6 8037369
more
Sulfur6 55c7943
more.
Sulfur6 99cc43b
more.
Sulfur6 4bfed47
fix
Sulfur6 4a14a40
more.
Sulfur6 701751c
more.
Sulfur6 8035121
more.
Sulfur6 02edd31
more.
Sulfur6 0fcd03c
feat: add param max_block_n
Sulfur6 2ec7414
test
Sulfur6 a63152f
more.
Sulfur6 92b29f6
more.
Sulfur6 be21bf6
more.
Sulfur6 ffa1140
more.
Sulfur6 4802c62
fix: ensure memory order and send location.
Sulfur6 6271138
more.
Sulfur6 57bb435
exp
Sulfur6 d6e63a3
exp
Sulfur6 a21c96f
rollback generator.
Sulfur6 51740cf
remove threadfence.
Sulfur6 656fe10
add threadfence.
Sulfur6 7e385a9
complete test.
Sulfur6 8a138ad
fix: turn comment from chinese to english.
Sulfur6 2dfdce5
refactor: merge signal gemm related api & sm90 impl into existing api…
Sulfur6 21da45d
refactor: add params in common.
Sulfur6 cd062ad
refactor: merge signal gemm kernel to fp8 gemm kernel.
Sulfur6 387f068
update tests.
Sulfur6 aa81d53
fix
Sulfur6 e252aaa
fix.
Sulfur6 1d0a364
fix.
Sulfur6 8c2e6b8
fix.
Sulfur6 3517989
fix.
Sulfur6 a086212
fix.
Sulfur6 e6c6977
fix.
Sulfur6 7af0f7a
debug
Sulfur6 2c9fa44
more
Sulfur6 96cdc90
fix.
Sulfur6 11eeed6
more.
Sulfur6 debb196
fix.
Sulfur6 7ee0480
fix
Sulfur6 0c0eac8
more.
Sulfur6 af77de9
remove comments.
Sulfur6 23be492
remove code dup.
Sulfur6 84526c5
remove signal gemm api.
Sulfur6 f858cad
fix.
Sulfur6 ee1a058
feat: use NamedBarrier instead of coorperative groups.
Sulfur6 ec8b7c1
refactor: unify test for overlap with test for masked gemm.
Sulfur6 ad8874a
ref
Sulfur6 59dc1aa
fix.
Sulfur6 5edbbc5
fix.
Sulfur6 bf0d62a
fix.
Sulfur6 b78061b
fix.
Sulfur6 848952b
fix.
Sulfur6 bbc09d6
add test for EP16 situation.
Sulfur6 4011a8a
remove code dup.
Sulfur6 b9f37f2
more.
Sulfur6 07aa61c
more.
Sulfur6 379a913
try to use atom.add.release.gpu.global.s32 instead of __threadfence w…
Sulfur6 9f769b4
remove redundant change.
Sulfur6 eb1091f
fix.
Sulfur6 ede008b
fix.
Sulfur6 d232a36
Merge remote-tracking branch 'origin/main' into sbo.v2.public
Sulfur6 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
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
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.
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.
expert_len = max_m // block_m->expert_len = (max_m + block_m - 1) // block_m?