meta-pytorch / attention-gymLinks
Helpful tools and examples for working with flex-attention
β1,043Updated this 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β542Updated 5 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β582Updated 2 months ago
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ779Updated 2 months ago
- Muon is an optimizer for hidden layers in neural networksβ1,983Updated 4 months ago
- Large Context Attentionβ748Updated 3 weeks ago
- β545Updated last month
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β920Updated 7 months ago
- Pipeline Parallelism for PyTorchβ781Updated last year
- Ring attention implementation with flash attentionβ906Updated 2 months ago
- Annotated version of the Mamba paperβ490Updated last year
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β270Updated last week
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β440Updated 5 months ago
- Scalable and Performant Data Loadingβ331Updated this week
- A Quirky Assortment of CuTe Kernelsβ651Updated last week
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ576Updated 9 months ago
- LLM KV cache compression made easyβ680Updated this week
- Tutel MoE: Optimized Mixture-of-Experts Library, Support GptOss/DeepSeek/Kimi-K2/Qwen3 using FP8/NVFP4/MXFP4β935Updated last month
- For optimization algorithm research and development.β543Updated this week
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ355Updated last month
- Fault tolerance for PyTorch (HSDP, LocalSGD, DiLoCo, Streaming DiLoCo)β446Updated this week
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorchβ774Updated 3 months ago
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Coresβ331Updated 10 months ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ550Updated this week
- β877Updated last week
- π₯ A minimal training framework for scaling FLA modelsβ286Updated 2 months ago
- Minimalistic 4D-parallelism distributed training framework for education purposeβ1,890Updated 2 months ago
- Muon is Scalable for LLM Trainingβ1,354Updated 3 months ago
- Load compute kernels from the Hubβ326Updated this week
- β302Updated 6 months ago
- Microsoft Automatic Mixed Precision Libraryβ627Updated last year