An efficient implementation of the NSA (Native Sparse Attention) kernel
☆131Jun 24, 2025Updated 8 months ago
Alternatives and similar repositories for nsa-impl
Users that are interested in nsa-impl are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ☆15Mar 2, 2025Updated last year
- ☆19Dec 4, 2025Updated 3 months ago
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆977Feb 5, 2026Updated last month
- Efficient triton implementation of Native Sparse Attention.☆270May 23, 2025Updated 10 months ago
- FlexAttention w/ FlashAttention3 Support☆27Oct 5, 2024Updated last year
- Benchmark tests supporting the TiledCUDA library.☆18Nov 19, 2024Updated last year
- Fast and memory-efficient exact attention☆20Mar 13, 2026Updated last week
- Less Is More: Training-Free Sparse Attention with Global Locality for Efficient Reasoning☆29Sep 12, 2025Updated 6 months ago
- ☆136May 29, 2025Updated 9 months ago
- a simple API to use CUPTI☆10Aug 19, 2025Updated 7 months ago
- [ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning☆144Feb 25, 2026Updated 3 weeks ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆242Jun 15, 2025Updated 9 months ago
- ☆274Jun 6, 2025Updated 9 months ago
- Tilus is a tile-level kernel programming language with explicit control over shared memory and registers.☆456Updated this week
- mHC-lite: You Don’t Need 20 Sinkhorn-Knopp Iterations☆73Jan 12, 2026Updated 2 months ago
- A method for evaluating the high-level coherence of machine-generated texts. Identifies high-level coherence issues in transformer-based …☆11Mar 18, 2023Updated 3 years ago
- Code for the paper "Function-Space Learning Rates"☆25Jun 3, 2025Updated 9 months ago
- ☆65Apr 26, 2025Updated 10 months ago
- ☆38Aug 7, 2025Updated 7 months ago
- NVIDIA cuTile learn☆164Dec 9, 2025Updated 3 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆92Oct 30, 2024Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆270Oct 3, 2025Updated 5 months ago
- Awesome Triton Resources☆39Apr 27, 2025Updated 10 months ago
- Tritonbench is a collection of PyTorch custom operators with example inputs to measure their performance.☆332Updated this week
- ☆68Jul 8, 2025Updated 8 months ago
- ☆22May 5, 2025Updated 10 months ago
- Unofficial implementation of paper : Exploring the Space of Key-Value-Query Models with Intention☆12May 24, 2023Updated 2 years ago
- Medusa: Accelerating Serverless LLM Inference with Materialization [ASPLOS'25]☆42May 13, 2025Updated 10 months ago
- Code for the paper "Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns"☆18Mar 15, 2024Updated 2 years ago
- Stick-breaking attention☆63Jul 1, 2025Updated 8 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆91Jul 17, 2025Updated 8 months ago
- Cute layout visualization☆33Jan 18, 2026Updated 2 months ago
- ☆11Oct 11, 2023Updated 2 years ago
- Transformers components but in Triton☆34May 9, 2025Updated 10 months ago
- H-Net Dynamic Hierarchical Architecture☆81Sep 11, 2025Updated 6 months ago
- Implementation from scratch in C of the Multi-head latent attention used in the Deepseek-v3 technical paper.☆18Jan 15, 2025Updated last year
- ☆23Jun 18, 2024Updated last year
- Checkpointable dataset utilities for foundation model training☆32Jan 29, 2024Updated 2 years ago
- ☆20May 30, 2024Updated last year