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
- Using FlexAttention to compute attention with different masking patterns☆44Updated 11 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- ☆19Updated 2 years ago
- ☆33Updated last year
- Sparse Backpropagation for Mixture-of-Expert Training☆30Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- ☆20Updated last year
- ☆99Updated last year
- The official implementation for Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free☆49Updated 4 months ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆14Updated last week
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- ☆85Updated last year
- ☆106Updated last year
- Long Context Extension and Generalization in LLMs☆60Updated 11 months ago
- Stick-breaking attention☆60Updated 2 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆82Updated 10 months ago
- 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
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- Language models scale reliably with over-training and on downstream tasks☆99Updated last year
- Efficient PScan implementation in PyTorch☆16Updated last year
- ☆45Updated last year
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆137Updated last year
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆54Updated 2 years ago
- The repository contains code for Adaptive Data Optimization☆25Updated 9 months ago
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- ☆25Updated last year
- [ICML 2023] "Data Efficient Neural Scaling Law via Model Reusing" by Peihao Wang, Rameswar Panda, Zhangyang Wang☆14Updated last year