PulseAugur
中
实时 18:27:33
English(EN) So why doesn't replacing cuBLAS cost them performance? Because DeepSeek's custom kernel stack (DeepGEMM + TileLang) is actually faster. Pre-compiled cuBLAS leav

DeepSeek V4 通过自定义内核取代 cuBLAS 实现更快的性能

DeepSeek 开发了一个自定义内核栈 DeepGEMM 和 TileLang,其性能不仅媲美,而且超越了 NVIDIA 的 cuBLAS。此自定义实现实现了比特级确定性和批次不变性,解决了其他工作负载平衡策略(如 splitK 或 split-KV)中常见的非确定性输出问题。这项创新在于其浮点数学方法,确保了调试和训练结果的一致性。 AI

影响 DeepSeek 的自定义内核栈提供了优于标准库的潜在性能优势,这可能会影响未来的 AI 基础设施开发和优化策略。

排序理由 该集群详细介绍了 AI 模型训练中自定义内核开发的技​​术创新,包括性能基准和技术解释,这符合研究级别的披露。

在 X — SemiAnalysis 阅读 →

AI 生成摘要 · Google Gemini · 来自 4 个来源。 我们如何撰写摘要 →

DeepSeek V4 通过自定义内核取代 cuBLAS 实现更快的性能

本文如何被排名

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Research
该集群详细介绍了 AI 模型训练中自定义内核开发的技​​术创新,包括性能基准和技术解释,这符合研究级别的披露。
Source corroboration
4 independent sources
Strong cross-source corroboration — multiple independent publishers covered this within the clustering window.
Topics
infra, paper
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
153 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

完整方法见我们的编辑标准。

报道来源 [4]

  1. X — SemiAnalysis TIER_1 English(EN) · SemiAnalysis_ ·

    那么,为什么替换 cuBLAS 不会让他们损失性能?因为 DeepSeek 的自定义内核栈(DeepGEMM + TileLang)实际上更快。预编译的 cuBLAS leav

    So why doesn't replacing cuBLAS cost them performance? Because DeepSeek's custom kernel stack (DeepGEMM + TileLang) is actually faster. Pre-compiled cuBLAS leaves real wins on the table: build-your-own with many more tile sizes available for better SM occupancy, JIT compilation

  2. X — SemiAnalysis TIER_1 English(EN) · SemiAnalysis_ ·

    DeepSeek V4 的答案:端到端逐位确定性且批次不变的内核。他们用自己定制的实现替换了 De 中所有 cuBLAS 的使用

    DeepSeek V4's answer: end-to-end bitwise deterministic and batch invariant kernels. They replaced all uses of cuBLAS with their own custom implementations in DeepGEMM. Instead of using atomics to accumulate partial results in split-reduction workloads, they write partials to

  3. X — SemiAnalysis TIER_1 English(EN) · SemiAnalysis_ ·

    像 splitK 或 split-KV 这样的通用工作负载平衡调度策略,对于相同的输入会产生非确定性的输出比特。这使得训练调试变得困难

    Common workload-balancing scheduling strategies such as splitK or split-KV give nondeterministic output bits for the same inputs. This makes debugging training failures nearly impossible -- you can't reproduce a loss spike. For inference, some kernels can give different results

  4. X — SemiAnalysis TIER_1 English(EN) · SemiAnalysis_ ·

    浮点数数学不是可结合的!许多最高性能的内核将工作负载分配给SM并以非确定性方式累积部分结果

    Floating point math is not associative! And many of the highest performance kernels split the workload among SMs and accumulate partial results in a nondeterministic order. Many AI labs just accept this, or pay a huge performance penalty for determinism. DeepSeek decided to do ht…