dhcode-cpp / NSA-pytorchLinks
DeepSeek Native Sparse Attention pytorch implementation
☆71Updated 3 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:
- ☆137Updated last month
- qwen-nsa☆67Updated 2 months ago
- Efficient triton implementation of Native Sparse Attention.☆168Updated last month
- XAttention: Block Sparse Attention with Antidiagonal Scoring☆166Updated this week
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆313Updated 4 months ago
- Official implementation of "Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding"☆233Updated 2 weeks ago
- TransMLA: Multi-Head Latent Attention Is All You Need☆310Updated this week
- Efficient Mixture of Experts for LLM Paper List☆77Updated 6 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆210Updated last week
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆113Updated last month
- ☆104Updated 2 weeks ago
- A sparse attention kernel supporting mix sparse patterns☆238Updated 4 months ago
- Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs☆176Updated this week
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆71Updated 3 weeks ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆128Updated this week
- 🔥 A minimal training framework for scaling FLA models☆178Updated 2 weeks ago
- ☆191Updated 2 months ago
- [ICLR 2025] PEARL: Parallel Speculative Decoding with Adaptive Draft Length☆90Updated 2 months ago
- ☆114Updated 3 weeks ago
- The Official Implementation of Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference☆79Updated 5 months ago
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆95Updated 2 weeks ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆108Updated 2 months ago
- Implementation of FlashAttention in PyTorch☆151Updated 5 months ago
- 16-fold memory access reduction with nearly no loss☆99Updated 3 months ago
- analyse problems of AI with Math and Code☆16Updated last week
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆702Updated 3 months ago
- The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆134Updated 3 weeks ago
- Official PyTorch implementation of the paper "dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching" (dLLM-Cache…☆113Updated last week
- Triton Documentation in Chinese Simplified / Triton 中文文档☆71Updated 2 months ago
- ☆141Updated 3 months ago