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.

14Projects
182.4KStars in total
+69Stars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

14 projects · by stars

  1. #1 · labmlai/annotated_deep_learning_paper_implementations

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

    67.8K
  2. #2 · sgl-project/sglang

    sglang

    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.

    39.2K
  3. #3 · kyegomez/OpenMythos

    OpenMythos

    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.

    14.9K
  1. 4

    HRM

    12.7Ksapientinc/HRM · Python

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

  2. 5

    Open-Sora-Plan

    12.2KPKU-YuanGroup/Open-Sora-Plan · Python

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

  3. 6

    External-Attention-pytorch

    12.2Kxmu-xiaoma666/External-Attention-pytorch · Python

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

  4. 7

    xformers

    10.6Kfacebookresearch/xformers · Python

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

  5. 8

    Attention-Residuals

    3.6KMoonshotAI/Attention-Residuals

    AttnRes (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.

  6. 9

    MSA

    3.5KEverMind-AI/MSA · Python

    MSA (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.

  7. 10

    zero-to-sglang

    2.3Kdatawhalechina/zero-to-sglang · Python

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

  8. 11

    jevlike

    1.4Kvinnylarouge/jevlike · Python

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

  9. 12

    mini-AGI

    1.3Kvolotat/mini-AGI · Python

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

  10. 13

    latent-sparse-attention

    469Prefrontal-AI/latent-sparse-attention · Python

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

  11. 14

    LeVJEPA

    293MLO-lab/LeVJEPA · Python

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

Often tagged together