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
- 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
- Sparse Backpropagation for Mixture-of-Expert Training☆29Updated 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
- Here we will test various linear attention designs.☆61Updated last year
- ☆27Updated last year
- Efficient PScan implementation in PyTorch☆17Updated last year
- Stick-breaking attention☆61Updated 4 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆85Updated last year
- ☆53Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- ☆20Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- ☆104Updated last year
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆63Updated 2 years 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
- ☆35Updated last year
- Long Context Extension and Generalization in LLMs☆62Updated last year
- ☆105Updated last year
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆56Updated 3 weeks ago
- ☆31Updated last year
- ☆87Updated last year
- The official repository for SkyLadder: Better and Faster Pretraining via Context Window Scheduling☆40Updated last month
- ☆31Updated 2 years ago
- Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719☆22Updated last year
- A repository for research on medium sized language models.☆78Updated last year
- ☆41Updated 2 weeks ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆48Updated 2 years ago