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

Linear Attention Python Packages

Python packages with the GitHub topic linear-attention. Sorted by monthly downloads, with stars and forks.
lucidrains
taylor-series-linear-attention

Explorations into the recently proposed Taylor Series Linear Attention

1K 102 3
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
lucidrains
bdh-cq

Implementation of BDH-CQ: In-Context Learning with Recurrent Latent Reasoning, proposed by Pathway Research

1K 40 5
lucidrains
agent-attention-pytorch

Implementation of Agent Attention in Pytorch

950 93 5
MuonCat
ramnet-ops

PyTorch and CUDA operators for RAM-Net attention

868 5 0
MuonCat
ramnet

RAM-Net layers and Hugging Face models

611 5 0
SNU-ARC
sketchssm

SketchSSM: Write to the Full State, Read from a Compact Sketch

456 18 0
SunnyClaw-cx
sunnynet-cx

Original CPU-first sequence architecture with a standalone linear-recurrence inference runtime

342 18 1
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
mtanghu
leap-transformer

LEAP: Linear Explainable Attention in Parallel for causal language modeling with O(1) path length, and O(1) inference

210 4 1
d-csil
mlx-recurrence

A plug-in framework for linear-recurrence Metal kernels on Apple Silicon (SSD, GLA, RG-LRU)

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