fla-org/flash-linear-attention
🚀 Efficient implementations for emerging model architectures observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 99
- Release rhythm 83
- Longevity 70
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: 39.5
- age_days: 987
- days_rel: 37
- days_push: 7
- n_releases_24m: 15
Adoption not part of the score
5627 stars · 672 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A PyTorch library providing hardware-efficient implementations of emerging sequence model architectures, including linear attention, sparse attention, state space models (Mamba variants), and hybrid LLM layers. Kernels are written in Triton and related backends and verified on NVIDIA, AMD, and Intel GPUs.
Use cases
- implement linear attention layers for training LLMs
- run Mamba and state space model layers efficiently on GPU
- train hybrid attention and SSM language models
- use gated delta net kernels in my model
- benchmark efficient attention implementations across NVIDIA AMD and Intel GPUs
- build constant-memory sequence models for long context
- try emerging token mixing architectures like KDA and GDN-2
When to choose
- you need production-quality Triton kernels for linear attention or SSM layers
- you are training or fine-tuning LLMs with non-transformer or hybrid token mixing
- you want a single library covering many recent sequence-model papers
- you need multi-vendor GPU support (NVIDIA, AMD, Intel)
When to avoid
- you only need standard softmax attention with no custom layers
- you work outside PyTorch or on CPU-only hardware
- you need a turnkey chatbot or inference server rather than model layers
- your project depends on fully stable, long-term-frozen APIs
Facets
library · maturity active
machine-learning llm-training llm-inference gpu-computing deep-learning large-language-models deep-learning machine-learning gpu-computing python cross-platform linear-attention state-space-models triton-kernels sequence-modeling mamba gated-deltanet sparse-attention hybrid-architectures pytorch natural-language-processing gpu linux
3 sources
- readme: https://github.com/fla-org/flash-linear-attention · fetched 2026-08-28 · 90d21d467d3b
- homepage: https://github.com/fla-org/flash-linear-attention · fetched 2026-08-29 · 720ba67b2559
- registry_pypi: https://pypi.org/pypi/flash-linear-attention/json · fetched 2026-08-29 · 6745bc30119f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fla-org/flash-linear-attention | main | 88 |
For agents
markdown · JSON · MCP: product_card(name="fla-org/flash-linear-attention")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem