kernels-bot commited on
Commit
1e87c42
·
verified ·
1 Parent(s): f523d07

Uploaded using `kernel-builder`.

Browse files
Files changed (1) hide show
  1. README.md +30 -0
README.md ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: kernels
3
+ license: apache-2.0
4
+ ---
5
+
6
+ This is the repository card of kernels-community/gemma-quant-kernels 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/gemma-quant-kernels", version=1)
15
+ lowbit_gemm = kernel_module.lowbit_gemm
16
+
17
+ lowbit_gemm(...)
18
+ ```
19
+
20
+ ## Available functions
21
+ - `lowbit_gemm`
22
+ - `grouped_lowbit_gemm`
23
+ - `pack_int2`
24
+ - `pack_int4`
25
+ - `unpack_int2`
26
+ - `unpack_int4`
27
+
28
+ ## Benchmarks
29
+
30
+ No benchmark available yet.