PiotrNawrot / nano-sparse-attentionLinks
The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.
☆86Updated 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
Sorting:
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated 11 months ago
- Fast and memory-efficient exact attention☆69Updated 6 months ago
- The evaluation framework for training-free sparse attention in LLMs☆91Updated 2 months ago
- ☆82Updated last year
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆129Updated 9 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆155Updated 5 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆145Updated last year
- ☆149Updated 2 years ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆240Updated 3 months ago
- ☆84Updated 6 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆181Updated 2 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆82Updated 10 months ago
- Code for studying the super weight in LLM☆117Updated 9 months ago
- ☆53Updated 10 months ago
- Understand and test language model architectures on synthetic tasks.☆224Updated last month
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- Using FlexAttention to compute attention with different masking patterns☆44Updated 11 months ago
- ☆124Updated 3 months ago
- ☆118Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆238Updated 2 weeks ago
- ☆141Updated 6 months ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆70Updated last year
- Stick-breaking attention☆59Updated 2 months ago
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆114Updated 2 months ago
- A scalable asynchronous reinforcement learning implementation with in-flight weight updates.☆140Updated this week
- Load compute kernels from the Hub☆271Updated this week
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆120Updated last year
- ☆53Updated last year
- ☆86Updated 7 months ago