Repository navigation
Fix sync issue of TMEM alloc/dealloc - #292
Merged
Merged
Conversation
LyricZhao
approved these changes
Mar 22, 2026
Barry-Delaney
added a commit
to Barry-Delaney/DeepGEMM
that referenced
this pull request
Apr 21, 2026
Brings in upstream commits d30fc36 (TMEM alloc/dealloc sync fix, deepseek-ai#292) and 7f2a703 (public release 26/04: Mega MoE, FP4 indexer, and related refactors, deepseek-ai#304), plus the two NV-side feature commits: - Enable bf16 bias output for FP8 GEMM on SM100 - SM90 paged MQA logits: support kv_block=32 and next_n=4 The upstream deepseek-ai#304 refactor reshapes the attention/MQA layer; conflicts with the pre-merge nv_dev code are resolved by taking the post-deepseek-ai#304 version. Also drops the redundant __syncthreads() in sm100_bmk_bnk_mn.cuh -- deepseek-ai#292 (d30fc36) already covers the same hazard via NamedBarrier.sync.
Barry-Delaney
added a commit
to Barry-Delaney/DeepGEMM
that referenced
this pull request
Apr 21, 2026
Brings in upstream commits d30fc36 (TMEM alloc/dealloc sync fix, deepseek-ai#292) and 7f2a703 (public release 26/04: Mega MoE, FP4 indexer, and related refactors, deepseek-ai#304), plus the two NV-side feature commits: - Enable bf16 bias output for FP8 GEMM on SM100 - SM90 paged MQA logits: support kv_block=32 and next_n=4 The upstream deepseek-ai#304 refactor reshapes the attention/MQA layer; conflicts with the pre-merge nv_dev code are resolved by taking the post-deepseek-ai#304 version. Also drops the redundant __syncthreads() in sm100_bmk_bnk_mn.cuh -- deepseek-ai#292 (d30fc36) already covers the same hazard via NamedBarrier.sync.
Barry-Delaney
added a commit
to Barry-Delaney/DeepGEMM
that referenced
this pull request
Apr 21, 2026
Brings in upstream commits d30fc36 (TMEM alloc/dealloc sync fix, deepseek-ai#292) and 7f2a703 (public release 26/04: Mega MoE, FP4 indexer, and related refactors, deepseek-ai#304), plus the two NV-side feature commits: - Enable bf16 bias output for FP8 GEMM on SM100 - SM90 paged MQA logits: support kv_block=32 and next_n=4 The upstream deepseek-ai#304 refactor reshapes the attention/MQA layer; conflicts with the pre-merge nv_dev code are resolved by taking the post-deepseek-ai#304 version. Also drops the redundant __syncthreads() in sm100_bmk_bnk_mn.cuh that was added by nv_dev's 8e866e4; deepseek-ai#304 removed the equivalent sync upstream (replaced with NamedBarrier.sync in sibling SM100 kernels) so keeping the nv_dev version would diverge from upstream's final sync design.
Barry-Delaney
added a commit
to Barry-Delaney/DeepGEMM
that referenced
this pull request
Apr 21, 2026
Brings in upstream commits d30fc36 (TMEM alloc/dealloc sync fix, deepseek-ai#292) and 7f2a703 (public release 26/04: Mega MoE, FP4 indexer, and related refactors, deepseek-ai#304), plus three NV-side commits: - Enable bf16 bias output for FP8 GEMM on SM100 (xueweil) - SM90 paged MQA logits: support kv_block=32 and next_n=4 (Ray) - Fix SM90 paged MQA logits for post-deepseek-ai#304 metadata/schedule API mismatch The upstream deepseek-ai#304 refactor reshapes the attention/MQA layer; conflicts with the pre-merge nv_dev code are resolved by taking the post-deepseek-ai#304 version. Also drops the redundant __syncthreads() in sm100_bmk_bnk_mn.cuh that was added by nv_dev's 8e866e4; deepseek-ai#304 removed the equivalent sync upstream (replaced with NamedBarrier.sync in sibling SM100 kernels) so keeping the nv_dev version would diverge from upstream's final sync design.
Barry-Delaney
added a commit
to Barry-Delaney/DeepGEMM
that referenced
this pull request
Apr 21, 2026
Brings in upstream commits d30fc36 (TMEM alloc/dealloc sync fix, deepseek-ai#292) and 7f2a703 (public release 26/04: Mega MoE, FP4 indexer, and related refactors, deepseek-ai#304), plus three NV-side commits: - Enable bf16 bias output for FP8 GEMM on SM100 (xueweil) - SM90 paged MQA logits: support kv_block=32 and next_n=4 (Ray) - Fix SM90 paged MQA logits for post-deepseek-ai#304 metadata/schedule API mismatch The upstream deepseek-ai#304 refactor reshapes the attention/MQA layer; conflicts with the pre-merge nv_dev code are resolved by taking the post-deepseek-ai#304 version. Also drops the redundant __syncthreads() in sm100_bmk_bnk_mn.cuh that was added by nv_dev's 8e866e4; deepseek-ai#304 removed the equivalent sync upstream (replaced with NamedBarrier.sync in sibling SM100 kernels) so keeping the nv_dev version would diverge from upstream's final sync design.
Barry-Delaney
added a commit
to Barry-Delaney/DeepGEMM
that referenced
this pull request
Apr 22, 2026
Brings in upstream commits d30fc36 (TMEM alloc/dealloc sync fix, deepseek-ai#292) and 7f2a703 (public release 26/04: Mega MoE, FP4 indexer, and related refactors, deepseek-ai#304), plus three NV-side commits: - Enable bf16 bias output for FP8 GEMM on SM100 (xueweil) - SM90 paged MQA logits: support kv_block=32 and next_n=4 (Ray) - Fix SM90 paged MQA logits for post-deepseek-ai#304 metadata/schedule API mismatch The upstream deepseek-ai#304 refactor reshapes the attention/MQA layer; conflicts with the pre-merge nv_dev code are resolved by taking the post-deepseek-ai#304 version. Also drops the redundant __syncthreads() in sm100_bmk_bnk_mn.cuh that was added by nv_dev's 8e866e4; deepseek-ai#304 removed the equivalent sync upstream (replaced with NamedBarrier.sync in sibling SM100 kernels) so keeping the nv_dev version would diverge from upstream's final sync design.
Barry-Delaney
added a commit
to Barry-Delaney/DeepGEMM
that referenced
this pull request
Apr 22, 2026
Brings in upstream commits d30fc36 (TMEM alloc/dealloc sync fix, deepseek-ai#292) and 7f2a703 (public release 26/04: Mega MoE, FP4 indexer, and related refactors, deepseek-ai#304), plus three NV-side commits: - Enable bf16 bias output for FP8 GEMM on SM100 (xueweil) - SM90 paged MQA logits: support kv_block=32 and next_n=4 (Ray) - Fix SM90 paged MQA logits for post-deepseek-ai#304 metadata/schedule API mismatch The upstream deepseek-ai#304 refactor reshapes the attention/MQA layer; conflicts with the pre-merge nv_dev code are resolved by taking the post-deepseek-ai#304 version. Also drops the redundant __syncthreads() in sm100_bmk_bnk_mn.cuh that was added by nv_dev's 8e866e4; deepseek-ai#304 removed the equivalent sync upstream (replaced with NamedBarrier.sync in sibling SM100 kernels) so keeping the nv_dev version would diverge from upstream's final sync design.
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.
No description provided.