meta-pytorch / attention-gymLinks
Helpful tools and examples for working with flex-attention
β1,105Updated 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β549Updated 7 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β592Updated 5 months ago
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ791Updated 4 months ago
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β952Updated 9 months ago
- Large Context Attentionβ759Updated 2 months ago
- β575Updated 3 months ago
- Annotated version of the Mamba paperβ493Updated last year
- Ring attention implementation with flash attentionβ961Updated 4 months ago
- Pipeline Parallelism for PyTorchβ783Updated last year
- Muon is an optimizer for hidden layers in neural networksβ2,179Updated last month
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ415Updated 3 months ago
- LLM KV cache compression made easyβ740Updated 3 weeks ago
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β277Updated last month
- Scalable and Performant Data Loadingβ360Updated last week
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorchβ788Updated 5 months ago
- A Quirky Assortment of CuTe Kernelsβ741Updated this week
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ581Updated 11 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β449Updated 7 months ago
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ607Updated this week
- Tutel MoE: Optimized Mixture-of-Experts Library, Support GptOss/DeepSeek/Kimi-K2/Qwen3 using FP8/NVFP4/MXFP4β953Updated 3 weeks ago
- π₯ A minimal training framework for scaling FLA modelsβ333Updated last month
- Fault tolerance for PyTorch (HSDP, LocalSGD, DiLoCo, Streaming DiLoCo)β467Updated 2 weeks ago
- For optimization algorithm research and development.β556Updated 3 weeks ago
- A Python-embedded DSL that makes it easy to write fast, scalable ML kernels with minimal boilerplate.β706Updated this week
- Building blocks for foundation models.β590Updated 2 years ago
- depyf is a tool to help you understand and adapt to PyTorch compiler torch.compile.β774Updated 2 months ago
- β945Updated 2 months ago
- Minimalistic 4D-parallelism distributed training framework for education purposeβ1,939Updated 4 months ago
- Muon is Scalable for LLM Trainingβ1,397Updated 5 months ago
- Accelerating MoE with IO and Tile-aware Optimizationsβ522Updated last week