kyegomez / MultiQueryAttentionLinks
This is a simple torch implementation of the high performance Multi-Query Attention
☆16Updated 2 years ago
Alternatives and similar repositories for MultiQueryAttention
Users that are interested in MultiQueryAttention are comparing it to the libraries listed below
Sorting:
- JAX Scalify: end-to-end scaled arithmetics☆17Updated last year
- A repository for research on medium sized language models.☆78Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated last year
- Code for the paper "Cottention: Linear Transformers With Cosine Attention"☆20Updated 3 weeks ago
- DPO, but faster 🚀☆46Updated last year
- Explorations into improving ViTArc with Slot Attention☆43Updated last year
- Official implementation of ECCV24 paper: POA☆24Updated last year
- Code for this paper "HyperRouter: Towards Efficient Training and Inference of Sparse Mixture of Experts via HyperNetwork"☆33Updated 2 years ago
- GoldFinch and other hybrid transformer components☆45Updated last year
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆28Updated 7 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Official PyTorch Implementation for Vision-Language Models Create Cross-Modal Task Representations, ICML 2025☆31Updated 7 months ago
- Official code for the paper "Attention as a Hypernetwork"☆46Updated last year
- ☆16Updated last year
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆35Updated last year
- ☆89Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated 6 months ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆120Updated last year
- [ICLR'25] Code for KaSA, an official implementation of "KaSA: Knowledge-Aware Singular-Value Adaptation of Large Language Models"☆20Updated 10 months ago
- Implementation of Agent Attention in Pytorch☆92Updated last year
- Lottery Ticket Adaptation☆40Updated last year
- An unofficial pytorch implementation of 'Efficient Infinite Context Transformers with Infini-attention'☆54Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- RWKV is an RNN with transformer-level LLM performance. It can be directly trained like a GPT (parallelizable). So it's combining the best…☆57Updated 8 months ago
- Self contained pytorch implementation of a sinkhorn based router, for mixture of experts or otherwise☆39Updated last year
- [ICML 2025] From Low Rank Gradient Subspace Stabilization to Low-Rank Weights: Observations, Theories and Applications☆51Updated last month
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆102Updated last year
- A repository for DenseSSMs☆89Updated last year
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆57Updated last year
- Resa: Transparent Reasoning Models via SAEs☆44Updated 2 months ago