kernels-bot commited on
Commit
e4fc57f
·
verified ·
1 Parent(s): 458e779

Uploaded using `kernel-builder`.

Browse files
Files changed (1) hide show
  1. README.md +29 -0
README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: kernels
3
+ license: mit
4
+ ---
5
+
6
+ This is the repository card of kernels-community/bitsandbytes-mps 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/bitsandbytes-mps")
15
+ quantize_4bit = kernel_module.quantize_4bit
16
+
17
+ quantize_4bit(...)
18
+ ```
19
+
20
+ ## Available functions
21
+ - `quantize_4bit`
22
+ - `dequantize_4bit`
23
+ - `gemv_4bit`
24
+ - `gemm_4bit`
25
+ - `linear_4bit`
26
+
27
+ ## Benchmarks
28
+
29
+ No benchmark available yet.