{"adoption": {"forks": 130, "observed_at": "2026-08-28T04:04:50.485055+00:00", "stars": 1478}, "canonical_url": "https://ross.abutalabs.com/products/mambapy", "card": {"archived": false, "artifact_type": "library", "description": "A simple and efficient Mamba implementation in pure PyTorch and MLX.", "domain": ["deep-learning", "machine-learning", "large-language-models"], "enriched": true, "function": ["machine-learning", "deep-learning", "llm-training", "llm-inference"], "health_score": 76, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["alxndrTL/mamba.py"], "name": "alxndrTL/mamba.py", "platform": ["python"], "pushed_at": "2026-05-03T07:15:11+00:00", "repo": "alxndrTL/mamba.py", "stars": 1478, "tags": ["mamba", "state-space-models", "pytorch", "mlx", "parallel-scan", "jamba", "educational", "natural-language-processing", "macos", "gpu"], "topics": [], "urls": [], "use_cases": ["implement mamba in pytorch", "train a mamba model from scratch", "run mamba inference on a mac with mlx", "understand how the mamba selective scan works", "try the jamba architecture mixing mamba and attention", "transfer hyperparameters from small to large models with muP"], "what_it_is": "A simple, readable pure-PyTorch (plus MLX) implementation of the Mamba state-space model architecture with a parallel scan for efficient training. It also includes Jamba, Vision Mamba, and muP variants, and has been integrated into Hugging Face Transformers.", "when_to_avoid": ["you need maximum training throughput on NVIDIA GPUs - the official CUDA implementation is faster", "you want a production-hardened, feature-complete library rather than an educational implementation"], "when_to_choose": ["you want readable, hackable Mamba code for learning or research", "you train on PyTorch without the official CUDA kernels or on Apple Silicon with MLX", "you need Jamba or Vision Mamba variants in a simple codebase"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/mambapy", "repo": "alxndrTL/mamba.py", "role": "main", "score": 53}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:34:20.883632+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d78d7da964ce78076fdd5b986506a2e102c69cca3d972c68ab91d35adfe81ac", "fetched_at": "2026-08-28T04:04:50.485055+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alxndrTL/mamba.py"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:34:20.883632+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d78d7da964ce78076fdd5b986506a2e102c69cca3d972c68ab91d35adfe81ac", "fetched_at": "2026-08-28T04:04:50.485055+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alxndrTL/mamba.py"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:34:20.883632+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d78d7da964ce78076fdd5b986506a2e102c69cca3d972c68ab91d35adfe81ac", "fetched_at": "2026-08-28T04:04:50.485055+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alxndrTL/mamba.py"}], "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:04:50.485055+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:34:20.883632+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d78d7da964ce78076fdd5b986506a2e102c69cca3d972c68ab91d35adfe81ac", "fetched_at": "2026-08-28T04:04:50.485055+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alxndrTL/mamba.py"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:34:20.883632+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d78d7da964ce78076fdd5b986506a2e102c69cca3d972c68ab91d35adfe81ac", "fetched_at": "2026-08-28T04:04:50.485055+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alxndrTL/mamba.py"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:34:20.883632+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d78d7da964ce78076fdd5b986506a2e102c69cca3d972c68ab91d35adfe81ac", "fetched_at": "2026-08-28T04:04:50.485055+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alxndrTL/mamba.py"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:50.485055+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:34:20.883632+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d78d7da964ce78076fdd5b986506a2e102c69cca3d972c68ab91d35adfe81ac", "fetched_at": "2026-08-28T04:04:50.485055+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alxndrTL/mamba.py"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:34:20.883632+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d78d7da964ce78076fdd5b986506a2e102c69cca3d972c68ab91d35adfe81ac", "fetched_at": "2026-08-28T04:04:50.485055+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alxndrTL/mamba.py"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:34:20.883632+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d78d7da964ce78076fdd5b986506a2e102c69cca3d972c68ab91d35adfe81ac", "fetched_at": "2026-08-28T04:04:50.485055+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alxndrTL/mamba.py"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:34:20.883632+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9d78d7da964ce78076fdd5b986506a2e102c69cca3d972c68ab91d35adfe81ac", "fetched_at": "2026-08-28T04:04:50.485055+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alxndrTL/mamba.py"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 80, "longevity": 69, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 968, "days_push": 122, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 53, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}