AscendGYM benchmarks cost-aware kernel optimization on Ascend NPUs
Original title: AscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs
The initial suite has 48 kernels at three difficulty levels, with shapes and types taken from real training and inference tasks.
AscendGYM evaluates whether models and agents can optimize existing Ascend kernels under input configurations from real workloads, not only generate kernels. It supports model evaluation and model-harness evaluation in an environment that reproduces practical kernel invocation. A built-in harness adds search orchestration and experience accumulation. The Speedup-Token Score weighs speedup against token cost.
- Test cases use data types and tensor shapes from real workloads.
- STS measures performance gains relative to token cost.
- Code is at github.com/SLAI-AITP/AscendGYM.
- Model evaluation includes a built-in search and experience harness.
From the original article
1 min read at huggingface.coKernel 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.
By AI Training Platform Team, Bingwei Zhang, Jing Li · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.