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:
- ☆48Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆19Updated 3 years ago
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆65Updated last year
- ☆33Updated last year
- Here we will test various linear attention designs.☆61Updated last year
- ☆105Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- Sparse Backpropagation for Mixture-of-Expert Training☆29Updated last year
- ☆53Updated last year
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- ☆20Updated last year
- ☆103Updated last year
- Efficient PScan implementation in PyTorch☆16Updated last year
- Stick-breaking attention☆61Updated 3 months ago
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆56Updated this week
- ☆86Updated last year
- ☆45Updated 2 years ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆136Updated last year
- A repository for research on medium sized language models.☆78Updated last year
- ☆12Updated last year
- A toolkit for scaling law research ⚖☆52Updated 8 months ago
- ☆31Updated last year
- ☆13Updated 2 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated last year
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆84Updated 11 months ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆55Updated 2 years ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆63Updated 2 years ago