PiotrNawrot / nano-sparse-attentionLinks
The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.
☆91Updated 3 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
Sorting:
- The evaluation framework for training-free sparse attention in LLMs☆101Updated last week
- Fast and memory-efficient exact attention☆71Updated 7 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated last year
- ☆83Updated 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 6 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆147Updated last year
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆130Updated 10 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- ☆121Updated last year
- ☆149Updated 2 years ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆195Updated 4 months ago
- ☆145Updated 8 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆84Updated 11 months ago
- ☆130Updated 4 months ago
- Code for studying the super weight in LLM☆120Updated 10 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆241Updated 4 months ago
- ☆55Updated 4 months ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆69Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆246Updated 3 weeks ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆42Updated last year
- ☆57Updated last year
- Muon fsdp 2☆44Updated 2 months ago
- ☆127Updated last year
- ☆52Updated 11 months ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆83Updated last year
- Work in progress.☆74Updated 3 months ago
- ☆202Updated 10 months ago
- Ouroboros: Speculative Decoding with Large Model Enhanced Drafting (EMNLP 2024 main)☆110Updated 7 months ago
- Cascade Speculative Drafting☆31Updated last year