HazyResearch / prefix-linear-attentionLinks
☆56Updated last year
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:
- ☆49Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆33Updated last year
- ☆106Updated last year
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- ☆83Updated 11 months ago
- Using FlexAttention to compute attention with different masking patterns☆44Updated 10 months ago
- ☆19Updated 2 years ago
- Sparse Backpropagation for Mixture-of-Expert Training☆30Updated last year
- Stick-breaking attention☆58Updated last month
- ☆20Updated last year
- The official implementation for Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free☆46Updated 2 months ago
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆56Updated last week
- ☆53Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- Long Context Extension and Generalization in LLMs☆58Updated 10 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆77Updated 9 months ago
- Linear Attention Sequence Parallelism (LASP)☆85Updated last year
- ☆88Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated last month
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆92Updated last week
- ☆25Updated last year
- A repository for research on medium sized language models.☆78Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated 11 months ago
- Official implementation of the ICML 2024 paper RoSA (Robust Adaptation)☆41Updated last year
- [NAACL 2025] A Closer Look into Mixture-of-Experts in Large Language Models☆52Updated 5 months ago
- ☆24Updated last week