Skip to content
Topic

Attention & fused kernels

Hand-optimized kernels for attention, GEMM and MoE.

Kind
category

Opportunities

36 concerning this

Contribute · 6open tab →

Good first issueFlashInfer#587873

bug(sampling): top_k_arr/min_p_arr are validated against input rows but indexed by output row, reading out of bounds when indices is longer than probs

Summary top k sampling from probs and min p sampling from probs validate their per-request parameter tensor against the input batch but index it by the output row. When indices is longer than probs.size(0) , every output row at or past probs.size(0) reads past the end of the…

good first issuefiled by a maintainer
Good first issueLiger Kernel#6172

[feat] on-paper form of RoPE

🚀 The feature, motivation and pitch right now our implementation of RoPE assumes the rotation matrix is created and used in the HuggingFace model code way, i.e. instead of the rotation matrix described in original RoPE paper we assume it looks something like this instead: math…

good first issuefiled by a maintainer
Help wantedLiger Kernel#65657

DeepSeek Native Sparse Attention (NSA) Kernel

🚀 The feature, motivation and pitch Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention Potentially useful python reference Alternatives No response Additional context No response

help wantedfiled by a maintainer
Help wantedLiger Kernel#89347

TiledMLP

🚀 The feature, motivation and pitch TiledMLP can save memory for large bs/long seq as well Reference code: parallel/ulysses sp.py L781 Thanks to @upskyy, the base implementation has been done in However, the current is not compatible with ddp and fsdp, see…

help wantedfiled by a maintainer

Review · 16open tab →

RFC / designFlashInfer#360574

[RFC] FlashInfer Release-Quality Action Plan

FlashInfer Release-Quality Action Plan Owner: Yang Xu · written for community review — feedback welcome. Status update 2026-09-06. Both harnesses are merged and gate CI by default; the MoE fuzzer has since caught two more real bugs; Stream 0 landed a per-unit timeout runner.…

open RFCproposed by a maintainer
RFC / designFlashAttention#245664

[RFC] FA4 — head_dim=256 & head_dim=512

Overview This issue tracks large head dimension support ( head dim=256 , head dim=512 ) in FA4 (the CuTe DSL implementation in flash attn/cute/ ) on Blackwell (SM100 / SM103 / SM110). Updated 2026-11-14. head dim 256 now runs on the general forward and backward kernels; the…

open RFCproposed by a maintainer
RFC / designFlashInfer#940941

[RFC] Speed up gemm BF16 autotuner

While replacing torch linear with FI gemm BF16 in vLLM, we found that on frontier models (Qwen3.8-27B, Qwen3.8-Flash-Next, Qwen3.5-397B-A17B, MiniMax-M3.1-Flash, DeepSeek-V4-Pro, DeepSeek-V4.1-Flash, Muse-Spark-Open-816B-A42B, Kimi-K3, GLM-5.3) autotuner takes more than 20…

open RFC

Signals · 14open tab →

Recurring pain

“silently drops” in open issues of 34 projects

34 projects61 open issues
Recurring pain

“returns wrong” in open issues of 24 projects

24 projects56 open issues
Recurring pain

“silently ignores” in open issues of 22 projects

22 projects29 open issues
Recurring pain

“wrong results” in open issues of 20 projects

20 projects60 open issues

Parent

1

Tagged

6
  • Fast, memory-efficient exact attention kernels.

  • FlashMLA★ 13k

    Multi-head latent attention decoding kernels.

  • xFormers★ 11k

    Hackable, optimized Transformer building blocks.

  • DeepGEMM★ 9.2k

    FP8 GEMM kernels with fine-grained scaling.

  • FlashInfer★ 7.0k

    Kernel library for LLM serving (attention, sampling, MoE).

  • Liger Kernel★ 6.7k

    Triton kernels for efficient LLM training.