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:
- TransMLA: Multi-Head Latent Attention Is All You Need (NeurIPS 2025 Spotlight)☆429Updated 4 months ago
- qwen-nsa☆87Updated 3 months ago
- Efficient Mixture of Experts for LLM Paper List☆166Updated 4 months ago
- Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs☆203Updated 2 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆188Updated 4 months ago
- ☆152Updated 7 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆267Updated 7 months ago
- Tiny-Megatron, a minimalistic re-implementation of the Megatron library☆21Updated 5 months ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆160Updated 3 months ago
- Implementation for FP8/INT8 Rollout for RL training without performence drop.☆289Updated 3 months ago
- ☆129Updated 8 months ago
- ☆449Updated 5 months ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆340Updated 11 months ago
- A Survey of Efficient Attention Methods: Hardware-efficient, Sparse, Compact, and Linear Attention☆278Updated 2 months ago
- Tiny-DeepSpeed, a minimalistic re-implementation of the DeepSpeed library☆49Updated 5 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆258Updated 5 months ago
- [ICLR 2025] PEARL: Parallel Speculative Decoding with Adaptive Draft Length☆147Updated last month
- Implementation of FlashAttention in PyTorch☆180Updated last year
- ☆87Updated this week
- analyse problems of AI with Math and Code☆27Updated 6 months ago
- A sparse attention kernel supporting mix sparse patterns☆446Updated 2 weeks ago
- 16-fold memory access reduction with nearly no loss☆110Updated 10 months ago
- Efficient triton implementation of Native Sparse Attention.☆262Updated 8 months ago
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆155Updated 3 weeks ago
- 青稞Talk☆190Updated 2 weeks ago
- ☆132Updated 8 months ago
- ☆155Updated 11 months ago
- The Official Implementation of Ada-KV [NeurIPS 2025]☆125Updated 2 months ago
- ☆47Updated last year
- [ICML 2025] Official PyTorch implementation of "FlatQuant: Flatness Matters for LLM Quantization"☆208Updated 2 months ago