nanowell / Differential-Transformer-PyTorchLinks
PyTorch implementation of the Differential-Transformer architecture for sequence modeling, specifically tailored as a decoder-only model similar to large language models (LLMs). The architecture incorporates a novel Differential Attention mechanism, Multi-Head structure, RMSNorm, and SwiGLU.
☆66Updated 7 months ago
Alternatives and similar repositories for Differential-Transformer-PyTorch
Users that are interested in Differential-Transformer-PyTorch are comparing it to the libraries listed below
Sorting:
- Minimal Mamba-2 implementation in PyTorch☆198Updated 11 months ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆55Updated last month
- A repository for DenseSSMs☆87Updated last year
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆68Updated 5 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆222Updated last year
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆193Updated last month
- An open source community implementation of the model from "DIFFERENTIAL TRANSFORMER" paper by Microsoft.☆28Updated last week
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆104Updated last month
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆89Updated last year
- Simba☆207Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆104Updated last month
- Official repository of MLLA (NeurIPS 2024)☆326Updated 6 months ago
- ☆48Updated last year
- State Space Models☆67Updated last year
- Offical implementation of "MetaLA: Unified Optimal Linear Approximation to Softmax Attention Map" (NeurIPS2024 Oral)☆24Updated 4 months ago
- Awesome list of papers that extend Mamba to various applications.☆133Updated last month
- The open source implementation of the cross attention mechanism from the paper: "JOINTLY TRAINING LARGE AUTOREGRESSIVE MULTIMODAL MODELS"☆27Updated last year
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆38Updated 7 months ago
- Official repository of Polarity-aware Linear Attention for Vision Transformers (ICLR 2025)☆62Updated 3 weeks ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆105Updated last year
- Computation-Efficient Era: A Comprehensive Survey of State Space Models in Medical Image Analysis☆236Updated 3 months ago
- ☆60Updated 4 months ago
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆118Updated last month
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆135Updated 4 months ago
- [CVPR2025] Breaking the Low-Rank Dilemma of Linear Attention☆21Updated 2 months ago
- Implementation of Agent Attention in Pytorch☆90Updated 10 months ago
- Official repository for CVPR24 Precognition Workshop Paper: VMRNN: Integrating Vision Mamba and LSTM for Efficient and Accurate Spatiotem…☆133Updated last year
- Mamba or Transformer for Time Series Forecasting? Mixture of Universals (MoU) Is All You Need.☆43Updated 3 months ago
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆69Updated 4 months ago
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆471Updated last week