AscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Ascend NPU Workloads
ORIGINAL / AscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs
Existing Ascend kernel benchmarks focus mainly on kernel generation and pay less attention to whether agents can optimize existing implementations under input configurations from real workloads. AscendGYM addresses this with 48 kernels across three difficulty levels and test cases whose data types and tensor shapes are collected from real training and inference tasks, so performance gains map directly to those workloads.
01 ABSTRACT
The authors note that existing Ascend kernel benchmarks emphasize kernel generation rather than optimizing existing implementations under real-workload input configurations. AscendGYM's initial suite contains 48 kernels across three difficulty levels, with test cases whose data types and tensor shapes are collected from real training and inference tasks. The authors propose the Speedup-Token Score (STS), which jointly considers speedup and token cost to assess the practical kernel optimization capability of a model or harness under a given budget.
02 KEY FINDINGS
- The initial suite includes 48 kernels across three difficulty levels, each paired with test cases drawn from real training and inference tasks.
- Two evaluation modes are supported—model evaluation and model-harness evaluation—along with a complete execution environment that reproduces practical invocation patterns.
- A new STS metric jointly quantifies speedup and token cost to assess practical optimization capability under an acceptable budget.
AI GENERATED SUMMARY / DISCOVERED BY ARXIV CS.LG