tilde-research / nsa-implLinks
An efficient implementation of the NSA (Native Sparse Attention) kernel
☆115Updated 2 months ago
Alternatives and similar repositories for nsa-impl
Users that are interested in nsa-impl are comparing it to the libraries listed below
Sorting:
- ☆243Updated 3 months ago
- ☆126Updated 3 months ago
- The evaluation framework for training-free sparse attention in LLMs☆93Updated 3 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆185Updated 3 months ago
- ☆57Updated 2 months ago
- Accelerate LLM preference tuning via prefix sharing with a single line of code☆43Updated 2 months ago
- ☆85Updated 6 months ago
- Kinetics: Rethinking Test-Time Scaling Laws☆80Updated 2 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆229Updated 2 months ago
- [ICML 2025] SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity☆55Updated 2 months ago
- Fast and memory-efficient exact attention☆69Updated 6 months ago
- ☆142Updated 7 months ago
- Efficient triton implementation of Native Sparse Attention.☆218Updated 3 months ago
- Transformers components but in Triton☆34Updated 4 months ago
- ☆92Updated last week
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆141Updated 4 months ago
- ☆54Updated 3 months ago
- Beyond KV Caching: Shared Attention for Efficient LLMs☆19Updated last year
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆146Updated 2 months ago
- Odysseus: Playground of LLM Sequence Parallelism☆77Updated last year
- 16-fold memory access reduction with nearly no loss☆105Updated 5 months ago
- ☆96Updated 3 months ago
- The official implementation of paper: SimLayerKV: A Simple Framework for Layer-Level KV Cache Reduction.☆48Updated 11 months ago
- A curated list of recent papers on efficient video attention for video diffusion models, including sparsification, quantization, and cach…☆37Updated last week
- 🔥 A minimal training framework for scaling FLA models☆247Updated last week
- An unofficial implementation of "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆36Updated last year
- Quantized Attention on GPU☆44Updated 9 months ago
- The official implementation for Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free☆54Updated 4 months ago
- HALO: Hadamard-Assisted Low-Precision Optimization and Training method for finetuning LLMs. 🚀 The official implementation of https://arx…☆20Updated 7 months ago
- ☆14Updated 11 months ago