RT-Lynx: Putting GEMM Sparsity in the Right Place for Diffusion Models

Xing Cong, Hanlin Tang, Kan Liu, Tao Lan, Lin Qu +1 more
5/26/2026
cs.LG
diffusion-flow

No confident code implementation found for this paper.

Abstract

Diffusion Transformers (DiT) achieve strong performance in image generation but incur substantial inference costs. While prior work has reduced this cost via quantization and distillation, semi-structured sparsity, which can nearly halve FLOPs, remains underexplored.

Show full abstract

A key reason is that most existing approaches focus on weight sparsification, and pruning 50% of the weights can remove critical model capacity and degrade generation quality. Our study, however, shows that DiT activations are intrinsically sparse and significantly more robust to N:M semi-structured sparsification than weights. Motivated by this observation, we advocate a paradigm shift from weight sparsification to activation sparsification. We propose RT-Lynx, which applies N:M sparsification to activations and incorporates error-compensation techniques to mitigate accuracy loss. We further implement highly optimized CUDA kernels tailored to this setting, achieving up to a 1.55x speedup on average in linear layers. Extensive experiments across multiple diffusion models demonstrate that our method preserves the generation quality of the original models while substantially accelerating inference.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cong2026rtlynx,
  title  = {RT-Lynx: Putting GEMM Sparsity in the Right Place for Diffusion Models},
  author = {Xing Cong and Hanlin Tang and Kan Liu and Tao Lan and Lin Qu and Chenhao Xie},
  year   = {2026},
  eprint = {2605.26632},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.26632v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.26632.svg)](https://codeofpaper.com/paper/2605.26632)

Discussion