DeepSeek 开源昇腾版 DeepGEMM 与 DeepEP 内核
DeepSeek 发布了两个全新仓库:用于矩阵乘法的 DeepGEMM-Ascend,以及面向混合专家模型所需 all-to-all 通信的 DeepEP-Ascend;同时为 TileLang、TileKernels、DeepSelect 和 FlashMLA 提供了针对昇腾的更新。DeepGEMM 变更日志将昇腾版本的发布时间标注为 2026.09.30;DeepGEMM 本身是一个张量核心内核库,涵盖 FP8、FP4、BF16 GEMM、融合 MoE 与 MQA 打分,所有内核均通过 DeepJIT 在运行时编译。SemiAnalysis 称,截至其撰稿时只有 TileLang 可用,因为 DeepSeek 需要 CANN 9.2.0 以及 beta 工具包未提供的 C++20 编译器;TechRadar 则称 DeepGEMM-Ascend 需要昇腾 950 系列芯片和 CANN 9.20。项目 README 中“性能在各种矩阵形状下达到或超过专家调优库”的说法来自维护者自述,尚无独立测量。
TechRadar 报道称,昇腾版本沿用与 CUDA 版本相同的 Python 包名和 API 形态,并将其解读为降低开发者迁移成本的努力,而这正是 Nvidia CUDA 护城河所在。
DeepGEMM: clean and efficient BLAS kernel library on GPU
DeepGEMM
DeepGEMM is a unified, high-performance tensor core kernel library that brings together the key computation primitives of modern large language models — GEMMs (FP8, FP4, BF16), fused MoE with overlapped communication (Mega MoE), MQA scoring for the lightning indexer, HyperConnection (HC), and more — into a single, cohesive CUDA codebase. All kernels are compiled at runtime through DeepJIT, requiring no CUDA compilation during installation.
DeepGEMM leverages some concepts from CUTLASS and CuTe, but avoids heavy reliance on their templates or algebras. The library is designed for simplicity, with only a limited number of core kernel functions, making it a clean and accessible resource for learning NVIDIA GPU kernel optimization techniques.
Despite its lightweight design, DeepGEMM's performance matches or exceeds expert-tuned libraries across various matrix shapes.
#DeepSeek#Huawei#DeepGEMM#DeepGEMM-Ascend#DeepEP-Ascend#TileLang#Ascend 950#CANN#FlashMLA#TileKernels#DeepSelect