search
xarray-sql
Trends
- 1System derives FlashAttention kernel from about 25 lines of SQL▼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.
Repos
- xqlsystems/xarray-sql Query Xarray datasets with SQL