mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepGEMM#477
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/470
Author: @deepak-kumar-neu
Created: 10/13/2026
Status: ❌ Closed
Base:
nv_dev← Head:sync/upstream-dev-e1f418c2📝 Commits (10+)
e8147a8Merge upstream/nv_dev at8b1392binto midstream/nv_dev9e4a022Merge pull request #10 from Gregory-Pereira/sync/upstream-nv_dev-8b1392b66081d4Public Release 26/09 (#432)20567a3Port SM120 (consumer Blackwell) kernels from nv_dev (#4)78b6900Fix Mega MoE task info slot release ordering (#441)650bf51Add configurable SwiGLU alpha and beta (#5)30b0968Fix Mega MoE task info slot release orderingdb64865Merge branch 'deepseek-ai:main' into deve49b29bAdd SiTU activation to FP8/FP4 Mega MoE (#6)9a86ae2SM90 paged MQA logits: support kv_block=32 and next_n=4 (#7)📊 Changes
161 files changed (+18258 additions, -7117 deletions)
View changed files
📝
.gitmodules(+3 -3)➕
AI/2026-09-12-sm120-port-design.md(+400 -0)➕
AI/2026-09-12-sm120-port-plan.md(+1616 -0)📝
CMakeLists.txt(+4 -2)📝
README.md(+37 -24)📝
csrc/apis/attention.hpp(+290 -123)📝
csrc/apis/config.hpp(+17 -21)📝
csrc/apis/einsum.hpp(+116 -90)📝
csrc/apis/gemm.hpp(+278 -193)📝
csrc/apis/hyperconnection.hpp(+2 -8)📝
csrc/apis/layout.hpp(+12 -21)➕
csrc/apis/mega_gate.hpp(+234 -0)➕
csrc/apis/mega_mhc.hpp(+287 -0)📝
csrc/apis/mega_moe.hpp(+55 -46)➕
csrc/apis/sm120_dispatch.hpp(+193 -0)📝
csrc/indexing/main.cu(+1 -2)➖
csrc/jit/cache.hpp(+0 -31)➖
csrc/jit/compiler.hpp(+0 -369)➖
csrc/jit/device_runtime.hpp(+0 -153)➖
csrc/jit/handle.hpp(+0 -222)...and 80 more files
📄 Description
Summary
Merging 13 upstream commits up till
e1f418c2a4f20818221f6b0e578b4c2f634d4c3finto midstreamnv_dev.This is the DeepGEMM pin referenced by
DEEPGEMM_GIT_REFincmake/external_projects/deepgemm.cmakeof nm-vllm-entsync-v0.31.0(vLLM 0.31.0, RHAI 3.6 GA).Upstream source change
vLLM moved the DeepGEMM pin from
deepseek-ai/DeepGEMMnv_devto the vLLM fork (vllm-project/DeepGEMM)devbranch in vllm-project/vllm#56876. The fork diverged from deepseek-ai at559d79f(Public release 26/07) and re-implements/ports the deepseek line (e.g.20567a3"Port SM120 kernels from nv_dev (#4)").This sync therefore merges from
vllm-project/DeepGEMMdev, notdeepseek-ai/nv_dev.Commits being merged (oldest → newest)
66081d4Public Release 26/09 (#432)20567a3Port SM120 (consumer Blackwell) kernels from nv_dev (#4)78b6900Fix Mega MoE task info slot release ordering (#441)650bf51Add configurable SwiGLU alpha and beta (#5)30b0968Fix Mega MoE task info slot release orderingdb64865Merge branch 'deepseek-ai:main' into deve49b29bAdd SiTU activation to FP8/FP4 Mega MoE (#6)9a86ae2SM90 paged MQA logits: support kv_block=32 and next_n=4 (#7)ad1f172Restore zero-context-length guards in the SM90 paged MQA scheduler (#8)f9d0e23fix(sm120): correct ported GEMM and MQA execution paths (#9)40d109bRemove Mega-Gate finite-score device trap (#11)a6bbb80Increase device barrier watchdog timeout to 300s (#13)e1f418cInclude cuda_fp8.h / cuda_bf16.h where their types are used (#12)Conflict resolution
The two lines diverged at
559d79f, so the merge conflicts in 47 files. Resolution strategy: take the upstream dev tree wholesale — the merge commit records both parents (nv_dev history is preserved and reachable), but the resulting tree is taken verbatim from the pin.Verification
git diff e1f418c2 HEAD --stat→ empty (tree is byte-identical to the pin)git log -1 --format="%p"→9e4a022 e1f418c(both parents recorded)Post-merge
Tag
v2.8.0+rhaiv.0will be cut at the merge commit, following the v2.6.0 convention (#10 →9e4a022→v2.6.0+rhaiv.0).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
cin SM90fp8_einsum("bhr,hdr->bhd")to prevent silent data corruption insm90_fp8_bmm#480