dhcode-cpp / NSA-pytorchLinks
DeepSeek Native Sparse Attention pytorch implementation
☆114Updated last month
Alternatives and similar repositories for NSA-pytorch
Users that are interested in NSA-pytorch are comparing it to the libraries listed below
Sorting:
- Efficient Mixture of Experts for LLM Paper List☆166Updated 4 months ago
- qwen-nsa☆87Updated 3 months ago
- ☆152Updated 7 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆188Updated 4 months ago
- TransMLA: Multi-Head Latent Attention Is All You Need (NeurIPS 2025 Spotlight)☆429Updated 4 months ago
- Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs☆203Updated 2 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆267Updated 7 months ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆160Updated 3 months ago
- [ICLR 2025] PEARL: Parallel Speculative Decoding with Adaptive Draft Length☆147Updated last month
- 青稞Talk☆190Updated 2 weeks ago
- ☆129Updated 8 months ago
- This repository is the official implementation of "Jakiro: Boosting Speculative Decoding with Decoupled Multi-Head via MoE"☆36Updated 4 months ago
- ☆449Updated 5 months ago
- Implementation for FP8/INT8 Rollout for RL training without performence drop.☆289Updated 3 months ago
- ☆47Updated last year
- A Survey of Efficient Attention Methods: Hardware-efficient, Sparse, Compact, and Linear Attention☆278Updated 2 months ago
- Tiny-Megatron, a minimalistic re-implementation of the Megatron library☆21Updated 5 months ago
- ☆155Updated 11 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆258Updated 5 months ago
- ☆131Updated 8 months ago
- Tiny-DeepSpeed, a minimalistic re-implementation of the DeepSpeed library☆49Updated 5 months ago
- ☆87Updated this week
- 16-fold memory access reduction with nearly no loss☆110Updated 10 months ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆340Updated 11 months ago
- Triton implementation of Flash Attention2.0☆49Updated 2 years ago
- The Official Implementation of Ada-KV [NeurIPS 2025]☆125Updated 2 months ago
- A sparse attention kernel supporting mix sparse patterns☆453Updated 3 weeks ago
- A lightweight reinforcement learning framework that integrates seamlessly into your codebase, empowering developers to focus on algorithm…☆99Updated 5 months ago
- analyse problems of AI with Math and Code☆27Updated 6 months ago
- ☆90Updated 7 months ago