PiotrNawrot / nano-sparse-attention
The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.
☆59Updated 2 months ago
Alternatives and similar repositories for nano-sparse-attention:
Users that are interested in nano-sparse-attention are comparing it to the libraries listed below
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆59Updated 6 months ago
- Using FlexAttention to compute attention with different masking patterns☆43Updated 6 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆71Updated 5 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆126Updated 8 months ago
- A MAD laboratory to improve AI architecture designs 🧪☆109Updated 3 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆68Updated 10 months ago
- ☆142Updated last year
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆125Updated 4 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆72Updated last year
- ☆100Updated 10 months ago
- ☆67Updated last month
- Fast and memory-efficient exact attention☆67Updated last month
- ☆51Updated 10 months ago
- ☆81Updated last year
- Load compute kernels from the Hub☆115Updated this week
- Stick-breaking attention☆50Updated last month
- ☆122Updated 2 months ago
- Experiment of using Tangent to autodiff triton☆78Updated last year
- Language models scale reliably with over-training and on downstream tasks☆96Updated last year
- ☆50Updated 5 months ago
- ☆43Updated last month
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆148Updated last week
- Efficient triton implementation of Native Sparse Attention.☆135Updated this week
- Triton-based implementation of Sparse Mixture of Experts.☆211Updated 4 months ago
- some common Huggingface transformers in maximal update parametrization (µP)☆80Updated 3 years ago
- Understand and test language model architectures on synthetic tasks.☆190Updated last month
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- DPO, but faster 🚀☆40Updated 4 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆103Updated 4 months ago
- 🔥 A minimal training framework for scaling FLA models☆97Updated this week