Kernels
kernels-bot commited on
Commit
bbc3758
·
verified ·
1 Parent(s): aa2aa93

Uploaded using `kernel-builder`.

Browse files
Files changed (1) hide show
  1. README.md +4 -29
README.md CHANGED
@@ -1,14 +1,9 @@
1
  ---
2
  library_name: kernels
3
- license: apache-2.0
4
  ---
5
 
6
- <!-- This model card has automatically been generated. You
7
- should probably proofread and complete it, then remove this comment. -->
8
-
9
-
10
- This is the repository card of {repo_id} 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.
11
-
12
 
13
  ## How to use
14
 
@@ -16,14 +11,13 @@ This is the repository card of {repo_id} that has been pushed on the Hub. It was
16
  # make sure `kernels` is installed: `pip install -U kernels`
17
  from kernels import get_kernel
18
 
19
- kernel_module = get_kernel("kernels-community/flash-attn3") # <- change the ID if needed
20
  flash_attn_combine = kernel_module.flash_attn_combine
21
 
22
  flash_attn_combine(...)
23
  ```
24
 
25
  ## Available functions
26
-
27
  - `flash_attn_combine`
28
  - `flash_attn_func`
29
  - `flash_attn_qkvpacked_func`
@@ -31,25 +25,6 @@ flash_attn_combine(...)
31
  - `flash_attn_with_kvcache`
32
  - `get_scheduler_metadata`
33
 
34
- ## Supported backends
35
-
36
- - cuda
37
-
38
- ## CUDA Capabilities
39
-
40
- - 8.0
41
- - 9.0a
42
-
43
  ## Benchmarks
44
 
45
- Benchmarking script is available for this kernel. Make sure to run `kernels benchmark org-id/repo-id` (replace "org-id" and "repo-id" with actual values).
46
-
47
- [TODO: provide benchmarks if available]
48
-
49
- ## Source code
50
-
51
- [TODO: provide original source code and other relevant citations if available]
52
-
53
- ## Notes
54
-
55
- [TODO: provide additional notes about this kernel if needed]
 
1
  ---
2
  library_name: kernels
3
+ license: bsd-3-clause
4
  ---
5
 
6
+ This is the repository card of kernels-community/flash-attn3 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
 
 
11
  # make sure `kernels` is installed: `pip install -U kernels`
12
  from kernels import get_kernel
13
 
14
+ kernel_module = get_kernel("kernels-community/flash-attn3")
15
  flash_attn_combine = kernel_module.flash_attn_combine
16
 
17
  flash_attn_combine(...)
18
  ```
19
 
20
  ## Available functions
 
21
  - `flash_attn_combine`
22
  - `flash_attn_func`
23
  - `flash_attn_qkvpacked_func`
 
25
  - `flash_attn_with_kvcache`
26
  - `get_scheduler_metadata`
27
 
 
 
 
 
 
 
 
 
 
28
  ## Benchmarks
29
 
30
+ Benchmarking script is available for this kernel. Run `kernels benchmark kernels-community/flash-attn3`.