PiotrNawrot / nano-sparse-attention
The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.
☆55Updated last month
Alternatives and similar repositories for nano-sparse-attention:
Users that are interested in nano-sparse-attention are comparing it to the libraries listed below
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆67Updated 7 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆66Updated 2 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆110Updated last month
- Simple and efficient pytorch-native transformer training and inference (batched)☆66Updated 9 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆58Updated 3 months ago
- Fast and memory-efficient exact attention☆52Updated last month
- ☆74Updated last year
- ☆69Updated 5 months ago
- A MAD laboratory to improve AI architecture designs 🧪☆102Updated last month
- ☆51Updated 7 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆106Updated 5 months ago
- PyTorch building blocks for OLMo☆47Updated this week
- ☆43Updated 2 months ago
- Prune transformer layers☆67Updated 7 months ago
- ☆83Updated 7 months ago
- Understand and test language model architectures on synthetic tasks.☆175Updated this week
- This repo is based on https://github.com/jiaweizzhao/GaLore☆23Updated 4 months ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated 9 months ago
- ☆107Updated 3 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆146Updated last month
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆90Updated last month
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- Triton Implementation of HyperAttention Algorithm☆46Updated last year
- ☆135Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆219Updated last month
- The official repo for "LLoCo: Learning Long Contexts Offline"☆114Updated 7 months ago
- A toolkit for scaling law research ⚖☆43Updated last month
- Using FlexAttention to compute attention with different masking patterns☆40Updated 3 months ago
- Stick-breaking attention☆41Updated this week
- Boosting 4-bit inference kernels with 2:4 Sparsity☆64Updated 4 months ago