PiotrNawrot / nano-sparse-attentionLinks
The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.
☆82Updated 2 weeks 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
Sorting:
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆61Updated 9 months ago
- The evaluation framework for training-free sparse attention in LLMs☆86Updated last month
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆77Updated 9 months ago
- ☆81Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- Fast and memory-efficient exact attention☆68Updated 5 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆127Updated 8 months ago
- Understand and test language model architectures on synthetic tasks.☆221Updated 2 weeks ago
- ☆113Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆151Updated 3 months ago
- Using FlexAttention to compute attention with different masking patterns☆44Updated 10 months ago
- Language models scale reliably with over-training and on downstream tasks☆97Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆238Updated last month
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆138Updated 11 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆149Updated last month
- ☆78Updated 5 months ago
- ☆147Updated 2 years ago
- Token Omission Via Attention☆128Updated 9 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆149Updated last month
- Cascade Speculative Drafting☆29Updated last year
- ☆82Updated 11 months ago
- nanoGPT-like codebase for LLM training☆102Updated 2 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆71Updated last year
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆70Updated last year
- Stick-breaking attention☆58Updated last month
- The official repo for "LLoCo: Learning Long Contexts Offline"☆118Updated last year
- ☆51Updated last month
- Experiment of using Tangent to autodiff triton☆79Updated last year
- A MAD laboratory to improve AI architecture designs 🧪☆123Updated 7 months ago
- ☆53Updated last year