dhcode-cpp / NSA-pytorchLinks
DeepSeek Native Sparse Attention pytorch implementation
☆73Updated 4 months ago
Alternatives and similar repositories for NSA-pytorch
Users that are interested in NSA-pytorch are comparing it to the libraries listed below
Sorting:
- TransMLA: Multi-Head Latent Attention Is All You Need☆327Updated last week
- ☆140Updated last week
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆322Updated 4 months ago
- Official implementation of "Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding"☆278Updated last week
- qwen-nsa☆68Updated 3 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆191Updated last week
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆132Updated last week
- A sparse attention kernel supporting mix sparse patterns☆249Updated 5 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆215Updated 3 weeks ago
- Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs☆178Updated 3 weeks ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆118Updated last month
- Efficient Mixture of Experts for LLM Paper List☆79Updated 7 months ago
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆139Updated this week
- Efficient triton implementation of Native Sparse Attention.☆175Updated last month
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆720Updated 3 months ago
- ☆109Updated last month
- [ICLR 2025] PEARL: Parallel Speculative Decoding with Adaptive Draft Length☆93Updated 3 months ago
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆75Updated last month
- Implementation of FlashAttention in PyTorch☆155Updated 6 months ago
- ☆193Updated 3 months ago
- 16-fold memory access reduction with nearly no loss☆100Updated 3 months ago
- ☆116Updated last month
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆473Updated 5 months ago
- Awesome list for LLM quantization☆251Updated last month
- Parallel Scaling Law for Language Model — Beyond Parameter and Inference Time Scaling☆412Updated last month
- ☆145Updated 4 months ago
- The official implementation of the paper "Towards Efficient Mixture of Experts: A Holistic Study of Compression Techniques (TMLR)".☆71Updated 3 months ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆165Updated last year
- The Official Implementation of Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference☆82Updated 3 weeks ago
- D^2-MoE: Delta Decompression for MoE-based LLMs Compression☆61Updated 3 months ago