HazyResearch / prefix-linear-attentionLinks
☆57Updated 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:
- ☆51Updated 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
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- ☆106Updated last year
- Stick-breaking attention☆62Updated 5 months ago
- ☆20Updated 3 years ago
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- ☆20Updated last year
- Sparse Backpropagation for Mixture-of-Expert Training☆29Updated last year
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆58Updated 3 weeks ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆64Updated 2 years ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆79Updated last year
- ☆53Updated last year
- ☆29Updated last year
- Long Context Extension and Generalization in LLMs☆62Updated last year
- ☆35Updated last year
- Efficient PScan implementation in PyTorch☆17Updated last year
- ☆91Updated last year
- ☆107Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated 2 years ago
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- The official repository for SkyLadder: Better and Faster Pretraining via Context Window Scheduling☆40Updated 2 months ago
- A repository for research on medium sized language models.☆77Updated last year
- Linear Attention Sequence Parallelism (LASP)☆88Updated last year
- ☆32Updated last year
- ☆45Updated 2 years ago
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆107Updated 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