HazyResearch / prefix-linear-attentionLinks
☆54Updated 10 months ago
Alternatives and similar repositories for prefix-linear-attention
Users that are interested in prefix-linear-attention are comparing it to the libraries listed below
Sorting:
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆46Updated last year
- ☆18Updated 2 years ago
- This repo is based on https://github.com/jiaweizzhao/GaLore☆28Updated 8 months ago
- Here we will test various linear attention designs.☆58Updated last year
- Using FlexAttention to compute attention with different masking patterns☆43Updated 8 months ago
- Sparse Backpropagation for Mixture-of-Expert Training☆29Updated 11 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated last year
- The official implementation for Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free☆38Updated 3 weeks ago
- Stick-breaking attention☆56Updated 2 months ago
- ☆52Updated last year
- ☆103Updated last year
- ☆31Updated last year
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆78Updated 2 weeks ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆37Updated last year
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆59Updated 7 months ago
- The official repository for SkyLadder: Better and Faster Pretraining via Context Window Scheduling☆32Updated 2 months ago
- ☆20Updated last year
- The open-source materials for paper "Sparsing Law: Towards Large Language Models with Greater Activation Sparsity".☆21Updated 6 months ago
- ☆19Updated 10 months ago
- ☆31Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 9 months ago
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆55Updated this week
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆51Updated 2 years ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆30Updated 11 months ago
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated 11 months ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆48Updated last year
- GoldFinch and other hybrid transformer components☆45Updated 10 months ago
- Efficient PScan implementation in PyTorch☆16Updated last year
- A repository for research on medium sized language models.☆76Updated last year