pytorch-labs / attention-gymLinks
Helpful tools and examples for working with flex-attention
β865Updated 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β529Updated last month
- Muon is an optimizer for hidden layers in neural networksβ988Updated this week
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β561Updated 3 weeks ago
- β485Updated this week
- Large Context Attentionβ718Updated 5 months ago
- Pipeline Parallelism for PyTorchβ769Updated 10 months ago
- Ring attention implementation with flash attentionβ800Updated last week
- Annotated version of the Mamba paperβ486Updated last year
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β720Updated 3 months ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ563Updated 5 months ago
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β255Updated this week
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ667Updated last month
- Scalable and Performant Data Loadingβ287Updated this week
- For optimization algorithm research and development.β521Updated this week
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorchβ707Updated this week
- LLM KV cache compression made easyβ535Updated this week
- Tutel MoE: Optimized Mixture-of-Experts Library, Support DeepSeek FP8/FP4β851Updated last week
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β427Updated last month
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Coresβ323Updated 6 months ago
- This repository contains the experimental PyTorch native float8 training UXβ224Updated 11 months ago
- β290Updated 2 months ago
- Fault tolerance for PyTorch (HSDP, LocalSGD, DiLoCo, Streaming DiLoCo)β359Updated last week
- Minimalistic 4D-parallelism distributed training framework for education purposeβ1,566Updated last month
- TensorDict is a pytorch dedicated tensor container.β937Updated this week
- π Efficient implementations of state-of-the-art linear attention modelsβ2,876Updated this week
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorchβ345Updated last year
- Building blocks for foundation models.β515Updated last year
- Microsoft Automatic Mixed Precision Libraryβ612Updated 9 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ287Updated last month
- A pytorch quantization backend for optimumβ962Updated last week