OpenNLPLab / lightning-attentionLinks
Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models
☆322Updated 4 months ago
Alternatives and similar repositories for lightning-attention
Users that are interested in lightning-attention are comparing it to the libraries listed below
Sorting:
- Low-bit optimizers for PyTorch☆129Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆247Updated last year
- TransMLA: Multi-Head Latent Attention Is All You Need☆327Updated last week
- 🔥 A minimal training framework for scaling FLA models☆188Updated last month
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆105Updated last year
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆215Updated 3 weeks ago
- DeepSeek Native Sparse Attention pytorch implementation☆73Updated 4 months ago
- Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs☆178Updated 3 weeks ago
- The official implementation of TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)☆376Updated last week
- Official implementation of "Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding"☆278Updated last week
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆171Updated last year
- ☆116Updated last month
- Efficient triton implementation of Native Sparse Attention.☆175Updated last month
- ☆195Updated last year
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆191Updated last week
- ☆153Updated 2 years ago
- qwen-nsa☆68Updated 3 months ago
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆101Updated last year
- Efficient LLM Inference over Long Sequences☆382Updated 2 weeks ago
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆83Updated 6 months ago
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆473Updated 5 months ago
- The official implementation of the EMNLP 2023 paper LLM-FP4☆210Updated last year
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆75Updated last month
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆139Updated this week
- Skywork-MoE: A Deep Dive into Training Techniques for Mixture-of-Experts Language Models☆135Updated last year
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆138Updated last month
- 🐳 Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"☆720Updated 3 months ago
- A quantization algorithm for LLM☆141Updated last year
- A sparse attention kernel supporting mix sparse patterns☆249Updated 5 months ago
- VeOmni: Scaling any Modality Model Training to any Accelerators with PyTorch native Training Framework☆370Updated last week