Skip to content
Open access

Realizable N:M Sparse Transformer Inference via Search-Kernel Co-design

Jul 2026 · European Conference on Parallel Processing · Vol abs/2607.12505 · 0 citations · 25 references
Computer Science

TL;DR

This work designs MD-SpMM, an N:M sparse CUDA kernel that reorganizes sparse GEMM into micro-dense, Tensor-Core-aligned dataflow and uses inference-aware adaptive parallelism to sustain utilization and performs layer-wise sparsity search under explicit end-to-end latency budgets.

Abstract

Vision Transformers (ViTs) achieve strong accuracy but incur high inference latency. Semi-structured N:M sparsity can reduce arithmetic cost, yet its theoretical savings often fail to translate into proportional end-to-end speedups on modern GPUs. This mismatch arises because deployment latency depends not only on arithmetic reduction but also on execution regularity and hardware scheduling under sparsity. Achieving practical acceleration, therefore, requires coordinated design across sparse execution and sparsity configuration. To this end, we propose a hardware-software co-design framework for N:M sparse ViT inference. On the hardware side, we design MD-SpMM, an N:M sparse CUDA kernel that reorganizes sparse GEMM into micro-dense, Tensor-Core-aligned dataflow and uses inference-aware adaptive parallelism to sustain utilization. On the software side, we perform layer-wise sparsity search under explicit end-to-end latency budgets using a three-stage heuristic search with constraint relaxation to avoid premature convergence and enable deployment-aware sparsity allocation. Experiments on multiple ViT/Swin models and GPU platforms show that the framework achieves over 2.2x latency speedup while maintaining comparable accuracy and delivering superior accuracy under the same latency constraint. The source code is publicly available at https://github.com/liuganhuo/realizable-nm-sparse-transformer.

Read PDF

Similar papers

Jul 2026

At-the-Roofline Sparse Tensor Contractions on Vector Processors for Transformer Inference

Ventaglio is presented, a runtime-configurable sparse execution unit coupled with RVV ISA extensions that drives sparse tensor contractions toward their roofline through indexed gather-accumulate-scatter support and achieves speedup over dense baselines during prefill and autoregressive decoding.

Bo-Wen Wang, Chi Zhang, Diyou Shen et al. · 0 citations
Preprint Aug 2026

Celty: SpMSpV GPU Kernel and SIMT Co-Design for Efficient Dual-Sparse LLM Inference

Celty, a co-designed sparse format, GPU kernel, and SIMT microarchitecture for efficient spMspV in LLM inference is proposed, which introduces a Run-Length Compressed CSC format that enables vectorized loading of compressed weight columns and exploits both sparsity sources to skip unnecessary memory accesses.

Ruokai Yin, Priyadarshini Panda · 0 citations
Jul 2026

Unified Static-Dynamic Pruning for Efficient LLM Inference

SPDP advances the inference efficiency-quality Pareto frontier, showing that unified static-dynamic pruning can deliver substantial throughput and performance-per-watt improvements in large-scale LLM serving.

Jin-hong Kim, Yejoo Lee, Jaeyoung Do · 0 citations
Jun 2026

ThunderGNN: Unlocking Tensor Cores for Graph Neural Networks

ThunderGNN is a hardware-aware acceleration system designed to reconcile graph irregularity with Tensor Core rigidity and significantly outperforms state-of-the-art systems, achieving geometric mean speedups of 1.89× over DGL and 2.59× over PyG.

Yuang Chen, Si-Yi Teng, Wen-Qi Zeng et al. · 0 citations
Preprint Aug 2026

LowRank-SSM: Hardware-Software Co-Design for Rank-Reduced Mamba Acceleration on FPGA

LowRank-SSM is a hardware-software co-design framework that decomposes the input and output projection weights via post-training truncated SVD and introduces a greedy bandwise rank-allocation algorithm that searches for the per-band rank vector that minimizes weight storage while respecting a user-specified accuracy co...

Hao-Cheng Xu, B. Bhat, Yuseon Chou et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.