~/lightning

FlexAttention + FlashAttention-4: Fast and Flexible

links:none on file
slides:none on file

FlexAttention integrates with FlashAttention-4 to run Flex-style score and mask hooks as JIT-instantiated CuTeDSL kernels via PyTorch Inductor, converting pointwise score mods into tensor-SSA and wiring them into FA4’s warp-specialized, block-sparse pipeline. Benchmarks show 1.2–3.2× speedups over Triton on compute-bound workloads, up to 2.7× forward / 3× backward on B200, and 1.3–2× on Hopper; practical notes: set Flash backend and adjust block size to 256×128 for Blackwell.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.