Kernels
kernels-bot commited on
Commit
998857e
·
verified ·
1 Parent(s): 77d7c6d

Uploaded using `kernel-builder`.

Browse files
Files changed (1) hide show
  1. README.md +33 -0
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: kernels
3
+ license: apache-2.0
4
+ ---
5
+
6
+ This is the repository card of kernels-community/mamba-ssm that has been pushed on the Hub. It was built to be used with the [`kernels` library](https://github.com/huggingface/kernels). This card was automatically generated.
7
+
8
+ ## How to use
9
+
10
+ ```python
11
+ # make sure `kernels` is installed: `pip install -U kernels`
12
+ from kernels import get_kernel
13
+
14
+ kernel_module = get_kernel("kernels-community/mamba-ssm", version=1)
15
+ selective_scan_fn = kernel_module.selective_scan_fn
16
+
17
+ selective_scan_fn(...)
18
+ ```
19
+
20
+ ## Available functions
21
+ - `selective_scan_fn`
22
+ - `mamba_inner_fn`
23
+ - `falcon_mamba_inner_fn`
24
+ - `selective_state_update`
25
+ - `mamba_chunk_scan_combined`
26
+ - `mamba_split_conv1d_scan_combined`
27
+ - `Mamba`
28
+ - `Mamba2`
29
+ - `MambaLMHeadModel`
30
+
31
+ ## Benchmarks
32
+
33
+ No benchmark available yet.