This is the repository card of ggml-org/ggml-attn that has been pushed on the Hub. It was built to be used with the kernels library. This card was automatically generated.

How to use

# make sure `kernels` is installed: `pip install -U kernels`
from kernels import get_kernel

kernel_module = get_kernel("ggml-org/ggml-attn", version=1)
flash_attn = kernel_module.flash_attn

flash_attn(...)

Available functions

  • flash_attn
  • supports_flash_attn
  • flash_attn_forward

Benchmarks

No benchmark available yet.

Downloads last month
-
mit