Better HN
topnewbestaskshowjobs
Log inSign up

hhuytho

3 karma · joined Feb 13, 2025 (1y ago) · 4 submissions

Submissions

1.

Show HN: Optimized runtimes for three VLAs on Jetson Thor(github.com ↗)

2 points · by hhuytho · 2mo ago · discuss

comment 6mo ago · link · parent

Yes, a few interesting observations:

- Instead of the conventional wisdom for fusion: "fuse early, fuse aggressively", the search does the opposite for Q. It fuses K's RMSNorm at K-cache-write time (one norm. for the whole K matrix), but defers Q's RMSNorm to attention kernel's prologue.

- The result_output of Q2_0 kernel was rewritten to process 2 output rows per SIMD lane instead of 1, with nsg=8. This is against the common Metal advice of maximizing occupancy to keep simdgroups busy. The advantage is that each y vector gets reused across two accumulators, halving DRAM bandwidth for the y operand.

We didn't suggest either of these. The agent had the upstream code, a benchmark, and a correctness check.

3.

Show HN: Bonsai 1.7B ternary model at 442T/s on M4 Max(agents2agents.ai ↗)

13 points · by hhuytho · 6mo ago · 3 comments