Research

Can Agents Make Custom Kernels for Ascend NPUs?

CANNBot-CAKE reports near-perfect pass rates and a 1.334× average speedup on Ascend NPUs, but the abstract says nothing about engineer-hours. Here is what to test before trusting it.

CANNBot-CAKE reports that its generated operators passed all 1,060 standard-set cases and 4,167 of 4,240 hidden-set cases, with an average 1.334× speedup over a baseline 1. That is a promising benchmark result for teams building on Ascend NPUs. The abstract reports pass rates and speedups, but no engineer-hours, so it does not establish that the approach cuts engineering time or cost 1.

Those are different outcomes. A system can generate correct, faster operators without reducing the human work needed to ship them. Teams evaluating CAKE should treat it as a kernel-evolution proposal to test against their own baseline, not as a demonstrated productivity gain.

What CANNBot-CAKE actually does

CAKE is described as a CANN-native system for developing deployable custom operators on Ascend NPUs 1. The abstract says that developing high-performance Ascend kernels remains slow, expert-intensive, and difficult to automate, and that current models remain less capable at generating AscendC kernels for NPUs than agents are at approaching expert performance on GPU kernel benchmarks 1.

CAKE combines adaptive multi-DSL routing, separate Generation and Evolution modes, reviewed knowledge reuse through CAKE Book, and a Self-Evolving Agent 1. This architecture suggests a workflow that combines kernel generation, evolution, and reuse of reviewed knowledge; the abstract does not give further operational detail 1.

That architecture is a plausible response to the stated problem. Whether it saves expert time is a separate question: the abstract provides no engineer-time results 1.

What the evaluation measured

The abstract reports an evaluation of 53 operators from CANN-Bench v1.1 on an Ascend 950PR 1:

Evaluation slice Reported result
Standard set 1,060 / 1,060 cases passed (100%) 1
Hidden set 4,167 / 4,240 cases passed (98.28%) 1
Full evaluation Mean score 78.63/100; average speedup 1.334× over baseline 1

These results show that CAKE passed nearly all reported cases and achieved an average speedup over the baseline used in the evaluation 1. They do not measure development time or debugging effort. A pass rate reports benchmark outcomes, not how much human work was required to obtain them.

How solid is the kernel speedup?

The reported 1.334× figure compares CAKE with a baseline 1. The abstract does not identify the baseline implementation or describe the measurement procedure, so it is not enough to predict how the result would transfer to another team's kernels or hardware setup 1. A single average against an unnamed baseline deserves the same care as other headline performance claims, such as those we examined in DeepSeek's DeepInfer numbers.

The abstract also reports that, on EngramGateFusion, 20 rounds of evolution reduced aggregate device time by 46.6% and roughly halved the mean roofline gap 1. That is a notable result for the reported operator. It is one operator-level result, however, and does not establish that other kernels will see similar gains 1.

What's missing from the abstract: a comparison against hand-optimized kernels or a competing kernel-generation system. The abstract reports a comparison with a baseline but does not identify it 1. For teams that already use specialist optimization, comparing against their current approach would help answer whether CAKE improves that workflow.

Three questions, one unanswered

  • Does it produce operators that pass tests? The reported pass rates say yes for the evaluated cases 1.
  • Does it improve device performance? The abstract reports an average speedup over baseline and a device-time reduction for EngramGateFusion 1.
  • Does it reduce the time or expertise needed to get there? The abstract reports no such measurement 1.

Agents may reduce manual coding while adding work elsewhere, such as specifying tasks, reviewing generated code, diagnosing failures, and checking performance outside the benchmark environment. Those are considerations for an evaluation, not outcomes measured in the abstract. Teams should track human effort directly rather than infer it from benchmark results.

What the benchmark doesn't tell you

Before comparing the reported speedup with another result, a team would need details such as the baseline implementation, timing methodology, and compiler, runtime, and hardware configuration. The abstract does not provide those details 1. It reports the mean score and roofline-gap result but does not define how either is calculated 1.

The abstract also does not describe how the 53 CANN-Bench v1.1 operators are distributed across workload types or how representative they are of production workloads 1. It does not report run-to-run variance or results on other Ascend NPU models in the supplied excerpt 1.

The abstract does not report a hand-optimized comparison 1. Without that comparison, the results here do not show whether CAKE replaces specialist kernel optimization, speeds it up, or adds a parallel workflow.

A validation checklist for Ascend kernel development teams

Reproduce the comparison conditions as far as the available details allow. Record the Ascend hardware, CANN version, compiler and runtime settings, operator inputs, timing method, and baseline implementation. The supplied abstract does not provide these details, which limits direct reproduction from the excerpt alone 1.

Then pilot on a mix of benchmark operators and actual production bottlenecks. Track pass rate and device time, as well as compilation failures, validation defects, and how many agent iterations it takes to reach a deployable result. Compare against existing hand-optimized operators and repeat runs to assess variability.

Also log human time: setup, generation, debugging, review, benchmarking, and integration. That is the evidence missing from the abstract, and it is needed to determine whether CAKE reduces expert effort rather than only producing benchmark results 1.

Set deployment gates before the pilot starts, including correctness, performance against your own baseline, repeatability, and reviewability. Treat a high benchmark pass rate as evidence about those benchmark cases, not by itself as a deployment decision. The same discipline applies to any accelerator tooling; our look at TornadoVM 7 as a Java route to GPU acceleration takes a similar evaluate-first stance.

Bottom line: strong benchmark results, no cost evidence yet

CAKE is a research proposal for agent-based kernel evolution, with results reported on 53 CANN-Bench operators on an Ascend 950PR 1. The reported 100% standard-set pass rate, 98.28% hidden-set pass rate, 78.63 mean score, and 1.334× average speedup demonstrate benchmark performance on that evaluation 1. The abstract does not demonstrate lower total cost or faster time-to-production 1.

A useful next comparison would test CAKE against a team's own hand-optimized kernels while tracking engineer-hours on both sides. The abstract does not report that comparison 1. Until such evidence is available, the benchmark results support a claim about performance on the reported evaluation, not a claim that agents make Ascend kernel development cheaper. Cost questions also extend beyond kernels to the surrounding stack, as we argue in why elastic GPU capacity won't lower agent costs by itself.

Questions

What is CANNBot-CAKE?
It is a CANN-native system for developing deployable custom operators for Ascend NPUs. Its design combines multi-DSL routing, Generation and Evolution modes, reviewed knowledge reuse, and a Self-Evolving Agent [1].
How well did CANNBot-CAKE perform on the reported benchmark?
The evaluation covered 53 CANN-Bench v1.1 operators on Ascend 950PR. It reports a 100% standard-set case pass rate, a 98.28% hidden-set pass rate, a 78.63 mean score, and a 1.334× average speedup over its baseline [1].
Did CANNBot-CAKE prove that agents reduce kernel development time?
No. The supplied results report correctness and performance outcomes, but do not provide expert-hours, development-time, or total iteration-time comparisons with conventional kernel development [1].
What happened on the EngramGateFusion example?
The paper reports that 20 evolution rounds reduced aggregate device time by 46.6% and roughly halved the mean roofline gap [1].
What should Ascend teams verify before adopting it?
Teams should verify the hardware and software configuration, baseline and timing method, workload representativeness, repeatability, comparison with hand-optimized kernels, and the human effort required to reach a deployable result [1].

Sources

  1. CANNBot-CAKE: Collaborative Agentic Kernel Evolution for Ascend NPU · arxiv · Oct 23, 2026

How this article was made: an AI writer persona researched and wrote it from the sources listed above; separate AI passes edited it, checked its claims against those sources and audited it; an editor at Yelno reviewed and approved it before publication. How the Yelno blog works.