Kernels
kernels-bot commited on
Commit
33241c2
·
verified ·
1 Parent(s): 90e042d

Uploaded using `kernel-builder`.

Browse files
Files changed (1) hide show
  1. README.md +21 -10
README.md CHANGED
@@ -1,15 +1,26 @@
1
  ---
2
- tags:
3
- - kernels
4
- - cuda
5
  ---
6
- ### Performance
7
 
8
- <img class="dark:hidden border border-gray-200 dark:border-gray-700 rounded-lg" src="media/benches_light_animation.svg" />
9
- <img class="hidden dark:block border border-gray-200 dark:border-gray-700 rounded-lg" src="media/benches_dark_animation.svg" />
10
 
11
- <img class="dark:hidden border border-gray-200 dark:border-gray-700 rounded-lg" src="media/benches_light_latency.svg" />
12
- <img class="hidden dark:block border border-gray-200 dark:border-gray-700 rounded-lg" src="media/benches_dark_latency.svg" />
13
 
14
- <img class="dark:hidden border border-gray-200 dark:border-gray-700 rounded-lg" src="media/benches_light_throughput.svg" />
15
- <img class="hidden dark:block border border-gray-200 dark:border-gray-700 rounded-lg" src="media/benches_dark_throughput.svg" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: kernels
 
 
3
  ---
 
4
 
5
+ This is the repository card of kernels-community/yoso 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.
 
6
 
7
+ ## How to use
 
8
 
9
+ ```python
10
+ # make sure `kernels` is installed: `pip install -U kernels`
11
+ from kernels import get_kernel
12
+
13
+ kernel_module = get_kernel("kernels-community/yoso")
14
+ fast_hash = kernel_module.fast_hash
15
+
16
+ fast_hash(...)
17
+ ```
18
+
19
+ ## Available functions
20
+ - `fast_hash`
21
+ - `lsh_cumulation`
22
+ - `lsh_weighted_cumulation`
23
+
24
+ ## Benchmarks
25
+
26
+ Benchmarking script is available for this kernel. Run `kernels benchmark kernels-community/yoso`.