meta-pytorch / attention-gymLinks
Helpful tools and examples for working with flex-attention
β1,062Updated 2 weeks ago
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β545Updated 6 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β584Updated 3 months ago
- β555Updated 2 months ago
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ782Updated 3 months ago
- Muon is an optimizer for hidden layers in neural networksβ2,056Updated last week
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β925Updated 8 months ago
- Large Context Attentionβ753Updated last month
- Pipeline Parallelism for PyTorchβ784Updated last year
- Ring attention implementation with flash attentionβ923Updated 2 months ago
- Scalable and Performant Data Loadingβ345Updated this week
- Annotated version of the Mamba paperβ491Updated last year
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ579Updated 9 months ago
- A Quirky Assortment of CuTe Kernelsβ675Updated last week
- LLM KV cache compression made easyβ694Updated last week
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β271Updated last week
- Fault tolerance for PyTorch (HSDP, LocalSGD, DiLoCo, Streaming DiLoCo)β454Updated 3 weeks ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ379Updated 2 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β445Updated 6 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorchβ780Updated 4 months ago
- Building blocks for foundation models.β581Updated last year
- depyf is a tool to help you understand and adapt to PyTorch compiler torch.compile.β765Updated last month
- A Python-embedded DSL that makes it easy to write fast, scalable ML kernels with minimal boilerplate.β640Updated this week
- Tutel MoE: Optimized Mixture-of-Experts Library, Support GptOss/DeepSeek/Kimi-K2/Qwen3 using FP8/NVFP4/MXFP4β943Updated 3 weeks ago
- For optimization algorithm research and development.β547Updated 2 weeks ago
- Load compute kernels from the Hubβ335Updated last week
- β912Updated 3 weeks ago
- H-Net: Hierarchical Network with Dynamic Chunkingβ785Updated last week
- A Distributed Attention Towards Linear Scalability for Ultra-Long Context, Heterogeneous Data Trainingβ570Updated this week
- Best practices & guides on how to write distributed pytorch training codeβ543Updated last month
- β303Updated 7 months ago