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"☆27Updated last year
- ☆23Updated 7 months ago
- ☆32Updated last year
- ☆31Updated last year
- sigma-MoE layer☆18Updated last year
- ☆47Updated last year
- ☆53Updated 9 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 8 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆37Updated last year
- Here we will test various linear attention designs.☆60Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated last year
- Combining SOAP and MUON☆16Updated 2 months ago
- ☆20Updated 11 months ago
- Official Code Repository for the paper "Key-value memory in the brain"☆25Updated 2 months ago
- ☆11Updated last year
- Using FlexAttention to compute attention with different masking patterns☆43Updated 7 months ago
- Triton implement of bi-directional (non-causal) linear attention☆46Updated 3 months ago
- Code for the paper: https://arxiv.org/pdf/2309.06979.pdf☆19Updated 9 months ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆11Updated 5 months ago
- Awesome Triton Resources☆27Updated last week
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆44Updated last year
- Efficient PScan implementation in PyTorch☆16Updated last year
- Blog post☆17Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆30Updated 10 months ago
- Stick-breaking attention☆52Updated last month
- ☆29Updated 2 years ago
- ☆15Updated last year
- This repo is based on https://github.com/jiaweizzhao/GaLore☆27Updated 7 months ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆48Updated last year
- Linear Attention Sequence Parallelism (LASP)☆82Updated 11 months ago