Mamba Selective State Space Vault (mamba-state-space-vault)
Comprehensive scientific research vault housing algorithms, continuous-to-discrete Zero-Order Hold (ZOH) operators, parallel associative prefix scans, and layer implementations for Mamba Selective State Space Models (S6).
Vault Repository Structure
mamba-state-space-vault/
βββ src/
β βββ mamba_block.py # Full Mamba S6 block with selective projections
β βββ associative_scan.py # Parallel associative prefix scan operator
β βββ discretization_zoh.py # ZOH matrix exponential discretization
βββ benchmarks/
β βββ eval_mamba_complexity.py # O(L) Linear time complexity verification suite
βββ MANIFEST.json # Cryptographic SHA-256 integrity manifest
βββ README.md # Mathematical formulation and documentation
Equations
- Continuous State Space Model: $$h'(t) = A h(t) + B x(t), \quad y(t) = C h(t) + D x(t)$$
- Discretization via Zero-Order Hold: $$\bar{A}_t = \exp(\Delta_t A), \quad \bar{B}_t \approx \Delta_t B_t$$
- Associative Scan Operator: $$(A_j, b_j) \bullet (A_i, b_i) = (A_j A_i, \ A_j b_i + b_j)$$
Reproducibility
python benchmarks/eval_mamba_complexity.py
Developed by Ramprasad Atluri (At1uri).
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support