AIAny
Icon for item

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

Evaluates how well models and coding agents optimize operators for real Ascend NPU workloads, accounting for both speedups and token cost. Test cases preserve tensor shapes and data types from real model execution contexts.

Introduction

Kernel benchmarks can reward fast code without showing whether an agent can improve an operator that matters in a deployed workload—or how much it spent finding that improvement. The key shift here is to connect each optimization task to real model execution contexts and score gains alongside token budget, making practical optimization efficiency part of the result.

Key Findings
  • The benchmark covers 48 kernels in three difficulty levels, from basic memory-access optimizations to fused and attention computations. This progression tests more than the ability to generate an isolated kernel.
  • Test cases use shapes and data types drawn from real training and inference tasks, with model, phase, hardware, and parallelism context. Measured kernel gains can therefore be interpreted in relation to actual operator invocations.
  • It supports both model evaluation with a fixed built-in harness and model–harness evaluation with coding agents or custom systems. This helps separate model capability from the effects of an agent’s orchestration and tools.
  • The Speedup–Token Score rewards final speedup while penalizing improvements obtained late in the token budget. It distinguishes systems that reach similar performance with different optimization costs.
Who It’s For—and the Trade-off

A good fit for researchers comparing LLMs and coding agents on Ascend kernel optimization, and for teams assessing whether local kernel gains justify their search cost. It is less useful if you need a hardware-agnostic benchmark or cannot access an Ascend execution environment. The report’s initial results cover Batch 1’s 17 tasks; the remaining batches are described as future evaluation work.

Information

  • Websitearxiv.org
  • OrganizationsAI Training Platform Team, SLAI-AITP
  • AuthorsBingwei Zhang, Jing Li, Amir Abdullin, Sihang Chen, Xin Chen, Liangjun Feng, Yingmeng Gao, Tao Guo, Junjie Huang, Dongfang Li …
  • Published date2026/11/13

More Items

Uses budget-matched controls to test whether revisiting parameters itself improves looped Mixture-of-Experts models. The study attributes most gains to network shape, optimizer choice, and added compute instead.

GitHub
AI Infra2026

Adds keyless model channels to DeepSeek Harness and brings multiple providers into one model picker and local compatible gateway. Availability is checked dynamically; free quotas, regional access, and data handling remain controlled by upstream services.

GitHub
AI Infra2026

Connects coding agents to one local model gateway, making providers and subscriptions available across agents and routing requests to another account or model when quotas run out.