论文
arxiv:2611.17621
复制 Markdown
AscendGYM:面向昇腾 NPU 真实负载的成本感知内核优化基准测试
发布于 11月13日
·
提交者
李东方
于 11月18日提交
·
SLAI-AITP
作者:
AI训练平台团队
,
张炳威
,
李静
,
阿米尔·阿卜杜林
,
陈思航
,
陈鑫
,
冯良军
,
高英梦
,
郭涛
,
黄俊杰
,
李东方
,
林章连
,
刘佳骏
,
刘泽坤
,
卢正轩
,
罗晓东
,
孟建
,
伊万·诺索夫
,
邱林源
,
孙伟健
,
闫万瑞
,
郑彬凡
+5位作者
摘要
AscendGYM 提供了一个基准测试,用于评估在昇腾 NPU 上使用真实负载测试用例、两种评估模式以及平衡加速比与 Token 成本的“Speedup-Token Score”的内核优化能力。
由
deepseek-ai/DeepSeek-V4.1-Flash
内核优化对于在昇腾 NPU 上高效进行大语言模型(LLM)训练和推理至关重要。现有的昇腾内核基准测试主要关注内核生成,较少强调智能体在针对来自真实负载的输入配置下优化现有实现的能力。为了满足这一需求,我们引入了 AscendGYM,其初始套件包含跨越三个难度级别的48个内核。每个内核都与测试用例配对,这些测试用例的数据类型和张量形状收集自真实的训练和推理任务。因此,AscendGYM 上的性能提升直接映射到相应的负载。在可用性方面,AscendGYM 支持两种评估模式:模型评估和模型-Harness评估。可以测量经过训练的模型和自定义智能体的内核优化能力。它提供了一个完整的执行环境,紧密重现了在实际流水线中调用昇腾内核的方式。对于模型评估,它还内置了一个配备搜索编排和经验积累功能的 Harness。最后,我们提出了一种新指标 Speedup-Token Score(STS),用于量化相对于 Token 成本的性能提升。通过联合考虑加速比和成本,STS 能够在可接受的预算下评估模型或 Harness 的实际内核优化能力。AscendGYM 可在 https://github.com/SLAI-AITP/AscendGYM 获取。
查看 arXiv 页面
查看 PDF
项目页面
GitHub
32
添加到合集
社区
crazyofapple
论文提交者
约17小时前
AscendGYM
回复
researchstudio-bot
约10小时前
这是 ResearchStudio 团队发送的自动消息。
我们为此论文创建了一个交互式 ResearchStudio Reel。它包括一张可视化海报、一段视频和一个博客,所有文件均可下载并支持编辑格式。
打开 ResearchStudio Reel →
从 Hugging Face 下载所有文件
如果您觉得这个 Reel 有帮助,请给此评论点赞!
想探索或为更多论文创建 Reel?请访问 ResearchStudio 演示页面。
查看翻译
回复
编辑
预览
通过拖拽、粘贴或点击此处上传图片、音频和视频。
评论
· 注册或登录以发表评论
赞同
91
+79
在您的智能体中获取此论文:
hf papers read 2611.17621
没有最新的 CLI?
引用此论文的模型
0
无链接此论文的模型
在模型的 README.md 中引用 arxiv.org/abs/2611.17621 以从此页面链接它。
引用此论文的数据集
1
SLAI-AITP/AscendGYM
查看器
•
更新于约19小时前
•
20
•
74
•
2
引用此论文的 Spaces
0
无链接此论文的 Space
在 Space 的 README.md 中引用 arxiv.org/abs/2611.17621 以从此页面链接它。
包含此论文的合集
0
无包含此论文的合集
将此论文添加到合集中以从此页面链接它。
Papers
arxiv:2611.17621
Copy markdown
AscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs
Published on Nov 13
·
Submitted by
Dongfang Li
on Nov 18
·
SLAI-AITP
Authors:
AI Training Platform Team
,
Bingwei Zhang
,
Jing Li
,
Amir Abdullin
,
Sihang Chen
,
Xin Chen
,
Liangjun Feng
,
Yingmeng Gao
,
Tao Guo
,
Junjie Huang
,
Dongfang Li
,
Zhanglian Lin
,
Jiajun Liu
,
Zekun Liu
,
Zhengxuan Lu
,
Xiaodong Luo
,
Jian Meng
,
Ivan Nosov
,
Linyuan Qiu
,
Weijian Sun
,
Wanrui Yan
,
Binfan Zheng
+5 authors
Abstract
AscendGYM provides a benchmark for assessing kernel optimization capabilities on Ascend NPUs using real-workload test cases, two evaluation modes, and a Speedup-Token Score that balances speedup against token cost.
Generated by
deepseek-ai/DeepSeek-V4.1-Flash
Kernel optimization is essential for efficient large language model (LLM) training and inference on Ascend NPUs. Existing Ascend kernel benchmarks primarily focus on kernel generation, with less emphasis on the ability of agents to optimize existing implementations under input configurations drawn from real workloads. To address this requirement, we introduce AscendGYM, a benchmark whose initial suite comprises 48 kernels across three difficulty levels. Each kernel is paired with test cases whose data types and tensor shapes are collected from real-world training and inference tasks. Consequently, performance improvements on AscendGYM map directly to the corresponding workloads. In terms of usability, two evaluation modes are supported in AscendGYM: model evaluation and model-harness evaluation. The kernel optimization capabilities of both trained models and custom agents are allowed to be measured. It provides a complete execution environment that closely reproduces how Ascend kernels are invoked in practical pipelines. For model evaluation, it additionally includes a built-in harness equipped with search orchestration and experience accumulation. Finally, we propose a new metric, the Speedup-Token Score (STS), which quantifies performance gains relative to token cost. By jointly considering speedup and cost, STS enables the assessment of practical kernel optimization capability of a model or harness under an acceptable budget. AscendGYM is available at https://github.com/SLAI-AITP/AscendGYM.
View arXiv page
View PDF
Project page
GitHub
32
Add to collection
Community
crazyofapple
Paper submitter
about 17 hours ago
AscendGYM
Reply
researchstudio-bot
about 10 hours ago
This is an automated message from the ResearchStudio team.
We created an interactive ResearchStudio Reel for this paper. It includes a visual poster, a video, and a blog, all available for download in editable formats.
Open the ResearchStudio Reel →
Download all files from Hugging Face
Please give this comment a thumbs up if you find the Reel helpful!
Want to explore or create Reels for more papers? Visit the ResearchStudio demo.
See translation
Reply
Edit
Preview
Upload images, audio, and videos by dragging in the text input, pasting, or clicking here.
Comment
· Sign up or log in to comment
Upvote
91
+79
Get this paper in your agent:
hf papers read 2611.17621
Don't have the latest CLI?
Models citing this paper
0
No model linking this paper
Cite arxiv.org/abs/2611.17621 in a model README.md to link it from this page.
Datasets citing this paper
1
SLAI-AITP/AscendGYM
Viewer
•
Updated about 19 hours ago
•
20
•
74
•
2
Spaces citing this paper
0
No Space linking this paper
Cite arxiv.org/abs/2611.17621 in a Space README.md to link it from this page.
Collections including this paper
0
No Collection including this paper
Add this paper to a collection to link it from this page.
首次收录 · 2026-11-19 · 10.95 分