#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.

Stars
19k
License
Apache-2.0
Last commit
Jul 2026
Last release
May 2026
Language
Python
Stars, last 35 weeks+1,505
25 Mar 2026: 17,522 stars1 Apr 2026: 17,634 stars8 Apr 2026: 17,706 stars15 Apr 2026: 17,790 stars22 Apr 2026: 17,889 stars29 Apr 2026: 17,951 stars6 May 2026: 18,006 stars13 May 2026: 18,071 stars20 May 2026: 18,115 stars27 May 2026: 18,162 stars3 Jun 2026: 18,212 stars10 Jun 2026: 18,280 stars17 Jun 2026: 18,317 stars24 Jun 2026: 18,352 stars1 Jul 2026: 18,403 stars8 Jul 2026: 18,458 stars15 Jul 2026: 18,498 stars22 Jul 2026: 18,540 stars29 Jul 2026: 18,580 stars5 Aug 2026: 18,612 stars12 Aug 2026: 18,640 stars19 Aug 2026: 18,673 stars26 Aug 2026: 18,706 stars2 Sept 2026: 18,732 stars9 Sept 2026: 18,757 stars16 Sept 2026: 18,784 stars23 Sept 2026: 18,818 stars30 Sept 2026: 18,836 stars7 Oct 2026: 18,851 stars14 Oct 2026: 18,888 stars21 Oct 2026: 18,915 stars28 Oct 2026: 18,934 stars4 Nov 2026: 18,959 stars11 Nov 2026: 18,993 stars18 Nov 2026: 19,014 stars25 Nov 2026: 19,027 stars

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
Also in Open models
RankProjectScore
#53index-translateOpen translation models for text, images and speech across 150 languages Live demo ↗ (opens in a new tab)2.2k starsApache-2.055 out of 100
#54spleeterPretrained TensorFlow models that split music into vocals, drums, bass and other stems Live demo ↗ (opens in a new tab)28.5k starsMIT54 out of 100
#56matrix-gameInteractive world models that neural-render playable game scenes from an engine3k stars+196 (+7.0%) in 30 daysMIT54 out of 100
#57zdtaichu5.0-9b9B multimodal model for visual understanding, spatial reasoning and tool use3k starsApache-2.054 out of 100
#58eagleVision-language model family from NVIDIA: Eagle, Eagle 2.5, LocateAnything Live demo ↗ (opens in a new tab)3.9k stars+140 (+3.7%) in 30 daysApache-2.053 out of 100