Chinese researchers release AscendGYM, a kernel benchmark for Huawei Ascend chips
Shenzhen Loop Area Institute researchers released AscendGYM, a benchmark for testing whether AI agents can write and optimize GPU-style kernels for Huawei Ascend NPUs.
Researchers at the Shenzhen Loop Area Institute have released AscendGYM, a benchmark that asks whether an AI agent can make an already-correct kernel for Huawei's Ascend NPUs run faster within an acceptable budget while keeping it correct. A kernel is the small routine that performs the arithmetic on an accelerator. Kernel optimization is essential for efficient large language model training and inference on Ascend NPUs. The benchmark asks: given a working implementation, can a specific agent improve its performance for a target workload, and what does the optimization cost in tokens?
The benchmark runs through AscendForge, an evaluation environment that the authors describe as providing unified interfaces for 'compilation, correctness checking, performance measurement, and feedback.' Scoring covers three things: performance across several deployment cases, the best speed achievable for particular tensor shapes and scenarios, and the optimization cost needed to get there. The authors combine speedup and token spend in a new metric they call the Speedup-Token Score (STS). It is meant to quantify how much performance an agent gains relative to the token cost it incurs.
The test cases are drawn from real training and inference work. The arXiv abstract says each kernel is paired with data types and tensor shapes collected from real-world tasks, so a speedup on the benchmark is meant to correspond to a speedup on that workload. The public Hugging Face dataset currently holds 17 official Batch 1 tasks: four from ops-nn, ten from ops-transformer and three from vLLM-Ascend. It also includes three preserved-golden reference tasks that sit outside the official evaluation. The GitHub README lists Batches 2 and 3 as later updates, while the paper describes an initial suite of 48 kernels across three difficulty levels.
Correctness is enforced with frozen tests and golden tensors. The dataset card says these should stay unchanged while an agent optimizes candidate code. The benchmark supports two modes. In model evaluation, a model gets an endpoint and a tool pool, and a built-in harness adds search orchestration and experience accumulation. In model-harness evaluation, a native coding agent such as Claude Code, Codex or OpenCode runs its own loop. Running the tests requires an Ascend execution host with a compatible driver and software stack, which the authors describe as a Linux arm64 machine with an NPU. The client can run on a separate machine from that execution service.
According to Import AI's account of the paper, the top model was Opus 5, followed by GPT-5.6 and then GLM-5.3. Claude Code produced the best absolute scores, GLM did well inside Claude Code, and GPT did well inside Codex. Opus 5 consumed more tokens, while GPT-5.6 was more token efficient. The dataset card also warns that results depend on hardware, software stack, model endpoint, harness and evaluation budget. It adds that the local release validation does not claim new NPU evaluation results.
Import AI's Jack Clark frames the release more broadly. He argues that software like AscendGYM is an ingredient for China to do its own form of recursive self-improvement, since AI systems need to improve the software behind their own training and inference. He also argues it bears on export controls, because better kernels could improve the performance of Chinese chips and narrow the gap with Western alternatives. Those are Clark's readings. The arXiv abstract describes a benchmark and a metric and says nothing about export controls or self-improvement.
Licensing is layered. The project's own code, task definitions and documentation are under Apache License 2.0. The ops-nn and ops-transformer sources fall under the CANN Open Software License Agreement Version 2.0, which the dataset card says includes Huawei AI Processor purpose restrictions. The card states that the project's Apache license does not replace those component-specific terms.
What changed
AscendGYM, a benchmark for testing whether AI agents can make correct kernels faster on Huawei Ascend NPUs within a token budget, has been released.
Type: Research · Applies to: Huawei Ascend NPUs
Why it matters
Teams that want AI-written kernels for Huawei hardware now have a common way to compare agents on correctness, speed and cost. The work also bears on how quickly Chinese chips could close their performance gap with Western alternatives.
What you can do
Engineers evaluating AI kernel agents for Ascend hardware can run the released benchmark on their own workloads before committing to a tool.
Original source
- arxiv.org[2611.17621] AscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs
- github.comGitHub - SLAI-AITP/AscendGYM: A cost-aware benchmark for agentic kernel optimization on Ascend NPUs, grounded in real-world training and inference workloads. ·
- huggingface.coSLAI-AITP/AscendGYM · Datasets at Hugging Face
Further reporting
Where we saw it
Import AI (Jack Clark)
AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works