PiotrNawrot / nano-sparse-attentionLinks
The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.
☆78Updated 3 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:
- ☆81Updated last year
- The evaluation framework for training-free sparse attention in LLMs☆82Updated 3 weeks ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆59Updated 9 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆127Updated 7 months ago
- Fast and memory-efficient exact attention☆68Updated 4 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆70Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆77Updated last year
- ☆82Updated 10 months ago
- ☆112Updated last year
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆138Updated 3 weeks ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆237Updated last month
- ☆53Updated last year
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆75Updated 8 months ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆68Updated 11 months ago
- Awesome Triton Resources☆31Updated 2 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆150Updated 3 months ago
- Understand and test language model architectures on synthetic tasks.☆219Updated last month
- ☆76Updated 4 months ago
- Using FlexAttention to compute attention with different masking patterns☆44Updated 9 months ago
- Stick-breaking attention☆58Updated last week
- 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
- ☆79Updated last year
- ☆147Updated 2 years ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆42Updated last year
- ☆51Updated 8 months ago
- A MAD laboratory to improve AI architecture designs 🧪☆123Updated 6 months ago
- Token Omission Via Attention☆128Updated 8 months ago
- Load compute kernels from the Hub☆203Updated this week
- ☆47Updated last month
- ☆68Updated last year