Nunze and Claude Opus 5.5
1ff9abe2ba
libr4d: gemm_nt_f32 keeps steps of k in flight below 64 rows -- GLM's router read its weights at 150 GB/s
...
The router (288 x 4096 f32, every MoE layer, the MTP layer in every draft pass) and the index
head gates (32 x 4096) took 26 to 36 us a call at decode's few rows: a lane loaded one weight a
step and fed it straight to its FMA, so a wave had one request in flight. The tile kernel now
loads U steps of k before their FMAs; each lane keeps its ascending fmaf chain and the butterfly,
so every form gives the same bytes, and U = 1 is the tile form as it was.
Below 64 rows the rule takes 2 x 2 tiles with 16 steps, at the router's width from 17 rows 8 x 1
with 8; the wave-per-output kernel for one row goes. Measured (r4d_selftest --cold 256 --perff32,
K 4096), us:
rows 1 4 8 16 24 48
N 288, before 28.1 36.0 36.3 41.9 45.4 47.9
after 14.4 14.5 15.0 19.1 21.6 35.5
N 32, before 27.3 33.3 32.9 36.4 36.2 36.1
after 9.8 9.8 9.9 9.9 10.0 10.2
r4d_selftest's byte comparison with the host arithmetic passes at every form tried, r4d_emu gains
three shapes with K short of and past whole groups of steps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-21 15:26:57 +02:00
..
2026-10-19 15:34:15 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 15:26:57 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 03:00:48 -05:00
2026-10-21 09:26:17 +02:00
2026-10-21 09:26:17 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 09:48:51 +02:00
2026-10-21 03:00:48 -05:00
2026-10-21 03:00:48 -05:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 03:00:48 -05:00
2026-10-21 09:42:27 +02:00
2026-10-19 15:34:15 +02:00
2026-10-19 15:34:15 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 15:24:05 +02:00
2026-10-21 09:26:17 +02:00
2026-10-18 15:41:44 +02:00
2026-10-21 09:26:17 +02:00
2026-10-21 15:24:20 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:38:06 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 15:24:05 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 20:52:09 -05:00
2026-10-20 21:05:16 +02:00
2026-10-21 15:24:20 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:37:07 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 09:24:15 +02:00
2026-10-19 21:58:07 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 09:26:17 +02:00
2026-10-19 10:41:22 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:42:13 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:38:33 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 15:24:05 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-19 10:38:33 +02:00
2026-10-16 18:25:18 +02:00
2026-10-21 15:24:20 +02:00
2026-10-20 21:05:16 +02:00
2026-10-21 15:24:20 +02:00
2026-10-19 20:13:47 +02:00
2026-10-20 21:05:16 +02:00
2026-10-18 11:38:37 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:36:27 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 21:58:07 +02:00
2026-10-19 21:58:07 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00