Papers for

hardware acceleration engineers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

KPage boosts speed and memory efficiency for sparse attention in video transformers

KPage: Cross-Block Page Compaction for Hardware-Efficient Sparse Attention

Abstract: Sparse attention reduces the computational cost of long-sequence video Transformers, but three-dimensional token layouts often leave selected blocks partially occupied, wasting physical tile capacity. We present KPage, a block-sparse attention scheme that packs valid 16-row K/V pages across logical-block boundaries into large tiles directly during loading, without materializing compacted tensors in high-bandwidth memory. KPage also routes Q blocks between 64x256 and 128x128 tiles to reduce query-side padding. Exact masking and K/V-owned page packing preserve the original sparse graph in forward and backward execution. Across five representative workloads, KPage achieves 1.35x-2.06x bare forward-kernel speedup over NVIDIA Block-Sparse Attention (BSA), with a geometric mean of 1.77x. It is near parity for fully occupied blocks (1.03x) but achieves 2.29x geometric-mean speedup on 3D layouts with partial blocks. KPage reduces physical query-key pair capacity from 334.1G to 177.5G while preserving 160.6G useful interactions. Across eight layouts from open-source SSTA, STA, and VSA systems, KPage achieves 1.13x-4.25x forward and 1.02x-2.71x forward-plus-backward speedup over the strongest exact sparse baselines. With independent Q/K partitions, KPage also achieves 1.49x speedup over the strongest exact sparse baseline and 1.57x over BSA on the SVG2 Wan 14B/720p configuration. After compliance review, we will open-source KPage and submit a pull request to NVIDIA cuDNN Frontend.

Tue 20 OctDistributed, Parallel, and Cluster Computing
The gist
Working with long video sequences in AI models requires a lot of computing power and memory, especially for a technique called sparse attention. The authors introduce KPage, a new way of organizing data blocks that fit better into hardware tiles, reducing wasted space and speeding up processing. KPage packs and routes data more efficiently, leading to faster AI computations without losing any accuracy. Tests show that KPage works better than existing methods on various video processing tasks.
Open → 2610.28096v1

Knowledge guided evolution improves kernels for Ascend NPUs

Beyond Experience: Knowledge-Guided Evolution for NPU Kernel Generation

Abstract: LLM agents have become capable kernel engineers on mainstream GPU stacks, but they struggle on emerging accelerators such as Ascend NPUs, whose programming model is barely represented in pretraining data. Recent NPU agents address this gap largely through experience: they accumulate memory from their own generation and optimization trials and reuse it on later tasks. We argue that experience alone is not enough for kernel generation. An agent can only remember what it has tried, and it rarely tries a mechanism it does not know. As a result, such memory offers little help when a new operator calls for a different mechanism, and even familiar operators raise unseen situations as optimization proceeds. We present ASCENDEVOLVE, which grounds every step of an evolutionary kernel search in a large external knowledge base built from platform documentation, toolkit headers, and operator repositories. Because this corpus far exceeds any context window, ASCENDEVOLVE indexes it and routes each agent to a small, task-specific slice of evidence instead of the corpus itself. The retrieved knowledge seeds diverse implementation strategies, guides repair when a candidate fails, and constrains how strong candidates are recombined. On 53 Ascend C operators from CANN-Bench spanning four difficulty levels, ASCENDEVOLVE achieves an overall score of 71.39, improving over Reflexion and OpenEvolve by 11.6% and 17.2%.

Tue 20 OctArtificial Intelligence
The gist
Computers that run special tasks often need tiny programs called kernels, but making these kernels for new hardware is tough. The authors found that simply learning from past attempts isn’t enough because new situations need new ideas. They built a tool called ASCENDEVOLVE that uses a big collection of expert knowledge to guide the search for better kernels. This method helps it try smarter options, fix problems, and combine good ideas, leading to better results on a challenging chip called Ascend NPU.
Open → 2610.27588v1