Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
arXiv AI · 2026/7/31 04:00:00
AgenticCANN: Automated Ascend C Operator Generation via Knowledge-Augmented Agentic Evolution
AI 中文解读
这个新闻最吸引人的地方在于,AI学会了给国产华为芯片自动编写最底层的优化代码,而且效果比人类专家还快六倍多。
简单来说,华为这类芯片上跑AI模型时,有些基础的数学运算模块必须被优化到极致才能发挥性能。以前这需要顶尖工程师手动调整,又慢又枯燥。现在这个叫AgenticCANN的AI系统,能像一位自带《芯片优化手册》的老工程师,一边学习一边反复试验,自动生成高效代码。即使开发团队对这款芯片不够熟悉,它也能从知识库中获取经验,把成功率从57%提升到86%。在多个关键运算环节,它都保持了90%以上的成功率,最亮眼的是让一个千亿级AI模型的推理速度加快了6.65倍。
这项技术对普通人的影响其实很直接:当国产AI芯片变得更好用、成本更低,我们手机里和云端的AI助手、图像识别、语音翻译等应用就会运行得更快,同时开发者也能更轻松地让AI适配国产硬件,减少对国外芯片的依赖。最终受益的,是每一个使用AI服务的用户。
arXiv:2607.26661v1 Announce Type: new
Abstract: Ascend C operator optimization is critical for NPU (Neural Processing Unit) inference performance but requires deep hardware expertise.While large language models (LLMs) have shown promise in automated CUDA kernel generation, the fundamentally different programming model of Ascend C introduces unique challenges that remain unexplored. In this paper, we propose AgenticCANN, a knowledge-augmented agentic evolution framework specifically tailored for automated Ascend C operator synthesis in low-corpus NPU environments.To overcome the severe platform knowledge deficit on unfamiliar hardware, AgenticCANN incorporates a knowledge-orchestrated generation system that delivers structured, multi-level domain insights across the development lifecycle to resolve the upstream feasibility bottleneck.Building on this foundation, it features a stage-adaptive agentic evolution strategy that dynamically aligns LLM interaction modes with specific generation and evolution phases, balancing high-exploration candidate discovery with high-convergence performance tuning.Extensive experiments on Huawei Ascend 910B across six operators spanning five pattern categories demonstrate that our method achieves 90 to 100 percent feasibility on elementwise and normalization operators, 56% on fusion operators, and up to 6.65$\times$ speedup on 1B Pangu model inference kernels. Further analysis reveals that knowledge injection monotonically improves feasibility from 57% to 86% on elementwise operators, demonstrating its general rather than operator-specific benefit.
分享
阅读原文 ↗