Instructions to use kernels-community/mamba-ssm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/mamba-ssm with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/mamba-ssm") - Notebooks
- Google Colab
- Kaggle
Fix decoder output class
Fixes https://huggingface.co/kernels-community/mamba-ssm/discussions/2
This updates the decode method in utils/generation.py.
I believe at the rest of the places throughout the repo, a build would solve it? (but I am not sure)
This updates the decode method in utils/generation.py.
I believe at the rest of the places throughout the repo, a build would solve it? (but I am not sure)
Hey @rom7 , since we can't apply our own patches, I think it's better to open a PR upstream : https://github.com/state-spaces/mamba/blob/10b5d6358f27966f6a40e4bf0baa17a460688128/mamba_ssm/utils/generation.py#L14, once it's merged we can sync the new changes here.
Understood, thanks for the suggestion. I will close the PR here.