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.

3.4M 965 304
asher
mlx-kquant

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

11K 10 4
xlite-dev
ffpa-attn

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

4K 336 27
IonDen
mlx-train-perf

Fused, logit-free linear-cross-entropy loss, RAM-fit planner, and benchmark harness for MLX fine-tuning on Apple Silicon

2K 5 1
ot-triton-lab
flash-sinkhorn

The official repository of FlashSinkhorn [ICML 2026 Oral]

913 223 22
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

856 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.

542 288 13
Shizheng-Wen
flashslice

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

505 5 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.

466 2 0
vhrabar
morphottention

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

442 0 0
HKUSTDial
flash-sparse-attn

Trainable fast and memory-efficient sparse attention

390 762 54
mikamika06
mlsys-lab

Auto-graded exercises in low-level ML systems: real C++, real CUDA-C on a software GPU (no NVIDIA hardware), deterministic measured gates.

365 0 0
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.

364 2 0
kyegomez
flashmha

An simple pytorch implementation of Flash MultiHead Attention

257 22 4
satwiksps
rigsolve

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

217 10 0
Mapika
gpkg

GPU package manager — find prebuilt CUDA wheels, build missing ones

144 1 0
AlcAI-Haven
fastflash-attention

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

133 2 0
SmallDoges
flash-dmattn

Trainable fast and memory-efficient sparse attention

125 762 54
egaoharu-kensei
flash-attention-triton

Cross-platform FlashAttention-2 Triton implementation for Turing+ GPUs with custom configuration mode

114 33 0
davidkny22
easywheels

Smart GPU wheel installer. Auto-detects CUDA, GPU, torch, and Python.

96 1 0
erfanzar
jax-flash-attn2

A flexible and efficient implementation of Flash Attention 2.0 for JAX, supporting multiple backends (GPU/TPU/CPU) and platforms (Triton/Pallas/JAX).

81 34 1
jvoltci
scree

Variable-length tensors with Triton kernels at 1.6× of FlashAttention-2 on H100. NumPy / PyTorch / MLX / JAX backends.

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