PiotrNawrot / nano-sparse-attention
The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.
☆57Updated 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
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆59Updated 4 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆70Updated 3 months ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated 10 months ago
- ☆91Updated 8 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆68Updated 10 months ago
- Understand and test language model architectures on synthetic tasks.☆181Updated last month
- ☆51Updated 9 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆116Updated 2 months ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- Fast and memory-efficient exact attention☆58Updated this week
- ☆77Updated last year
- A MAD laboratory to improve AI architecture designs 🧪☆102Updated 2 months ago
- Token Omission Via Attention☆123Updated 4 months ago
- Experiment of using Tangent to autodiff triton☆75Updated last year
- PyTorch building blocks for the OLMo ecosystem☆54Updated this week
- Triton Implementation of HyperAttention Algorithm☆46Updated last year
- ☆75Updated 7 months ago
- Stick-breaking attention☆43Updated last month
- Code for studying the super weight in LLM☆80Updated 2 months ago
- ☆71Updated 6 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆67Updated 8 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
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆95Updated 3 months ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆62Updated 6 months ago
- ☆111Updated this week
- ☆138Updated last year
- Here we will test various linear attention designs.☆58Updated 9 months ago
- A repository for research on medium sized language models.☆76Updated 8 months ago
- A toolkit for scaling law research ⚖☆47Updated 3 weeks ago
- ☆53Updated last year