Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Flash Attention Python Packages

Python packages with the GitHub topic flash-attention. Sorted by monthly downloads, with stars and forks.
NVIDIA
nvidia-cudnn-frontend

cuDNN Frontend is NVIDIA's modern, open-source entry point to the cuDNN library and a growing collection of high-performance open-source kernels.

4.3M 1K 347
asher
mlx-kquant

Native K-quant support for MLX, with a quantization and fine-tuning toolchain for Apple Silicon

12K 11 6
vipshop
ffpa-attn

Kernel Library for Large Headdim Attention (64~1024, BF16/FP8/FP4), 1.5x~15x↑ vs PyTorch SDPA.

3K 352 30
jla-org
jax-linear-attention

Fast linear-attention, SSM and attention kernels (Pallas Mosaic GPU) and a training stack for JAX on NVIDIA Hopper

1K 7 0
techbysaurabh
whisper-blaze

High-throughput batched Whisper large-v3 serving on NVIDIA Hopper GPUs — OpenAI-compatible API, dynamic batching, VRAM capping, fused Hopper LayerNorm kernel

1K 0 0
DAMO-NLP-SG
inf-cl

[CVPR 2025 Highlight] The official CLIP training codebase of Inf-CL: "Breaking the Memory Barrier: Near Infinite Batch Size Scaling for Contrastive Loss". A super memory-efficiency CLIP training scheme.

764 287 13
mikamika06
mlsys-lab

Auto-graded exercises in low-level ML systems: 2,053 short tasks and 1,251 multi-file projects, mostly Python, with real C++ via clang++ and real CUDA-C on a software GPU

661 0 0
k1n0F
unica-attention

Attention kernel for the RTX 5080 (sm_120): as fast as SageAttention 2 on WAN 2.2, at less than half its error.

659 1 0
IonDen
mlx-train-perf

Logit-free cross-entropy, sequence packing, Qwen 3.5 GatedDelta training and a RAM-fit planner for MLX LoRA fine-tuning

652 6 1
vhrabar
morphottention

Mathematical Morphology-based self-attention module for PyTorch (CUDA) using Flash-style kernel fusion.

455 0 0
vineetha00
flashattn-amx

FlashAttention without CUDA — a C kernel on Apple's AMX coprocessor that beats PyTorch's flash-attention CPU kernel 1.2-2.2x. PyTorch custom op + NumPy API.

436 0 0
Dalailalama
egemma2

EmbeddingGemma 2 in Rust: text, image, audio and video embeddings on CPU or CUDA, with a Python client and an OpenAI-compatible server

372 4 1
ot-triton-lab
flash-sinkhorn

The official repository of FlashSinkhorn [ICML 2026 Oral]

332 227 22
HKUSTDial
flash-sparse-attn

Trainable fast and memory-efficient sparse attention

309 753 55
codexblack
darkformer-pytorch

Unofficial Pytorch-based implementation of Google DeepMind's "Data-Aware Random Feature Kernels for Transformers" architecture. Featuring encoder-decoder models, language models, deterministic projections, and optional FlashAttention 2/3 support.

254 2 0
kyegomez
flashmha

FlashMHA - Pytorch

225 22 4
Mapika
gpkg

GPU package manager — find prebuilt CUDA wheels, build missing ones, generate uv pyproject.toml

178 1 0
Shizheng-Wen
flashslice

Fused Triton kernels for Transolver's slice/deslice. Official code for "Does Transolver really need a Transformer?" (arXiv:2609.32525)

162 9 0
egaoharu-kensei
flash-attention-triton

Cross-platform FlashAttention-2 Triton implementation for Turing+ architectures

159 33 0
EyadNada
axiomlm

You import the model's weights and start fine-tuning, unaware that you are missing out on more than 80% of gpu utilization. Axiom gets all the juice out of the box.

154 2 1
satwiksps
rigsolve

Explainable compatibility resolution for torch, CUDA, and native GPU extensions.

145 9 0
AlcAI-Haven
fastflash-attention

Drop-in exact bf16 flash-attention for CUDA with a deterministic backward, tuned for Blackwell (sm_120 / RTX 5090).

139 4 0
SmallDoges
flash-dmattn

Flash Dynamic Mask Attention: Fast and Memory-Efficient Trainable Dynamic Mask Sparse Attention

129 751 55
davidkny22
easywheels

Smart GPU wheel installer. Auto-detects CUDA, GPU, torch, and Python to install the right pre-built wheel.

127 1 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology