glassroom / heinsen_attention
Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)
☆24Updated 10 months ago
Alternatives and similar repositories for heinsen_attention:
Users that are interested in heinsen_attention are comparing it to the libraries listed below
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆26Updated 11 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 7 months ago
- ☆31Updated last year
- ☆23Updated 6 months ago
- Here we will test various linear attention designs.☆60Updated 11 months ago
- ☆11Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆27Updated 9 months ago
- ☆32Updated last year
- Official Code Repository for the paper "Key-value memory in the brain"☆24Updated last month
- ☆19Updated 10 months ago
- ☆46Updated last year
- sigma-MoE layer☆18Updated last year
- ☆53Updated 9 months ago
- Efficient PScan implementation in PyTorch☆16Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆44Updated 2 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 11 months ago
- Using FlexAttention to compute attention with different masking patterns☆43Updated 6 months ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆11Updated 5 months ago
- Stick-breaking attention☆50Updated last month
- ☆14Updated 3 months ago
- Combining SOAP and MUON☆13Updated 2 months ago
- Blog post☆17Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated last year
- Engineering the state of RNN language models (Mamba, RWKV, etc.)☆32Updated 10 months ago
- Linear Attention Sequence Parallelism (LASP)☆81Updated 10 months ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆30Updated 10 months ago
- ☆20Updated last year
- ☆29Updated 2 years ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆47Updated last year
- ☆19Updated 2 weeks ago