Show HN: Automatic deduction of FlashAttention kernel from ~25 lines of SQL(github.com)
22 points by alxmrs | 1 comments
A GitHub source file from xarray-sql demonstrating causal attention written in SQL, with einfold deriving a fused FlashAttention-style plan and ddx computing gradients.
