OpenNLPLab / lightning-attentionLinks
Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models
☆325Updated 6 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:
- TransMLA: Multi-Head Latent Attention Is All You Need☆339Updated last month
- Low-bit optimizers for PyTorch☆130Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆247Updated last year
- 🔥 A minimal training framework for scaling FLA models☆233Updated last week
- The official implementation of TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)☆381Updated this week
- Efficient triton implementation of Native Sparse Attention.☆208Updated 3 months ago
- DeepSeek Native Sparse Attention pytorch implementation☆90Updated 3 weeks ago
- Towards Economical Inference: Enabling DeepSeek's Multi-Head Latent Attention in Any Transformer-based LLMs☆188Updated 2 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆231Updated 2 weeks ago
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆107Updated 2 years ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆174Updated 2 months ago
- ☆196Updated last year
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆176Updated last year
- ☆154Updated 2 years ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆219Updated last month
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆102Updated last year
- ☆123Updated 2 months ago
- Efficient LLM Inference over Long Sequences☆389Updated 2 months ago
- The official implementation of the EMNLP 2023 paper LLM-FP4☆212Updated last year
- [CoLM'25] The official implementation of the paper <MoA: Mixture of Sparse Attention for Automatic Large Language Model Compression>☆145Updated last month
- qwen-nsa☆74Updated 4 months ago
- Efficient Mixture of Experts for LLM Paper List☆97Updated this week
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Models☆226Updated 3 months ago
- SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs☆147Updated 3 weeks ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆170Updated last year
- A quantization algorithm for LLM☆140Updated last year
- Official implementation of "Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding"☆386Updated this week
- Skywork-MoE: A Deep Dive into Training Techniques for Mixture-of-Experts Language Models☆136Updated last year
- Implementation of FlashAttention in PyTorch☆162Updated 7 months ago
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆90Updated 2 months ago