meta-pytorch / attention-gymView external linksLinks
Helpful tools and examples for working with flex-attention
☆1,127Feb 8, 2026Updated last week
Alternatives and similar repositories for attention-gym
Users that are interested in attention-gym are comparing it to the libraries listed below
Sorting:
- A PyTorch native platform for training generative AI models☆5,069Updated this week
- 🚀 Efficient implementations of state-of-the-art linear attention models☆4,379Updated this week
- Tile primitives for speedy kernels☆3,139Updated this week
- Ring attention implementation with flash attention☆980Sep 10, 2025Updated 5 months ago
- PyTorch native quantization and sparsity for training and inference☆2,668Feb 9, 2026Updated last week
- Efficient Triton Kernels for LLM Training☆6,141Updated this week
- FlashInfer: Kernel Library for LLM Serving☆4,935Updated this week
- Distributed Compiler based on Triton for Parallel Systems☆1,350Feb 9, 2026Updated last week
- A Python-embedded DSL that makes it easy to write fast, scalable ML kernels with minimal boilerplate.☆744Updated this week
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.☆596Aug 12, 2025Updated 6 months ago
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆965Feb 5, 2026Updated last week
- A sparse attention kernel supporting mix sparse patterns☆455Jan 18, 2026Updated 3 weeks ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Training☆639Updated this week
- Fast and memory-efficient exact attention☆22,231Updated this week
- Minimalistic large language model 3D-parallelism training☆2,544Dec 11, 2025Updated 2 months ago
- A library for accelerating Transformer models on NVIDIA GPUs, including using 8-bit and 4-bit floating point (FP8 and FP4) precision on H…☆3,152Feb 7, 2026Updated last week
- Applied AI experiments and examples for PyTorch☆315Aug 22, 2025Updated 5 months ago
- Hackable and optimized Transformers building blocks, supporting a composable construction.☆10,336Feb 5, 2026Updated last week
- A Quirky Assortment of CuTe Kernels☆798Updated this week
- USP: Unified (a.k.a. Hybrid, 2D) Sequence Parallel Attention for Long Context Transformers Model Training and Inference☆643Jan 15, 2026Updated last month
- Large Context Attention☆766Oct 13, 2025Updated 4 months ago
- Using FlexAttention to compute attention with different masking patterns☆47Sep 22, 2024Updated last year
- Tritonbench is a collection of PyTorch custom operators with example inputs to measure their performance.☆326Updated this week
- Puzzles for learning Triton☆2,296Nov 18, 2024Updated last year
- 🔥 A minimal training framework for scaling FLA models☆344Nov 15, 2025Updated 3 months ago
- [ICLR2025, ICML2025, NeurIPS2025 Spotlight] Quantized Attention achieves speedup of 2-5x compared to FlashAttention, without losing end-t…☆3,159Jan 17, 2026Updated 3 weeks ago
- [ICML2025] SpargeAttention: A training-free sparse attention that accelerates any model inference.☆939Dec 31, 2025Updated last month
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆235Jun 15, 2025Updated 8 months ago
- FlexAttention w/ FlashAttention3 Support☆27Oct 5, 2024Updated last year
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,180Aug 22, 2025Updated 5 months ago
- A fast communication-overlapping library for tensor/expert parallelism on GPUs.☆1,247Aug 28, 2025Updated 5 months ago
- Mirage Persistent Kernel: Compiling LLMs into a MegaKernel☆2,130Updated this week
- Schedule-Free Optimization in PyTorch☆2,256May 21, 2025Updated 8 months ago
- FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.☆1,011Sep 4, 2024Updated last year
- ☆104Nov 7, 2024Updated last year
- Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels☆5,191Updated this week
- Fault tolerance for PyTorch (HSDP, LocalSGD, DiLoCo, Streaming DiLoCo)☆476Feb 3, 2026Updated last week
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆269Jul 6, 2025Updated 7 months ago
- ☆131May 29, 2025Updated 8 months ago