Uploaded using `kernel-builder`.

#4
Files changed (1) hide show
  1. README.md +30 -0
README.md ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: kernels
3
+ license: mit
4
+ ---
5
+
6
+ This is the repository card of ggml-org/ggml-quantization 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("ggml-org/ggml-quantization", version=1)
15
+ GEMV_TYPES = kernel_module.GEMV_TYPES
16
+
17
+ GEMV_TYPES(...)
18
+ ```
19
+
20
+ ## Available functions
21
+ - `GEMV_TYPES`
22
+ - `MAX_GEMV_ROWS`
23
+ - `dequantize`
24
+ - `get_rows`
25
+ - `mul_mat_id`
26
+ - `mul_mat_vec`
27
+
28
+ ## Benchmarks
29
+
30
+ No benchmark available yet.