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:
- 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
- An unofficial pytorch implementation of 'Efficient Infinite Context Transformers with Infini-attention'☆54Updated last year
- Code for the paper "Cottention: Linear Transformers With Cosine Attention"☆20Updated last month
- A repository for research on medium sized language models.☆77Updated last year
- ☆91Updated last year
- GoldFinch and other hybrid transformer components☆45Updated 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 9 months ago
- Pytorch Implementation of the paper: "Learning to (Learn at Test Time): RNNs with Expressive Hidden States"☆25Updated last week
- [ICLR 2025] Drop-Upcycling: Training Sparse Mixture of Experts with Partial Re-initialization☆20Updated 2 months ago
- Official code for the paper "Attention as a Hypernetwork"☆46Updated last year
- [ICLR'25] Code for KaSA, an official implementation of "KaSA: Knowledge-Aware Singular-Value Adaptation of Large Language Models"☆20Updated 11 months ago
- The official implementation of ICLR 2025 paper "Polynomial Composition Activations: Unleashing the Dynamics of Large Language Models".☆15Updated 8 months ago
- DPO, but faster 🚀☆46Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆58Updated last week
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆35Updated last year
- ☆19Updated 11 months ago
- Official implementation of ECCV24 paper: POA☆24Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- ☆16Updated last year
- Fork of Flame repo for training of some new stuff in development☆19Updated this week
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆102Updated last year
- Code for this paper "HyperRouter: Towards Efficient Training and Inference of Sparse Mixture of Experts via HyperNetwork"☆33Updated 2 years ago
- The official repository for SkyLadder: Better and Faster Pretraining via Context Window Scheduling☆41Updated this week
- Triton implement of bi-directional (non-causal) linear attention☆60Updated 10 months ago
- Implementation of Infini-Transformer in Pytorch☆113Updated 11 months ago
- JAX Scalify: end-to-end scaled arithmetics☆17Updated last year
- Official PyTorch Implementation for Vision-Language Models Create Cross-Modal Task Representations, ICML 2025☆31Updated 8 months ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆121Updated last year
- Explorations into improving ViTArc with Slot Attention☆43Updated last year