meta-pytorch / attention-gymLinks
Helpful tools and examples for working with flex-attention
β1,112Updated 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:
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ549Updated 8 months ago
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ793Updated 5 months ago
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β956Updated 10 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β594Updated 5 months ago
- Muon is an optimizer for hidden layers in neural networksβ2,231Updated this week
- β578Updated 4 months ago
- Ring attention implementation with flash attentionβ967Updated 4 months ago
- Large Context Attentionβ762Updated 3 months ago
- Pipeline Parallelism for PyTorchβ785Updated last year
- A Quirky Assortment of CuTe Kernelsβ761Updated this week
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ429Updated 4 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorchβ794Updated 5 months ago
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β278Updated last month
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ582Updated 11 months ago
- Annotated version of the Mamba paperβ493Updated last year
- Fault tolerance for PyTorch (HSDP, LocalSGD, DiLoCo, Streaming DiLoCo)β469Updated last week
- Tutel MoE: Optimized Mixture-of-Experts Library, Support GptOss/DeepSeek/Kimi-K2/Qwen3 using FP8/NVFP4/MXFP4β956Updated last month
- Scalable and Performant Data Loadingβ363Updated this week
- LLM KV cache compression made easyβ799Updated last week
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β449Updated 8 months ago
- π₯ A minimal training framework for scaling FLA modelsβ335Updated 2 months ago
- H-Net: Hierarchical Network with Dynamic Chunkingβ808Updated 2 months ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ619Updated last week
- For optimization algorithm research and development.β556Updated last week
- Load compute kernels from the Hubβ376Updated last week
- π Efficient implementations of state-of-the-art linear attention modelsβ4,282Updated this week
- β949Updated 2 months ago
- Accelerating MoE with IO and Tile-aware Optimizationsβ553Updated this week
- Microsoft Automatic Mixed Precision Libraryβ635Updated last month
- Muon is Scalable for LLM Trainingβ1,407Updated 5 months ago