PiotrNawrot / nano-sparse-attention
The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.
☆58Updated 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
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆59Updated 5 months ago
- Fast and memory-efficient exact attention☆67Updated 2 weeks ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆123Updated 3 months ago
- ☆81Updated last year
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆71Updated 4 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆71Updated 11 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 2 months ago
- ☆49Updated 4 months ago
- ☆95Updated 9 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆68Updated 9 months ago
- A MAD laboratory to improve AI architecture designs 🧪☆108Updated 3 months ago
- ☆76Updated 8 months ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- ☆51Updated 10 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆122Updated 7 months ago
- Understand and test language model architectures on synthetic tasks.☆185Updated 2 weeks ago
- Code for studying the super weight in LLM☆91Updated 3 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆100Updated 4 months ago
- Triton Implementation of HyperAttention Algorithm☆47Updated last year
- Experiment of using Tangent to autodiff triton☆78Updated last year
- ☆73Updated 7 months ago
- Using FlexAttention to compute attention with different masking patterns☆42Updated 6 months ago
- This repo is based on https://github.com/jiaweizzhao/GaLore☆26Updated 6 months ago
- ☆116Updated last month
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆65Updated 7 months ago
- Stick-breaking attention☆48Updated last week
- ☆140Updated last year