Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to run inference on a Mamba2 model using only the CPU? #667

Open
daisy98cc opened this issue Jan 13, 2025 · 0 comments
Open

Comments

@daisy98cc
Copy link

Hi,

I have tried training a model by simplifying an example model with the Mamba2 block. I am now attempting to run inference using only the CPU. During my tests, I noticed that the model relies on prebuilt selective_scan_cuda and causal_conv1d_cuda. Is it possible to modify the model to use CPU instead of CUDA for these operations?

Thank you for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant