flashinfer-ai/flashinfer
FlashInfer: Kernel Library for LLM Serving observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 85
- Longevity 81
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 5
- age_days: 1139
- days_rel: 22
- days_push: 7
- n_releases_24m: 62
Adoption not part of the score
6252 stars · 1340 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
FlashInfer is a GPU kernel library and kernel generator for LLM inference, providing unified APIs for attention, GEMM, and MoE operations with multiple backends (FlashAttention-2/3, cuDNN, CUTLASS, TensorRT-LLM). It supports paged KV-cache, FP8/FP4 low-precision compute, CUDA Graphs, and GPUs from Turing through Blackwell.
Use cases
- speed up LLM inference serving on NVIDIA GPUs
- efficient attention kernels with paged KV-cache for dynamic batching
- fused mixture-of-experts kernels for MoE models
- FP8 and FP4 quantized attention and GEMM
- accelerate decode and prefill in vLLM or custom serving engines
- shared-prefix cascade attention for memory-efficient batching
- MLA attention kernels for DeepSeek models
When to choose
- you need state-of-the-art GPU kernel performance for LLM serving
- you're building or tuning an inference engine like vLLM or SGLang
- you need low-precision (FP8/FP4) attention, GEMM, or MoE on modern NVIDIA GPUs
- you want backend flexibility with automatic hardware-aware kernel selection
When to avoid
- you're running inference on CPUs or non-NVIDIA accelerators without supported backends
- you just need a simple high-level inference API rather than kernel-level control
- your workload is small-scale where kernel optimization overhead isn't worth it
Facets
library · maturity active
llm-inference gpu-computing machine-learning deep-learning benchmarking large-language-models deep-learning gpu-computing machine-learning developer-tools python cuda-kernels attention mixture-of-experts kv-cache fp8 fp4 jit-compilation vllm inference-serving pytorch gpu linux cuda
4 sources
- readme: https://github.com/flashinfer-ai/flashinfer · fetched 2026-08-28 · 16122ce128b4
- homepage: https://flashinfer.ai · fetched 2026-08-29 · 47c1526e3085
- site_page: https://docs.flashinfer.ai/ · fetched 2026-08-29 · 01c21b9b7af5
- site_page: https://flashinfer.ai/releases · fetched 2026-08-29 · 2ef5495fa6e3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| flashinfer-ai/flashinfer | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="flashinfer-ai/flashinfer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem