Files
Zach Kelling fc84b98274 Fix clippy warnings and remaining CI issues
- Add Default implementation for PerplexityBenchmark
- Add #[allow(dead_code)] to FileLogger struct
- Fix remaining hanzo_examples -> hanzo_ml_examples references in example files
2026-01-17 18:03:19 -08:00
..
2026-01-16 12:30:55 -08:00

hanzo-ml-mamba: Mamba implementation

ML implementation of Mamba [1] inference only. Mamba is an alternative to the transformer architecture. It leverages State Space Models (SSMs) with the goal of being computationally efficient on long sequences. The implementation is based on mamba.rs.

Compared to the mamba-minimal example, this version is far more efficient but would only work for inference.

Running the example

$ cargo run --example mamba --release -- --prompt "Mamba is the"