PiotrNawrot / nano-sparse-attention
The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.
☆60Updated 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
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆59Updated 6 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆73Updated last year
- Fast and memory-efficient exact attention☆68Updated 2 months ago
- Using FlexAttention to compute attention with different masking patterns☆43Updated 7 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimzer☆91Updated this week
- Experiment of using Tangent to autodiff triton☆78Updated last year
- ☆103Updated 11 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆130Updated 8 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆126Updated 5 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆72Updated 6 months ago
- ☆50Updated 6 months ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated last year
- ☆31Updated last year
- ☆78Updated 10 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆148Updated 3 weeks ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆69Updated 11 months ago
- Load compute kernels from the Hub☆115Updated last week
- ☆81Updated last year
- ☆126Updated 2 months ago
- This repo is based on https://github.com/jiaweizzhao/GaLore☆27Updated 7 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆212Updated 5 months ago
- From GaLore to WeLore: How Low-Rank Weights Non-uniformly Emerge from Low-Rank Gradients. Ajay Jaiswal, Lu Yin, Zhenyu Zhang, Shiwei Liu,…☆45Updated 2 weeks ago
- ☆51Updated 11 months ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- The official repo for "LLoCo: Learning Long Contexts Offline"☆116Updated 10 months ago
- ☆78Updated 8 months ago
- ☆125Updated last year
- ☆69Updated 2 months ago
- ☆44Updated 2 months ago
- Stick-breaking attention☆52Updated last month