state-spaces/mamba
Mamba SSM architecture
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
No releases in the last 90 days; the most recent was 181 days ago, with 56 contributors on GitHub.
Peaked at #95 in the weekly ranking the week of Mar 22, its best in the past year.
Use Cases & Benefits
- Implements a state space model architecture for efficient and scalable sequence modeling in PyTorch.
- Delivers improved performance on information-dense data like language modeling with linear-time complexity and hardware-aware optimizations.
- Use for building high-performance language models that require efficient long-range sequence processing on NVIDIA GPUs.
- Use for research and development of advanced state space models leveraging structured state space duality principles.
- Use for benchmarking and comparing sequence model inference speed and accuracy against Transformer-based architectures.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Mamba: Linear-Time Sequence Modeling with Selective State Spaces
Albert Gu*, Tri Dao*
Paper: https://arxiv.org/abs/2312.00752Transformers are SSMs: Generalized Models and Efficient Algorithms
Through Structured State Space Duality
Tri Dao*, Albert Gu*
Paper: https://arxiv.org/abs/2405.21060Mamba-3: Improved Sequence Modeling using State Space Principles
Through Structured State Space Duality
Aakash Lahoti*, Kevin Y. Li*, Berlin Chen*, Caitlin Wang*, Aviv Bick, J. Zico Kolter, Tri Dao†, Albert Gu†
Paper: https://arxiv.org/abs/2603.15569Mamba is a new state space model architecture showing promising performance on information-dense data such as language modeling, where previous subquadratic models fall short of Transformers. It is based on the line of progress on structured state space models, with an efficient hardware-aware design and implementation in the spirit of FlashAttention.
--no-build-isolationis required so that pip uses your existing CUDA-enabled PyTorch instead of installing torch-cpu in an isolated build environment.For AMD cards, see additional prerequisites below.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
1.8K+46
Open issues
646+41
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/skills | 191.0K | +4.2K | 15 | — |
| zed-industries/zed | 94.6K | +2.3K | 65 | 5 days ago |
| NationalSecurityAgency/ghidra | 99.1K | +1.9K | 64 | 18 days ago |
| DuarteSantos8/openGym | 20.6K | +1.7K | 60 | 6 days ago |
| shiyu-coder/Kronos | 47.4K | +1.4K | 16 | — |
| state-spaces/mamba | 19.0K | — | 45 | 181 days ago |
| Category median | 94.6K | +1.9K | 60 | — |
Discover Repositories
Search across tracked repositories by name or description