pytorch-labs / attention-gymLinks
Helpful tools and examples for working with flex-attention
β904Updated 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β532Updated 2 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β563Updated 2 weeks ago
- Muon is an optimizer for hidden layers in neural networksβ1,390Updated 3 weeks ago
- β506Updated this week
- Large Context Attentionβ719Updated 6 months ago
- Pipeline Parallelism for PyTorchβ775Updated 11 months ago
- Ring attention implementation with flash attentionβ828Updated this week
- Annotated version of the Mamba paperβ487Updated last year
- Scalable and Performant Data Loadingβ290Updated last week
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β731Updated 4 months ago
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ673Updated last month
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β258Updated last week
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ567Updated 5 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β431Updated 2 months ago
- For optimization algorithm research and development.β525Updated this week
- LLM KV cache compression made easyβ560Updated this week
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorchβ719Updated this week
- Tutel MoE: Optimized Mixture-of-Experts Library, Support DeepSeek/Kimi-K2/Qwen3 FP8/FP4β870Updated last week
- β293Updated 3 months ago
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Coresβ325Updated 7 months ago
- π₯ A minimal training framework for scaling FLA modelsβ209Updated last month
- This repository contains the experimental PyTorch native float8 training UXβ224Updated last year
- Building blocks for foundation models.β519Updated last year
- Scalable toolkit for efficient model reinforcementβ558Updated this week
- H-Net: Hierarchical Network with Dynamic Chunkingβ593Updated 2 weeks ago
- Fault tolerance for PyTorch (HSDP, LocalSGD, DiLoCo, Streaming DiLoCo)β366Updated last week
- A Quirky Assortment of CuTe Kernelsβ374Updated this week
- TensorDict is a pytorch dedicated tensor container.β945Updated this week
- Microsoft Automatic Mixed Precision Libraryβ616Updated 10 months ago
- Efficient LLM Inference over Long Sequencesβ385Updated last month