kernels-bot commited on
Commit
39ecabf
·
verified ·
1 Parent(s): 4b10649

Uploaded using `kernel-builder`.

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -11,7 +11,7 @@ This is the repository card of kernels-community/flash-attn2 that has been pushe
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-attn2", version=2)
15
  flash_attn_func = kernel_module.flash_attn_func
16
 
17
  flash_attn_func(...)
@@ -33,4 +33,4 @@ flash_attn_func(...)
33
 
34
  ## Benchmarks
35
 
36
- Benchmarking script is available for this kernel. Run `kernels benchmark kernels-community/flash-attn2 --version 2`.
 
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-attn2", version=3)
15
  flash_attn_func = kernel_module.flash_attn_func
16
 
17
  flash_attn_func(...)
 
33
 
34
  ## Benchmarks
35
 
36
+ Benchmarking script is available for this kernel. Run `kernels benchmark kernels-community/flash-attn2 --version 3`.