meta-pytorch / attention-gymLinks
Helpful tools and examples for working with flex-attention
β1,020Updated 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β540Updated 5 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β578Updated 2 months ago
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ772Updated 2 months ago
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β903Updated 7 months ago
- β534Updated 3 weeks ago
- Muon is an optimizer for hidden layers in neural networksβ1,888Updated 3 months ago
- Ring attention implementation with flash attentionβ901Updated last month
- Large Context Attentionβ743Updated last week
- Pipeline Parallelism for PyTorchβ780Updated last year
- Scalable and Performant Data Loadingβ308Updated this week
- A Quirky Assortment of CuTe Kernelsβ627Updated last week
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β270Updated 2 months ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ574Updated 8 months ago
- Annotated version of the Mamba paperβ489Updated last year
- For optimization algorithm research and development.β542Updated last week
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorchβ766Updated 2 months ago
- LLM KV cache compression made easyβ660Updated this week
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β439Updated 5 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ323Updated last month
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Coresβ329Updated 9 months ago
- Tutel MoE: Optimized Mixture-of-Experts Library, Support GptOss/DeepSeek/Kimi-K2/Qwen3 using FP8/NVFP4/MXFP4β928Updated 2 weeks ago
- β827Updated last week
- Muon is Scalable for LLM Trainingβ1,336Updated 2 months ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ537Updated this week
- Load compute kernels from the Hubβ304Updated this week
- TensorDict is a pytorch dedicated tensor container.β972Updated this week
- Fault tolerance for PyTorch (HSDP, LocalSGD, DiLoCo, Streaming DiLoCo)β420Updated this week
- π₯ A minimal training framework for scaling FLA modelsβ265Updated last month
- Building blocks for foundation models.β566Updated last year
- Puzzles for learning Tritonβ2,036Updated 11 months ago