Topics / #attention
Attention projects on GitHub
The attention operation that lets models weigh input context dynamically.
As of , the most-starred Attention projects on GitHub are annotated_deep_learning_paper_implementations (67.8K stars), sglang (39.2K stars) and OpenMythos (14.9K stars). GitHub.Locker tracks 14 Attention repositories with 182.4K stars combined. The fastest-growing on November 30 was sglang, with +48 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
+48sglang
sgl-project/sglang · ★ 39.2KSGLang is a high-performance serving framework for large language models and multimodal models, built to deliver low-latency, high-throughput inference from a single GPU up to large distributed clusters.
+6zero-to-sglang
datawhalechina/zero-to-sglang · ★ 2.3KThe official SGLang x Datawhale course on LLM inference: it teaches how inference engines work, has you build a mini-sglang from scratch, and then digs into the real SGLang source code.
+5annotated_deep_learning_paper_implementations
labmlai/annotated_deep_learning_paper_implementations · ★ 67.8KA collection of 60+ PyTorch implementations of deep learning papers, each annotated with side-by-side explanatory notes so you can read the code and the math/explanation together.
+3OpenMythos
kyegomez/OpenMythos · ★ 14.9KOpenMythos is an open-source, speculative PyTorch implementation that tries to reconstruct the internal architecture of Anthropic's Claude ('Mythos') purely from publicly available research papers, not from any leaked or official Anthropic code.
The all-time top
14 projects · by stars
- 67.8K
#1 · labmlai/annotated_deep_learning_paper_implementationsannotated_deep_learning_paper_implementations
A collection of 60+ PyTorch implementations of deep learning papers, each annotated with side-by-side explanatory notes so you can read the code and the math/explanation together.
- 39.2K
#2 · sgl-project/sglangsglang
SGLang is a high-performance serving framework for large language models and multimodal models, built to deliver low-latency, high-throughput inference from a single GPU up to large distributed clusters.
- 14.9K
#3 · kyegomez/OpenMythosOpenMythos
OpenMythos is an open-source, speculative PyTorch implementation that tries to reconstruct the internal architecture of Anthropic's Claude ('Mythos') purely from publicly available research papers, not from any leaked or official Anthropic code.
- 4

HRM
12.7Ksapientinc/HRM · PythonThe official release of the Hierarchical Reasoning Model (HRM): a brain-inspired recurrent architecture that reaches significant computational depth with only 27 million parameters, trained on ~1000 examples without pretraining or chain-of-thought data.
- 5
Open-Sora-Plan
12.2KPKU-YuanGroup/Open-Sora-Plan · PythonOpen-Sora Plan is an open-source community project that aims to reproduce OpenAI's Sora text-to-video model, led by a PKU-affiliated AIGC lab with contributions from Huawei and Pengcheng Lab.
- 6

External-Attention-pytorch
12.2Kxmu-xiaoma666/External-Attention-pytorch · PythonA PyTorch collection of Attention, Backbone, MLP, Re-parameter, and Convolution implementations from research papers, meant to help you understand papers by seeing their mechanisms coded up.
- 7

xformers
10.6Kfacebookresearch/xformers · PythonxFormers is Meta's (Facebook Research) toolbox of hackable, optimized Transformer building blocks that you compose together — reusable pieces for your own models rather than a monolithic framework.
- 8

Attention-Residuals
3.6KMoonshotAI/Attention-ResidualsAttnRes (Attention Residuals) is a drop-in replacement for standard residual connections in Transformers, letting each layer use learned, input-dependent attention over all previous layer outputs instead of simple additive accumulation.
- 9

MSA
3.5KEverMind-AI/MSA · PythonMSA (Memory Sparse Attention) is an end-to-end trainable, scalable latent-memory framework that lets LLMs handle context windows up to 100M tokens, replacing RAG or fixed-size RNN-style memory with a differentiable sparse-attention memory bank.
- 10

zero-to-sglang
2.3Kdatawhalechina/zero-to-sglang · PythonThe official SGLang x Datawhale course on LLM inference: it teaches how inference engines work, has you build a mini-sglang from scratch, and then digs into the real SGLang source code.
- 11
jevlike
1.4Kvinnylarouge/jevlike · PythonA small research model that reads a piece of text plus a list of options and returns a probability for each option in one pass, instead of writing an answer token by token.
- 12

mini-AGI
1.3Kvolotat/mini-AGI · Pythonmini-AGI is a continual learning, byte-level language model that assembles its own architecture, trains from scratch on a single 8GB VRAM GPU, and keeps learning from everything it reads, without a separate fine-tuning phase.
- 13

latent-sparse-attention
469Prefrontal-AI/latent-sparse-attention · PythonCode for Latent Sparse Attention (LSA). It clusters keys in a learned latent space so each query scores clusters instead of every key, which makes long-context attention faster while keeping accuracy close to the original model.
- 14

LeVJEPA
293MLO-lab/LeVJEPA · PythonThe official implementation of LeVJEPA — a self-supervised video encoder trained with LeJEPA's collapse-free objective. Unlike V-JEPA or VideoMAE it needs no EMA target encoder, stop-gradient, predictor, or pixel-reconstruction decoder: just an encoder, a small projector, and one loss hyperparameter.
Related topics
Often tagged together
- python2,386
- deep-learning582
- machine-learning767
- research693
- gpu798
- transformer186
- ai2,006
- pytorch348
- cuda382
- llm1,590
- open-source5,461
- attention-mechanism50
- large-language-models210
- linux4,256
- mit3,173
- nlp171
- benchmark465
- huggingface349
- neural-network100
- nvidia343
- academic-research203
- artificial-intelligence235
- chinese1,025
- computer-vision295