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.

3.4M 965 304
flashinfer-ai
flashinfer-python

FlashInfer: Kernel Library for LLM Serving

3.1M 7K 2K
sgl-project
sglang

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

2.5M 37K 10K
flashinfer-ai
flashinfer-cubin

FlashInfer: Kernel Library for LLM Serving

1.2M 7K 2K
sgl-project
sglang-kernel

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

813K 37K 10K
sgl-project
sgl-kernel

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

98K 37K 10K
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.

89K 4K 527
mojolearn
mojolearn

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

12K 5 0
mojolearn
mojolearn-nvidia

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

6K 5 0
CyberZHG
keras-transformer

Transformer implemented in Keras

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

Feed forward layer implemented in Keras

6K 8 5
mojolearn
mojolearn-amd

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

4K 5 0
lucidrains
performer-pytorch

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

3K 1K 148
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

3K 626 97
lucidrains
transfusion-pytorch

Pytorch implementation of Transfusion, "Predict the Next Token and Diffuse Images with One Multi-Modal Model", from MetaAI

2K 1K 76
sgl-project
sglang-kt

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

2K 37K 10K
ai4co
rl4co

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

2K 913 155
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
chessformer-lens
chessformer-lens

A toolkit+visualizer that is designed for mech interp researchers working with chess models that use transformers tokenized by square.

1K 8 0
sgl-project
lsglang

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

1K 37K 10K
lucidrains
native-sparse-attention-pytorch

Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper

1K 816 51
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...

1K 13 3
lucidrains
spear-tts-pytorch

Implementation of Spear-TTS - multi-speaker text-to-speech attention network, in Pytorch

1K 278 20
azettaai
nmn

Not the neurons we want, but the neurons we need

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