mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 20:09:50 +00:00
Improved mamba model optimized for inference (#1694)
* Sketch the mamba model for inference. * Complete the forward pass. * Add the mamba example. * Optimize the selective-scan part. * Fix a couple shape mismatches and get inference to work. * Tweak the readmes. * More readme tweaks.
This commit is contained in:
@ -2,6 +2,9 @@
|
||||
|
||||
This is based on [mamba-minimal](https://github.com/johnma2006/mamba-minimal).
|
||||
|
||||
Compared to the mamba example, this version can handle training but is much
|
||||
slower.
|
||||
|
||||
## Running the example
|
||||
|
||||
```bash
|
||||
|
Reference in New Issue
Block a user