#5555th of 190 in Open models
mamba
Reference PyTorch code for Mamba, Mamba-2 and Mamba-3 state space models
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts mamba on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.mamba is on your watch list. Its new releases and problems show there.
- Stars
- 19k
- License
- Apache-2.0
- Last commit
- Jul 2026
- Last release
- May 2026
- Language
- Python
17,522 on 25 Mar 202619,027 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Official implementation of the Mamba selective state space architecture, with Mamba, Mamba-2 and Mamba-3 blocks as PyTorch modules and CUDA kernels for the selective scan. It includes a sample language model backbone, generation and benchmark scripts, and pointers to pretrained 130M to 2.8B checkpoints on Hugging Face.
Who it is for: ML researchers and engineers building or evaluating state space models
Strengths
- Official code from the authors for Mamba, Mamba-2 and Mamba-3 blocks
- Pretrained checkpoints from 130M to 2.8B, auto-downloaded by the generation script
- Includes lm-evaluation-harness commands to reproduce paper zero-shot results
- Drop-in Mamba, Mamba2 and Mamba3 modules for your own PyTorch networks
Weaknesses
- Linux only; GPU use needs NVIDIA with CUDA 11.6+, AMD needs extra setup
- Pretrained models are base models only, no instruction tuning
- CUDA selective scan is opt-in and may compile locally with --no-build-isolation
- Research code: no model server or chat interface included
What it needs
- GPU required
- Needs PyTorch 1.12+, Python 3.10+, CUDA 11.6+, causal-conv1d (optional), lm-evaluation-harness (for evals)
- Models: Mamba, Mamba-2, Mamba-3, Hugging Face checkpoints (state-spaces)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Open models
See all 190| Rank | Project | Score |
|---|---|---|
| #53 | index-translateOpen translation models for text, images and speech across 150 languages | 55 out of 100 |
| #54 | spleeterPretrained TensorFlow models that split music into vocals, drums, bass and other stems | 54 out of 100 |
| #56 | matrix-gameInteractive world models that neural-render playable game scenes from an engine | 54 out of 100 |
| #57 | zdtaichu5.0-9b9B multimodal model for visual understanding, spatial reasoning and tool use | 54 out of 100 |
| #58 | eagleVision-language model family from NVIDIA: Eagle, Eagle 2.5, LocateAnything | 53 out of 100 |