On the morning of September 30, DeepSeek’s official WeChat account posted an announcement that was short by Chinese tech standards and dense by anyone else’s. Six open-source projects, all under MIT or Apache, all targeting Huawei Ascend 950 NPUs, all released on the same day. The centerpieces were TileLang (a Pythonic kernel DSL that compiles to Ascend C, CUDA, ROCm, and Metal from the same source) and DeepEP-Ascend (a communication library for MoE expert parallelism whose public Python API is byte-for-byte aligned with the NVIDIA version that DeepSeek has been running in production for V3, V4, and V4.1).
I’ve been staring at the README for two days. The thing that keeps catching me is the sentence about Ascend C kernels: “compiled at runtime through DeepJIT.” Runtime compilation. Same source, two backends, dispatched at import time. That’s the part that reads like a CUDA moat-destroyer, not a CUDA replacement.
The release, in one list
The six projects, with the repos and a one-line role for each:
- TileLang — Pythonic kernel DSL on top of TVM. The repository has been public since October 2024 (7,310 stars as of yesterday), but the September 30 release added Ascend 950 as a first-class backend. Same Python source now compiles to CUDA, ROCm, Metal, or Ascend C.
- DeepGEMM-Ascend — Dense and low-latency GEMM library. Sister to the MIT-licensed DeepGEMM that hit 7,984 stars. BF16, FP8, and FP4 paths; same Python API as the NVIDIA version.
- DeepEP-Ascend — Expert-parallel communication library for MoE training and inference. 215 stars, brand new repo, single initial commit on September 29. The interesting bit is the API contract with the parent:
from deep_ep import EPBufferworks the same way on both backends, with the only required change beingtorch_npuinstead of plaintorchandbackend='hccl'instead of'nccl'. - TileKernels — Curated set of vector/memory-access operators written in TileLang. The repo auto-detects whether the runtime is CUDA or Ascend and dispatches accordingly. MoE routing and quantization are the named use cases.
- FlashMLA (Ascend port) — Multi-head latent attention kernels. The original FlashMLA has been in production at DeepSeek for V3 inference since early 2025; the September 30 update is a port of the same kernels to Ascend C, with the project page claiming 95% of theoretical performance on the Ascend 950 for some attention paths. 13,033 stars, MIT.
- DeepSelect — Fast top-k for sparse attention. DeepSeek claims 2× to 20× over
torch.topkdepending on shape. The September 30 update added an Ascend kernel.
Six projects. Same day. The only thing missing is a model release to go with them — which makes sense, because the announcement is not about a model, it’s about the substrate.
The bet, in one sentence
If the CUDA moat is real, it’s an API moat, not a hardware moat. Build the same APIs, on top of a different hardware platform, with the same Python source compiling to both, and the moat disappears the moment the alternate stack is mature enough to deploy.
That’s the bet. The implementation is one project at a time, matching APIs against the NVIDIA versions, runtime-compiling kernels through a single compiler pipeline (DeepJIT), and shipping the same Python package name on PyPI. The news peg on September 30 is the Ascend 950 supernode: a 128-card cluster that DeepSeek and Huawei’s team jointly optimized, both for compute and for inter-chip communication, and the proof that the substrate is real is the bandwidth numbers in the README.
What the bandwidth numbers actually say
The DeepEP-Ascend README has a Performance section that’s worth reading twice. The headline number is straightforward: “Sustained dispatch reaches roughly 90–95% of the physical payload bandwidth limit for EP sizes up to 32.” Below 32 experts per rank, the library is squeezing almost all the bytes per second the Ascend 950’s HBM and inter-chip links can carry. Above 32, and on the combine path (which has to do a local reduction in addition to the all-to-all), the numbers degrade — the README says “Larger EP sizes and combine remain under optimization” and notes that HBM contention with URMA (Huawei’s user-space RDMA equivalent) is the suspected cause, with firmware-side fixes already on Huawei’s roadmap.
The shape of the gap matters. Expert-parallel all-to-all in MoE training is the operation that determines how well a 1,000-expert model can scale across hundreds of accelerators. If dispatch saturates the link at 90-95% for moderate expert counts, the kernel is genuinely fast — the question is whether the combine path keeps up, because combine is what runs on the way back from the experts and stalls the next layer if it doesn’t. The README’s honesty about the gap (which it doesn’t paper over with a vague “good performance”) is a tell that the engineers know exactly what they shipped and what they didn’t. The V2.5 NVIDIA version, by contrast, claims a much wider coverage — including dynamic expert load balancing with EPBuffer.lb_prefetch_weights and lb_reduce_grads — and the Ascend port explicitly notes that those APIs are exposed but “Ascend communication kernels are not implemented yet.”
This is the textbook honest release: the parts that work, work. The parts that don’t, are listed by name. No rounding, no marketing.
The mechanism, in one sentence
from deep_ep import EPBuffer works on both backends, and the same EPBuffer(...) constructor with the same num_max_tokens_per_rank, hidden, num_topk, and use_fp8_dispatch arguments produces a buffer object whose .dispatch(...) and .combine(...) methods hand you back tensors on whichever accelerator you’re running on. The runtime detects the platform and either compiles the NVIDIA kernels through DeepJIT’s existing path or the Ascend C kernels through the new path. There is no if torch.cuda.is_available(): in the user’s code. There shouldn’t need to be.
The Ascend C kernels themselves are written against Huawei’s HCCL/HCOMM collective-communication library, UBMEM (a unified buffer manager that handles HBM allocation and address translation), and URMA (the RDMA transport). Those are the three Huawei-supplied primitives under the API; everything else is the same Python surface that DeepSeek has been using for V3, V4, and V4.1 inference on NVIDIA hardware. The fact that the Ascend C side of the compiler is “experimental” in places (PP, Engram, Bucket collectives) reflects where Huawei’s stack still has rough edges, not where the abstraction is wrong. The abstraction is fine. The wiring underneath isn’t fully built out.
What’s still rough
Reading the “Ongoing” section of the DeepEP-Ascend README is the more useful exercise than reading the headline numbers. The list, verbatim:
- Bucket collectives: batched all-gather is available; reduce-scatter and all-reduce kernels are still being built. So if you’re trying to use DeepEP-Ascend for plain data-parallel training (no MoE), the bucket collectives path isn’t there yet.
- Expert load balancing: the
lb_prefetch_weightsandlb_reduce_gradsAPIs are exposed (so the user code compiles), but the Ascend communication kernels are not implemented. If you were planning to use the dynamic-redundant-experts pattern from DeepEP V2.5, you have to wait. - PP and Engram: still experimental on the NVIDIA side too, so the Ascend gap here isn’t Huawei-specific. But it does mean that the Ascend port currently lacks two of the four major communication primitives.
- Hybrid communication, CPU-backed Engram storage, and graph capture: not supported.
If I were deploying this today for V4-Pro post-training on a 128-card Ascend 950 supernode, I would use the EP path (which works), the regular all-to-all dispatch (which works at 90-95% bandwidth), and I would not use the expert load balancing yet. That’s a coherent deployment story — most V4-Pro training is going to be EP-dominant anyway, and the load-balancing code is the part of the NVIDIA path that the same engineers say is “experimental” too.
The other constraint worth knowing about is firmware. The README recommends “Huawei’s Q3 commercial HDK release for Atlas 850E when it becomes publicly available,” and notes that “Huawei has advised that this release includes the configuration required for full-bandwidth operation.” So if you have Atlas 850E hardware today and the bandwidth numbers are off, the README is telling you it’s a firmware config issue, not a kernel issue. That’s a different shape of problem than “the library is slow.”
Why this matters operationally
I keep coming back to the runtime-compilation point. The thing that makes CUDA hard to displace is not that NVIDIA GPUs are faster (they’re not, uniformly — Ascend 950 is competitive on memory bandwidth and beats Hopper on certain FP8 paths). The thing that makes CUDA hard to displace is that the ecosystem around it is so deep that a kernel written for one NVIDIA GPU tends to Just Work on the next one, and a library written against the CUDA driver API tends to Just Work on a new driver release, and a model whose training code calls cuBLAS and cuDNN doesn’t have to be rewritten to retarget.
The September 30 release is a bet that an equivalent property can be built on top of Ascend by writing the abstraction layer — the Python API, the runtime compiler, the buffer lifecycle, the deferred epilogue semantics — first, and filling in the underlying hardware-specific kernels as Huawei’s stack matures. The fact that six components landed on the same day, all with the same Python API contract as the NVIDIA versions, is the abstraction-layer-is-mostly-done signal. The fact that “Ongoing” lists a number of kernels that aren’t done yet is the hardware-stack-isn’t-quite-there signal. Both can be true at once, and both are, and that’s the shape of the bet.
For anyone running V3, V4, or V4.1 inference on NVIDIA today, the practical implication is small — the same code still works on the same hardware. For anyone planning a multi-vendor deployment, or anyone whose training cluster might shift from NVIDIA to Ascend in the next 18 months (which is, increasingly, the population of Chinese frontier labs, plus a non-trivial number of Southeast Asian and Middle Eastern sovereign-AI programs), the implication is large — the port is going to be a pip install and a torch_npu import, not a kernel rewrite.
The geopolitical layer that I won’t pretend isn’t there
The release landed four days after a Reuters report on DeepSeek’s partnership with Huawei, and it landed the same week as the New York Times piece on CUDA’s moat weakening. SemiAnalysis’s note on the OpenAI Jalapeño inference chip — “the CUDA moat is potentially dead” — is the loudest version of the argument, and the DeepSeek release is the second-loudest version. The first version is “OpenAI built its own silicon and is using it.” The second is “DeepSeek built its own CUDA replacement for Huawei and is open-sourcing it.” Different strategies, same conclusion: the API moat is not what it was in 2023.
I don’t have any special insight into US export-control policy and I’m not going to speculate. What I will say is that the release is not framed as a counter to export controls — DeepSeek’s WeChat post frames it as a software-ecosystem play, period. The hardware part of the story (where the chips come from) is downstream. The upstream bet is the API.
The part I haven’t gotten to
I haven’t actually run DeepEP-Ascend on real hardware. I read the README, the news coverage, and the citation entry, and I’m reasoning from those. The bandwidth claim of 90-95% on Ascend 950 for EP sizes up to 32 is the project’s own number; I haven’t independently verified it on a real cluster. If I get access to a 128-card Atlas 850E supernode in the next few weeks, I’d want to actually measure dispatch and combine separately, and compare the Ascend numbers against the same shape of MoE configuration on a comparable NVIDIA H200 or B200 cluster, before I’d trust the cross-vendor performance claim end-to-end. The single-vendor number is solid. The cross-vendor generalization is the open question.
I also haven’t dug into whether the runtime detection (torch_npu vs torch.cuda) is genuinely zero-cost, or whether the Ascend kernels in TileKernels actually compile to the same PTX-style intermediate that the CUDA kernels compile to. TVM’s design suggests yes, but the README doesn’t say explicitly. That’s the part I’d want to verify before betting a multi-vendor training stack on it.
References and where to dig further
- DeepEP-Ascend README — the source of the bandwidth numbers and the API contract.
- TileLang repo — the DSL, with backend dispatch in TVM and Ascend 950 support added September 30.
- DeepSeek’s WeChat announcement — the original Chinese-language post, machine-translated by Geopolitechs.
- Reuters coverage — the partner-confirmation piece.
- Tom’s Hardware coverage — the Western-press summary.
- The Decoder’s analysis — the CUDA-moat framing, citing the New York Times on TileLang’s role in DeepSeek’s V4 training.
- DeepEP NVIDIA parent repo — 10,235 stars, MIT, the API the Ascend port is aligned against.
- DeepGEMM repo — 7,984 stars, MIT, the GEMM library the Ascend GEMM port is aligned against.
- FlashMLA repo — 13,033 stars, MIT, in production at DeepSeek for V3 inference since 2025.
- Geopolitechs analysis — translated DeepSeek WeChat post with the 128-card Ascend 950 supernode detail.
- GIGAZINE coverage — the Japanese-press summary with the Inner Mongolia 160,000-chip data center context.
The single thing I’d want to leave you with: the September 30 release is six projects, but the headline is one idea, and the idea is that an API-compatible stack is a real strategy. Whether the strategy works in production is the open question, and the answer is going to come from the Atlas 850E clusters Huawei ships in Q3 — not from any more reading we can do from the outside.
Comments
Powered by GitHub Discussions via Giscus. Sign in with GitHub to leave a comment.