tilde-research / nsa-implLinks
An efficient implementation of the NSA (Native Sparse Attention) kernel
☆124Updated 4 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:
- ☆130Updated 5 months ago
- Accelerate LLM preference tuning via prefix sharing with a single line of code☆51Updated 4 months ago
- ☆254Updated 5 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆206Updated 5 months ago
- The evaluation framework for training-free sparse attention in LLMs☆103Updated last month
- ☆143Updated this week
- [ICML 2025] SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity☆60Updated 4 months ago
- Kinetics: Rethinking Test-Time Scaling Laws☆82Updated 4 months ago
- ☆95Updated 8 months ago
- ☆103Updated 2 months ago
- ☆61Updated 4 months ago
- ☆148Updated 9 months ago
- Fast and memory-efficient exact attention☆74Updated 8 months ago
- Efficient triton implementation of Native Sparse Attention.☆248Updated 5 months ago
- 🔥 LLM-powered GPU kernel synthesis: Train models to convert PyTorch ops into optimized Triton kernels via SFT+RL. Multi-turn compilation…☆99Updated last week
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆154Updated last month
- Transformers components but in Triton☆34Updated 6 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆254Updated 4 months ago
- Beyond KV Caching: Shared Attention for Efficient LLMs☆20Updated last year
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆150Updated 4 months ago
- [NeurIPS'25] dKV-Cache: The Cache for Diffusion Language Models☆117Updated 5 months ago
- HALO: Hadamard-Assisted Low-Precision Optimization and Training method for finetuning LLMs. 🚀 The official implementation of https://arx…☆29Updated 9 months ago
- A curated list of recent papers on efficient video attention for video diffusion models, including sparsification, quantization, and cach…☆47Updated 3 weeks ago
- 16-fold memory access reduction with nearly no loss☆106Updated 7 months ago
- The official implementation for [NeurIPS2025 Oral] Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink…☆105Updated 2 months ago
- ☆55Updated 5 months ago
- This repo contains the source code for: Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs☆41Updated last year
- ☆109Updated 6 months ago
- Odysseus: Playground of LLM Sequence Parallelism☆78Updated last year
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆98Updated 10 months ago