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:
- A repository for research on medium sized language models.☆77Updated last year
- Official implementation of ECCV24 paper: POA☆24Updated 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…☆59Updated 10 months ago
- Code for the paper "Cottention: Linear Transformers With Cosine Attention"☆20Updated 2 months ago
- An unofficial pytorch implementation of 'Efficient Infinite Context Transformers with Infini-attention'☆54Updated last year
- ☆91Updated last year
- 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 9 months ago
- Here we will test various linear attention designs.☆62Updated last year
- Explorations into improving ViTArc with Slot Attention☆43Updated last year
- DPO, but faster 🚀☆47Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆102Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆47Updated last year
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆35Updated last year
- ☆16Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- Code for this paper "HyperRouter: Towards Efficient Training and Inference of Sparse Mixture of Experts via HyperNetwork"☆33Updated 2 years ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆122Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- [ICML 2025] LaCache: Ladder-Shaped KV Caching for Efficient Long-Context Modeling of Large Language Models☆17Updated 3 months ago
- MatFormer repo☆70Updated last year
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆163Updated 9 months ago
- [ICML 2025] Code for "R2-T2: Re-Routing in Test-Time for Multimodal Mixture-of-Experts"☆19Updated 10 months ago
- Implementation of Infini-Transformer in Pytorch☆112Updated last year
- Implementation of Agent Attention in Pytorch☆93Updated last year
- Fork of Flame repo for training of some new stuff in development☆19Updated last month
- PyTorch implementation of StableMask (ICML'24)☆15Updated last year
- [ICML 2025] From Low Rank Gradient Subspace Stabilization to Low-Rank Weights: Observations, Theories and Applications☆52Updated 3 months ago
- ResiDual: Transformer with Dual Residual Connections, https://arxiv.org/abs/2304.14802☆97Updated 2 years ago
- Self contained pytorch implementation of a sinkhorn based router, for mixture of experts or otherwise☆40Updated last year