tilde-research / nsa-implLinks
An efficient implementation of the NSA (Native Sparse Attention) kernel
☆90Updated 3 weeks ago
Alternatives and similar repositories for nsa-impl
Users that are interested in nsa-impl are comparing it to the libraries listed below
Sorting:
- ☆119Updated last month
- ☆77Updated 4 months ago
- The evaluation framework for training-free sparse attention in LLMs☆83Updated 3 weeks ago
- Efficient triton implementation of Native Sparse Attention.☆176Updated last month
- Accelerate LLM preference tuning via prefix sharing with a single line of code☆42Updated 2 weeks ago
- ☆225Updated last month
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆142Updated last month
- ☆48Updated last month
- ☆75Updated last week
- ☆51Updated last week
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆200Updated last week
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆116Updated 2 weeks ago
- Kinetics: Rethinking Test-Time Scaling Laws☆65Updated last week
- ☆12Updated 9 months ago
- [ICML 2025] SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity☆33Updated last week
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆119Updated 2 months ago
- Transformers components but in Triton☆34Updated 2 months ago
- A curated list of recent papers on efficient video attention for video diffusion models, including sparsification, quantization, and cach…☆28Updated this week
- The official implementation for Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free☆45Updated 2 months ago
- ☆82Updated 6 months ago
- ☆110Updated last month
- Beyond KV Caching: Shared Attention for Efficient LLMs☆19Updated last year
- The official implementation of paper: SimLayerKV: A Simple Framework for Layer-Level KV Cache Reduction.☆46Updated 9 months ago
- ☆136Updated 5 months ago
- An unofficial implementation of "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆35Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆52Updated 5 months ago
- LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification☆60Updated this week
- [ICML24] Pruner-Zero: Evolving Symbolic Pruning Metric from scratch for LLMs☆91Updated 7 months ago
- 🔥 A minimal training framework for scaling FLA models☆194Updated last month
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆139Updated last week