meta-pytorch / attention-gymLinks
Helpful tools and examples for working with flex-attention
β924Updated 3 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β536Updated 3 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β567Updated last week
- Muon is an optimizer for hidden layers in neural networksβ1,501Updated last month
- β512Updated 2 weeks ago
- Large Context Attentionβ724Updated 6 months ago
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β803Updated 4 months ago
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ712Updated 2 months ago
- Pipeline Parallelism for PyTorchβ774Updated 11 months ago
- Scalable and Performant Data Loadingβ291Updated this week
- Annotated version of the Mamba paperβ487Updated last year
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β258Updated 3 weeks ago
- Ring attention implementation with flash attentionβ836Updated last week
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ567Updated 6 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorchβ733Updated 2 weeks ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β433Updated 3 months ago
- LLM KV cache compression made easyβ570Updated last week
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Coresβ326Updated 7 months ago
- Building blocks for foundation models.β529Updated last year
- β293Updated 3 months ago
- Tutel MoE: Optimized Mixture-of-Experts Library, Support GptOss/DeepSeek/Kimi-K2/Qwen3 FP8/NVFP4/MXFP4β885Updated last week
- π₯ A minimal training framework for scaling FLA modelsβ224Updated 2 months ago
- Fault tolerance for PyTorch (HSDP, LocalSGD, DiLoCo, Streaming DiLoCo)β381Updated this week
- For optimization algorithm research and development.β525Updated this week
- This repository contains the experimental PyTorch native float8 training UXβ224Updated last year
- Scalable toolkit for efficient model reinforcementβ607Updated this week
- TensorDict is a pytorch dedicated tensor container.β950Updated last week
- A Quirky Assortment of CuTe Kernelsβ402Updated this week
- depyf is a tool to help you understand and adapt to PyTorch compiler torch.compile.β710Updated 3 months ago
- Microsoft Automatic Mixed Precision Libraryβ616Updated 10 months ago
- Load compute kernels from the Hubβ233Updated last week