Home/Model Training/flash-linear-attention
flash-linear-attention logo

flash-linear-attention

fla-org/flash-linear-attention

🚀 Efficient implementations for emerging model architectures

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

42views this month

5.6k stars661 forksLast push Aug 17, 2026 Python MIT

Decision brief

Flash-linear-attention accelerates linear attention mechanisms in large language models, using CUDA for optimal performance.

Good fit when

  • High-performance requirements with Nvidia GPUs where CUDA can offer significant speed-ups
  • Need to benchmark against multiple operations like chunk_retention and flash_attn

Avoid when

  • Limited GPU hardware or no support for backend flavors like CUDA, ROCM, XPU, NPU, or CPU
  • Do not require linear attention mechanism in modeling large language models or sequence data

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of Aug 17, 2026
Provenance
Not a fork · Organization account
As of Aug 17, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install flash-linear-attention
PyPI

How it fits your stack(11)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Related

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

The repository fla-org/flash-linear-attention provides efficient implementations of linear attention mechanisms, focusing on large language models and sequence modeling within machine learning systems.

Capability facts

Languages
python

Source: github.language+pyproject.toml · Aug 17, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 17, 2026)

$ python -m benchmarks.ops.run --op chunk_retention chunk_gla chunk_gdn flash_attn
Source link

Tags

README

Installation lives in a backend extra ( / / / / ). CUDA is one command; other backends are two so (and the right flavor that pulls transitively) come from the PyTorch wheel index instead of PyPI: `` fla pip install e .` to enable its import $ python m benchmarks.ops.run op chunk...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.