Trendoday

Show HN: Automatic deduction of FlashAttention kernel from ~25 lines of SQL

0 comments

  • Points5
  • Comments0
–Rank now
#25Peak rank
1Days on list
–Score · 7d
Oct 30, 2026First seen

On Hacker News

In this demo, we automatically deduce a FlashAttention kernel with ~25 lines of SQL, which just expresses vanilla attention. This is possible due to three portable SQL extensions that we’re building: - xarray-sql: a library that efficiently represents petabyte scale array datasets in the cloud as tables (relations). - ddx: a database extension that adds automatic differentiation in the style of JAX to standard SQL, assuming the above array data model. - einfold: a modular query planner for…

Points
5
Comments
0
Submitted by
alxmrs
Posted
Oct 30, 2026
Site
github.com

Story details from Hacker News ↗ · linked article on github.com.

Trending history

Show HN: Automatic deduction of FlashAttention kernel from ~25 lines of SQL was first seen on Hacker News · Front page on Oct 30, 2026. Since then it has appeared in 12 checks on 1 different day. Its best position was #25 of 30, reached on Oct 30, 22:52 UTC. It dropped off the list after Oct 30, 23:22 UTC.

Rank history

Position on Hacker News · Front page at every check (lower is better).

#1#11#20#30 20:3721:1821:5922:4123:22 Oct 30, 20:37 UTC · #27Oct 30, 20:52 UTC · #29Oct 30, 21:07 UTC · #30Oct 30, 21:22 UTC · #27Oct 30, 21:37 UTC · #28Oct 30, 21:52 UTC · #30Oct 30, 22:07 UTC · #29Oct 30, 22:22 UTC · #28Oct 30, 22:37 UTC · #27Oct 30, 22:52 UTC · #25Oct 30, 23:07 UTC · #27Oct 30, 23:22 UTC · #27

Last 14 days

Best rank per day (UTC).

Oct 26today

Metric history

Platform metric as reported by Hacker News.

071522 20:3721:1821:5922:4123:22 Oct 30, 20:37 UTC · 4Oct 30, 20:52 UTC · 5Oct 30, 21:07 UTC · 6Oct 30, 21:22 UTC · 9Oct 30, 21:37 UTC · 9Oct 30, 21:52 UTC · 11Oct 30, 22:07 UTC · 11Oct 30, 22:22 UTC · 12Oct 30, 22:37 UTC · 15Oct 30, 22:52 UTC · 19Oct 30, 23:07 UTC · 20Oct 30, 23:22 UTC · 22

Questions

Is Show HN: Automatic deduction of FlashAttention kernel from ~25 lines of SQL trending on Hacker News right now?

Not at the moment. It was last on the list on Oct 30, 23:22 UTC, after 1 day of trending.

What is the highest rank Show HN: Automatic deduction of FlashAttention kernel from ~25 lines of SQL reached?

#25 on Hacker News · Front page, on Oct 30, 22:52 UTC. Trendoday checks this list every 15 minutes.

How long has Show HN: Automatic deduction of FlashAttention kernel from ~25 lines of SQL been trending?

It was first seen on Oct 30, 2026 and has been on the list on 1 day (12 checks) since.

How much discussion did it get on Hacker News?

5 points and 0 comments; submitted by alxmrs on Oct 30, 2026.