{"adoption": {"forks": 218, "observed_at": "2026-08-28T04:07:32.513154+00:00", "stars": 2965}, "canonical_url": "https://ross.abutalabs.com/products/mamba-minimal", "card": {"archived": false, "artifact_type": "library", "description": "Simple, minimal implementation of the Mamba SSM in one file of PyTorch.", "domain": ["deep-learning", "large-language-models", "machine-learning"], "enriched": true, "function": ["deep-learning", "machine-learning", "llm-inference"], "health_score": 20, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["johnma2006/mamba-minimal"], "name": "johnma2006/mamba-minimal", "platform": ["python"], "pushed_at": "2024-03-08T04:13:40+00:00", "repo": "johnma2006/mamba-minimal", "stars": 2965, "tags": ["mamba", "ssm", "state-space-models", "educational", "minimal-implementation", "pytorch"], "topics": [], "urls": [], "use_cases": ["understand how the mamba ssm architecture works internally", "run a minimal mamba model in pure pytorch without custom kernels", "load pretrained mamba weights and generate text", "study annotated code for selective state space models", "prototype modifications to the mamba architecture", "compare mamba implementation against the official one numerically"], "what_it_is": "A single-file, readable PyTorch implementation of the Mamba selective state space model architecture. It produces numerically equivalent outputs to the official optimized implementation and can load pretrained Mamba checkpoints for text generation.", "when_to_avoid": ["you need fast, production-grade inference speed", "you require proper parameter initialization for training from scratch", "you want optimized CUDA kernels or long-context performance", "you need a maintained, feature-complete framework"], "when_to_choose": ["you want to read and learn the mamba architecture from clean annotated code", "you need a dependency-light pytorch reference implementation for experimentation", "you want to verify correctness against the official implementation", "you are teaching or studying state space models"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/mamba-minimal", "repo": "johnma2006/mamba-minimal", "role": "main", "score": 26}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:32:03.564657+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21fbe69e185961573e1d32a1a169c070923a64e1f27645e2f1fc5b115d871b00", "fetched_at": "2026-08-28T04:07:32.513154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/johnma2006/mamba-minimal"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:32:03.564657+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21fbe69e185961573e1d32a1a169c070923a64e1f27645e2f1fc5b115d871b00", "fetched_at": "2026-08-28T04:07:32.513154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/johnma2006/mamba-minimal"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:32:03.564657+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21fbe69e185961573e1d32a1a169c070923a64e1f27645e2f1fc5b115d871b00", "fetched_at": "2026-08-28T04:07:32.513154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/johnma2006/mamba-minimal"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:32:03.564657+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21fbe69e185961573e1d32a1a169c070923a64e1f27645e2f1fc5b115d871b00", "fetched_at": "2026-08-28T04:07:32.513154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/johnma2006/mamba-minimal"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:32:03.564657+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21fbe69e185961573e1d32a1a169c070923a64e1f27645e2f1fc5b115d871b00", "fetched_at": "2026-08-28T04:07:32.513154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/johnma2006/mamba-minimal"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:32:03.564657+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21fbe69e185961573e1d32a1a169c070923a64e1f27645e2f1fc5b115d871b00", "fetched_at": "2026-08-28T04:07:32.513154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/johnma2006/mamba-minimal"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.513154+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:32:03.564657+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21fbe69e185961573e1d32a1a169c070923a64e1f27645e2f1fc5b115d871b00", "fetched_at": "2026-08-28T04:07:32.513154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/johnma2006/mamba-minimal"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:32:03.564657+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21fbe69e185961573e1d32a1a169c070923a64e1f27645e2f1fc5b115d871b00", "fetched_at": "2026-08-28T04:07:32.513154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/johnma2006/mamba-minimal"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:32:03.564657+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21fbe69e185961573e1d32a1a169c070923a64e1f27645e2f1fc5b115d871b00", "fetched_at": "2026-08-28T04:07:32.513154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/johnma2006/mamba-minimal"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:32:03.564657+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "21fbe69e185961573e1d32a1a169c070923a64e1f27645e2f1fc5b115d871b00", "fetched_at": "2026-08-28T04:07:32.513154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/johnma2006/mamba-minimal"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 70, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 987, "days_push": 908, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 26, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}