How to use state-spaces/mamba-370m with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("state-spaces/mamba-370m", dtype="auto")