kernels-bot commited on
Commit
bc05632
·
verified ·
1 Parent(s): 19bf861

Uploaded using `kernel-builder`.

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: kernels
3
+ license: mit
4
+ ---
5
+
6
+ This is the repository card of kernels-community/mlx-quantization-metal-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/mlx-quantization-metal-kernels", version=2)
15
+ dequantize = kernel_module.dequantize
16
+
17
+ dequantize(...)
18
+ ```
19
+
20
+ ## Available functions
21
+ - `dequantize`
22
+ - `gather_qmm`
23
+ - `gather_qqmm`
24
+ - `qqmm`
25
+ - `quantize`
26
+ - `quantized_matmul`
27
+ - `affine_gather_qmm_rhs_nax`
28
+ - `affine_qmm_n`
29
+ - `affine_qmm_n_nax`
30
+ - `affine_qmm_t`
31
+ - `affine_qmm_t_nax`
32
+ - `affine_qmv`
33
+ - `mxfp4_qmm_n`
34
+ - `mxfp4_qmv`
35
+
36
+ ## Benchmarks
37
+
38
+ No benchmark available yet.