Instructions to use Ashiedu/mamba1-selective-scan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use Ashiedu/mamba1-selective-scan with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("Ashiedu/mamba1-selective-scan") - Notebooks
- Google Colab
- Kaggle
| TORCH_LIBRARY_EXPAND(TORCH_EXTENSION_NAME, ops) { | |
| ops.def("mamba1_selective_scan(Tensor! out, Tensor input) -> ()"); | |
| ops.impl("mamba1_selective_scan", torch::kCPU, &mamba1_selective_scan); | |
| ops.impl("mamba1_selective_scan", torch::kCUDA, &mamba1_selective_scan); | |
| ops.impl("mamba1_selective_scan", torch::kMPS, mamba1_selective_scan); | |
| ops.impl("mamba1_selective_scan", torch::kXPU, &mamba1_selective_scan); | |
| } | |
| REGISTER_EXTENSION(TORCH_EXTENSION_NAME) |