ShaderManager / RetNet
PyTorch implementation of Retentive Network: A Successor to Transformer for Large Language Models
☆14Updated last year
Alternatives and similar repositories for RetNet:
Users that are interested in RetNet are comparing it to the libraries listed below
- an implementation of paper"Retentive Network: A Successor to Transformer for Large Language Models" https://arxiv.org/pdf/2307.08621.pdf☆12Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 8 months ago
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆42Updated last month
- A repository for DenseSSMs☆87Updated last year
- Implementation of MambaFormer in Pytorch ++ Zeta from the paper: "Can Mamba Learn How to Learn? A Comparative Study on In-Context Learnin…☆20Updated this week
- Implementation of a modular, high-performance, and simplistic mamba for high-speed applications☆34Updated 5 months ago
- several types of attention modules written in PyTorch for learning purposes☆50Updated 6 months ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆105Updated last year
- Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models☆9Updated 4 months ago
- A single repo with all scripts and utils to train / fine-tune the Mamba model with or without FIM☆54Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆103Updated 3 weeks ago
- The official GitHub page for the survey paper "A Survey of RWKV".☆25Updated 3 months ago
- This is a simple torch implementation of the high performance Multi-Query Attention☆16Updated last year
- ☆22Updated 4 months ago
- PyTorch implementation of Soft MoE by Google Brain in "From Sparse to Soft Mixtures of Experts" (https://arxiv.org/pdf/2308.00951.pdf)☆71Updated last year
- ☆40Updated 3 months ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆52Updated 3 weeks ago
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆97Updated 6 months ago
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆43Updated 4 months ago
- A large-scale RWKV v6, v7(World, ARWKV, PRWKV) inference. Capable of inference by combining multiple states(Pseudo MoE). Easy to deploy o…☆35Updated this week
- Towards Understanding the Mixture-of-Experts Layer in Deep Learning☆28Updated last year
- ☆8Updated 6 months ago
- This repository contains papers for a comprehensive survey on accelerated generation techniques in Large Language Models (LLMs).☆11Updated 11 months ago
- Implementation of Agent Attention in Pytorch☆89Updated 9 months ago
- Efficient implementations of state-of-the-art linear attention models in Pytorch and Triton☆28Updated this week
- Experiments on Multi-Head Latent Attention☆87Updated 8 months ago
- Deep learning library implemented from scratch in numpy. Mixtral, Mamba, LLaMA, GPT, ResNet, and other experiments.☆51Updated last year
- ☆16Updated 6 months ago
- Here we will test various linear attention designs.☆60Updated last year
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆192Updated 3 weeks ago