OpenNLPLab / LASPLinks
Linear Attention Sequence Parallelism (LASP)
☆85Updated last year
Alternatives and similar repositories for LASP
Users that are interested in LASP are comparing it to the libraries listed below
Sorting:
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆48Updated 2 years ago
- The evaluation framework for training-free sparse attention in LLMs☆86Updated last month
- ☆51Updated 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
- Here we will test various linear attention designs.☆62Updated last year
- [ACL 2024] RelayAttention for Efficient Large Language Model Serving with Long System Prompts☆40Updated last year
- ☆52Updated last year
- DPO, but faster 🚀☆43Updated 7 months ago
- ☆56Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆98Updated 10 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- A repository for research on medium sized language models.☆78Updated last year
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆61Updated 9 months ago
- ☆123Updated 2 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆149Updated last month
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆127Updated 8 months ago
- ☆32Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Using FlexAttention to compute attention with different masking patterns☆44Updated 10 months ago
- Easy control for Key-Value Constrained Generative LLM Inference(https://arxiv.org/abs/2402.06262)☆63Updated last year
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆42Updated last year
- Odysseus: Playground of LLM Sequence Parallelism☆72Updated last year
- Accelerate LLM preference tuning via prefix sharing with a single line of code☆42Updated last month
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆118Updated last month
- Fast and memory-efficient exact attention☆69Updated 5 months ago
- Cascade Speculative Drafting☆29Updated last year
- ☆83Updated 11 months ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆32Updated last year
- Code for "RSQ: Learning from Important Tokens Leads to Better Quantized LLMs"☆18Updated last month