glassroom / heinsen_attention
Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)
☆24Updated 8 months ago
Alternatives and similar repositories for heinsen_attention:
Users that are interested in heinsen_attention are comparing it to the libraries listed below
- ☆33Updated last year
- Here we will test various linear attention designs.☆58Updated 9 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆25Updated 9 months ago
- ☆47Updated last year
- ☆24Updated 4 months ago
- ☆30Updated 11 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆52Updated 5 months ago
- sigma-MoE layer☆18Updated last year
- ☆18Updated 8 months ago
- ☆49Updated 7 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆62Updated 9 months ago
- Official Code Repository for the paper "Key-value memory in the brain"☆22Updated 3 weeks ago
- ☆11Updated last year
- Xmixers: A collection of SOTA efficient token/channel mixers☆12Updated 3 months ago
- ☆14Updated last month
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated last year
- ☆99Updated 11 months ago
- Blog post☆16Updated 11 months ago
- Official code for the paper "Attention as a Hypernetwork"☆23Updated 7 months ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆28Updated 8 months ago
- Stick-breaking attention☆42Updated last month
- ☆51Updated 4 months ago
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆35Updated last year
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆44Updated last year
- RWKV model implementation☆37Updated last year
- ☆19Updated last year
- Triton Implementation of HyperAttention Algorithm☆46Updated last year
- Awesome Triton Resources☆19Updated 2 months ago
- Experiments on the impact of depth in transformers and SSMs.☆22Updated 3 months ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆48Updated last year