ahennequ / pytorch-custom-mmaLinks
☆29Updated 3 years ago
Alternatives and similar repositories for pytorch-custom-mma
Users that are interested in pytorch-custom-mma are comparing it to the libraries listed below
Sorting:
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆50Updated 3 years ago
- Triton Implementation of HyperAttention Algorithm☆48Updated 2 years ago
- Blog post☆17Updated last year
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆46Updated 2 years ago
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆49Updated 2 years ago
- ☆32Updated last year
- ☆51Updated last year
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆101Updated 2 years ago
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆87Updated last month
- ☆57Updated last year
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- Implementation of a Transformer using ReLA (Rectified Linear Attention) from https://arxiv.org/abs/2104.07012☆49Updated 3 years ago
- Parallel Associative Scan for Language Models☆18Updated last year
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆81Updated 4 years ago
- Source-to-Source Debuggable Derivatives in Pure Python☆15Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- Code for the paper "Query-Key Normalization for Transformers"☆50Updated 4 years ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆121Updated last year
- Implementation of "compositional attention" from MILA, a multi-head attention variant that is reframed as a two-step attention process wi…☆51Updated 3 years ago
- Engineering the state of RNN language models (Mamba, RWKV, etc.)☆32Updated last year
- Implementation of Infini-Transformer in Pytorch☆113Updated 11 months ago
- ☆20Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- My explorations into editing the knowledge and memories of an attention network☆35Updated 3 years ago
- Implementation of some personal helper functions for Einops, my most favorite tensor manipulation library ❤️☆57Updated 2 years ago
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated 6 months ago
- Utilities for Training Very Large Models☆58Updated last year
- Efficient PScan implementation in PyTorch☆17Updated last year
- Another attempt at a long-context / efficient transformer by me☆38Updated 3 years ago