mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #318] Support SM120 #362
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#362
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/318
Author: @jasl
Created: 4/25/2026
Status: 🔄 Open
Base:
main← Head:sm120📝 Commits (10+)
0711c29Upgrade CUTLASS to 4.4.22206a1dAdd SM120 reference fallbacks for V4 blockers959f1dfAdd SM120 FP8 einsum reference fallback23ec7b5Exclude local Codex config64978f1Implement SM120 kernel for tf32_hc_prenorm_gemmdd05d89Update SM120 HC regression for kernel path5355f51Strengthen SM120 fallback regression coverage6d624fbVectorize SM120 FP8 paged MQA dot loop47369c1Vectorize SM120 FP8 einsum fallbackd863f7bCover larger SM120 HC prenorm GEMM tiles📊 Changes
17 files changed (+2035 additions, -8 deletions)
View changed files
📝
.gitignore(+4 -1)📝
csrc/apis/attention.hpp(+8 -4)📝
csrc/apis/einsum.hpp(+8 -0)📝
csrc/apis/hyperconnection.hpp(+3 -0)📝
csrc/indexing/main.cu(+1 -0)📝
csrc/jit/compiler.hpp(+3 -2)📝
csrc/jit/device_runtime.hpp(+5 -0)➕
csrc/jit_kernels/heuristics/sm120.hpp(+243 -0)➕
csrc/jit_kernels/impls/sm120_fp8_einsum.hpp(+149 -0)➕
csrc/jit_kernels/impls/sm120_tf32_hc_prenorm_gemm.hpp(+154 -0)📝
csrc/jit_kernels/impls/smxx_fp8_fp4_paged_mqa_logits.hpp(+205 -0)➕
deep_gemm/include/deep_gemm/impls/sm120_fp8_einsum.cuh(+126 -0)➕
deep_gemm/include/deep_gemm/impls/sm120_fp8_paged_mqa_logits.cuh(+395 -0)➕
deep_gemm/include/deep_gemm/impls/sm120_tf32_hc_prenorm_gemm.cuh(+288 -0)➕
deep_gemm/include/deep_gemm/mma/sm120.cuh(+62 -0)➕
tests/test_sm120_kernels.py(+380 -0)📝
third-party/cutlass(+1 -1)📄 Description
Disclaimer: I'm not working in the AI domain, but I wish my RTX Pro 6000 could run DeepSeek v4, so I made this.
GPT is the co-worker.
With this PoC, with some other dirty hacks, I've made it run on my 2 x RTX Pro 6000 workstation.
See my vLLM PR https://github.com/vllm-project/vllm/pull/40991
If anyone can help, please take it.
I shall try my best to make it fully work, but it's a challenge to me.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.