glassroom / heinsen_attentionLinks
Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)
☆24Updated last year
Alternatives and similar repositories for heinsen_attention
Users that are interested in heinsen_attention are comparing it to the libraries listed below
Sorting:
- ☆48Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Here we will test various linear attention designs.☆60Updated last year
- ☆32Updated last year
- ☆23Updated 9 months ago
- Official code for the paper "Attention as a Hypernetwork"☆40Updated last year
- ☆11Updated last year
- Combining SOAP and MUON☆16Updated 5 months ago
- ☆32Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated 10 months ago
- Implementation of Hyena Hierarchy in JAX☆10Updated 2 years ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated last month
- ☆20Updated last year
- sigma-MoE layer☆20Updated last year
- Official Code Repository for the paper "Key-value memory in the brain"☆27Updated 4 months ago
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆37Updated last year
- Efficient PScan implementation in PyTorch☆16Updated last year
- Using FlexAttention to compute attention with different masking patterns☆44Updated 9 months ago
- APPy (Annotated Parallelism for Python) enables users to annotate loops and tensor expressions in Python with compiler directives akin to…☆23Updated 3 weeks ago
- Engineering the state of RNN language models (Mamba, RWKV, etc.)☆32Updated last year
- Blog post☆17Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- ☆19Updated last month
- Awesome Triton Resources☆31Updated 2 months ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆48Updated 2 years ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆11Updated last week
- Expanding linear RNN state-transition matrix eigenvalues to include negatives improves state-tracking tasks and language modeling without…☆15Updated 4 months ago
- JAX Scalify: end-to-end scaled arithmetics☆16Updated 8 months ago
- Stick-breaking attention☆58Updated 2 weeks ago