dhcode-cpp / NSA-pytorch
DeepSeek Native Sparse Attention pytorch implementation
☆68Updated 2 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:
- ☆125Updated 2 weeks ago
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆285Updated 2 months ago
- XAttention: Block Sparse Attention with Antidiagonal Scoring☆147Updated this week
- TransMLA: Multi-Head Latent Attention Is All You Need☆268Updated this week
- qwen-nsa☆61Updated last month
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆190Updated 3 weeks ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆103Updated this week
- The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆127Updated 5 months ago
- Efficient triton implementation of Native Sparse Attention.☆147Updated this week
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆97Updated this week
- A sparse attention kernel supporting mix sparse patterns☆205Updated 3 months ago
- ☆36Updated 9 months ago
- Official implementation of ICML 2024 paper "ExCP: Extreme LLM Checkpoint Compression via Weight-Momentum Joint Shrinking".☆47Updated 10 months ago
- [ICLR 2025] PEARL: Parallel Speculative Decoding with Adaptive Draft Length☆81Updated last month
- ☆132Updated 2 months ago
- 🔥 A minimal training framework for scaling FLA models☆128Updated last week
- ☆184Updated last month
- Efficient Mixture of Experts for LLM Paper List☆64Updated 5 months ago
- ☆82Updated last week
- 16-fold memory access reduction with nearly no loss☆93Updated last month
- Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs☆165Updated this week
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆161Updated 10 months ago
- The Official Implementation of Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference☆74Updated 3 months ago
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆72Updated 4 months ago
- Official PyTorch implementation of "FlatQuant: Flatness Matters for LLM Quantization"☆127Updated last week
- [ACL 2024] A novel QAT with Self-Distillation framework to enhance ultra low-bit LLMs.☆111Updated 11 months ago
- QQQ is an innovative and hardware-optimized W4A8 quantization solution for LLMs.☆121Updated last month
- PyTorch bindings for CUTLASS grouped GEMM.☆89Updated 2 weeks ago
- Triton Documentation in Chinese Simplified / Triton 中文文档☆69Updated last month
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆104Updated last year