Yhn SportBaseball first seen 1 d ago, last 44 min ago, peak #3
System derives FlashAttention kernel from about 25 lines of SQL
Original: Show HN: Automatic deduction of FlashAttention kernel from ~25 lines of SQL
A developer has showcased a system that can automatically deduce a FlashAttention kernel from roughly 25 lines of SQL, as part of the xarray-sql project on GitHub. The demonstration, posted as a benchmark in the project's machine learning examples, suggests a compiler or query engine can generate optimized attention kernels from declarative code. Interest centers on whether such an approach can genuinely replace hand-tuned GPU kernels.
Why now: The claim that complex GPU attention kernels can be generated automatically from short SQL programs is a striking technical result for the programming and machine learning communities.
xarray-sqlFlashAttentionGitHubHacker News
Rank over time, top of the chart is #1. 96 snapshots from 1 d ago to 44 min ago.
Evidence
API: https://socialmediatrends-api.osmike.com/v1/trends/4283000