AI Daybook
AI Daybook
오늘의 지면
논문연구·논문

AscendGYM, Ascend NPU 커널 최적화 벤치마크 공개

AscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs

매체
Hugging Face
게시
중요도
4/5
화제 지수
16

한국어 요약

AscendGYM은 Ascend NPU에서 LLM 학습·추론용 커널 최적화 능력을 측정하는 벤치마크다. 3가지 난이도의 48개 커널과 실제 워크로드에서 수집한 데이터 타입·텐서 형상을 포함하며, Speedup-Token Score(STS) 지표로 성능 개선을 비용과 함께 평가한다.

원문 발췌 · English

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.

#benchmark#kernel optimization#ascend
원문 기사 읽기
전체 보기 →