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

Attention Python Packages

Python packages with the GitHub topic 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
flashinfer-ai
flashinfer-python

FlashInfer: Kernel Library for LLM Serving

4.2M 7K 2K
flashinfer-ai
flashinfer-cubin

FlashInfer: Kernel Library for LLM Serving

1.3M 7K 2K
sgl-project
sglang

SGLang is a high-performance serving framework for large language models and multimodal models.

488K 39K 11K
sgl-project
sglang-kernel

SGLang is a high-performance serving framework for large language models and multimodal models.

471K 39K 11K
sgl-project
sgl-kernel

SGLang is a high-performance serving framework for large language models and multimodal models.

95K 39K 11K
thu-ml
sageattention

[ICLR2025, ICML2025, NeurIPS2025 Spotlight] Quantized Attention achieves speedup of 2-5x compared to FlashAttention, without losing end-to-end metrics across language, image, and video models.

91K 4K 568
kyegomez
qwen

My personal implementation of the model from "Qwen-VL: A Frontier Large Vision-Language Model with Versatile Abilities", they haven't released model code yet sooo...

10K 14 3
mojolearn
mojolearn

GPU machine learning in Mojo that supports bitwise identical inference and training on Apple Metal, NVIDIA CUDA and AMD HIP.

6K 12 0
CyberZHG
keras-transformer

Transformer implemented in Keras

6K 368 94
CyberZHG
keras-position-wise-feed-forward

Feed forward layer implemented in Keras

5K 8 5
lucidrains
performer-pytorch

An implementation of Performer, a linear attention-based transformer, in Pytorch

5K 1K 149
leondgarse
keras-cv-attention-models

Keras beit,caformer,CMT,CoAtNet,convnext,davit,dino,efficientdet,edgenext,efficientformer,efficientnet,eva,fasternet,fastervit,fastvit,flexivit,gcvit,ghostnet,gpvit,hornet,hiera,iformer,inceptionnext,lcnet,levit,maxvit,mobilevit,moganet,nat,nfnets,pvt,swin,tinynet,tinyvit,uniformer,volo,vanillanet,yolor,yolov7,yolov8,yolox,gpt2,llama2, alias kecam

4K 625 97
sgl-project
lsglang

SGLang is a high-performance serving framework for large language models and multimodal models.

4K 39K 11K
vcnoel
spectral-trust

Graph-spectral diagnostics, animated views and interventions for transformer attention: Fiedler value, HFER, graph-frequency steering and frequency-resolved patching for Hugging Face, TransformerLens and nnsight models.

3K 5 0
mojolearn
mojolearn-amd

GPU machine learning in Mojo that supports bitwise identical inference and training on Apple Metal, NVIDIA CUDA and AMD HIP.

3K 12 0
mojolearn
mojolearn-nvidia

GPU machine learning in Mojo that supports bitwise identical inference and training on Apple Metal, NVIDIA CUDA and AMD HIP.

3K 12 0
labmlai
labml-nn

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

2K 68K 7K
Red-Eyed
stackformers

Composable PyTorch transformers for vision, spatial, and sequence research

2K 3 0
mojolearn
mojolearn-core

GPU machine learning in Mojo that supports bitwise identical inference and training on Apple Metal, NVIDIA CUDA and AMD HIP.

2K 12 0
lucidrains
native-sparse-attention-pytorch

Native Sparse Attention

2K 817 51
FlashTek
kulc

Keras Utility & Layer Collection.

2K 63 15
szl-holdings
szl-khipu

SZL KHIPU — live Python kernels and tiny trained silhouettes. Knot the run. Hash the proof. Fail closed. Doctrine v11 LOCKED. Apache-2.0.

2K 1 0
ai4co
rl4co

A PyTorch library for all things Reinforcement Learning (RL) for Combinatorial Optimization (CO)

2K 926 158
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology