跳到正文
arXiv (AI + Vision + Imaging)· Deng Pan, Xue-Jian Gao, Junyi Fan, Bin Du, Jiasheng Li, Xinxian Chen, Nok Yan Chang, Xinlin Li, Lingchao Zheng, Jun Li, Yuwei Fan·AI 评分52

CAKE:面向Ascend NPU的协同智能体算子进化系统

CANNBot-CAKE: Collaborative Agentic Kernel Evolution for Ascend NPU

AI 导读

研究团队提出CAKE,一个面向Ascend NPU的CANN原生自定义算子生成系统,结合自适应多DSL路由、独立的生成与进化模式,以及经审核的知识复用机制。在Ascend 950PR上对53个CANN-Bench v1.1算子测试,标准集通过率100%(1,060/1,060),隐藏集98.28%(4,167/4,240),平均得分78.63,相对基线平均加速1.334倍。

正文 · 原文

arXiv:2610.31034v1 Announce Type: new Abstract: Efficient custom operators are essential for modern deep learning workloads, yet developing high-performance kernels for Ascend NPUs remains slow, expert-intensive, and difficult to automate. Although AI agents now approach expert performance on GPU kernel benchmarks, current models remain less capable of generating AscendC kernels for NPUs, potentially reflecting the relative scarcity of relevant training data. We thus present CAKE, a CANN-native system for deployable custom operators that combines adaptive multi-DSL routing, separate Generation and Evolution modes, and reviewed knowledge reuse through CAKE Book and a Self-Evolving Agent. On 53 CANN-Bench v1.1 operators on Ascend 950PR, CAKE's aggregated results achieve $100\%$ case pass rate on the standard set (1,060/1,060) and $98.28\%$ on the hidden set (4,167/4,240), with an overall mean score of 78.63 out of 100 and an average performance speedup of $1.334\times$ over the baseline. Evolution then pushes correct operators further: EngramGateFusion cuts aggregate device time by $46.6\%$ over 20 rounds and roughly halves the mean roofline gap. These results offer a practical path toward closing Ascend's AI-for-kernel capability gap.

来源:arXiv (AI + Vision + Imaging) · arxiv.org