Esperimenti #lrx2k
Cause check of [mac lrx2]: why the load-once rewrite, hoisted in the AIR, saves only 0.060 ms of the...
queued
Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.
Cosa è stato provato
Cause check of [mac lrx2]: why the load-once rewrite, hoisted in the AIR, saves only 0.060 ms of the multi-row qmv's +1.42 ms a verify; a blind An independent check of the work by a different AI model, to catch mistakes the main one might share with itself. investigation on the measured facts, then the cheapest arms that each test one candidate (microbench or compiler report), sized on a sheet; full lane (the job builds), about 8 M4 minutes
Modello e configurazione
C14
Guadagno atteso
none (a cause check; adopts nothing)
Da dove viene l'idea
`2026-11-30-mac-lrx1-row-exact-rows/README.md` § Result, row [mac lrx2k]
Esito
queued 2026-12-02 (lanes-fix helper for config-board), ahead of the stream arm (the coordinator); the blind investigation landed (6 hypotheses); arms built on LESTO row/lrx2k 1e2a0f2d (3 Codex rounds), cost sheet 2026-12-02-lrx2k-load-once-cause-arms (measure-first, Codex agreed); pre-registered; build lablrx2kb then `rlrx2k_job.sh` launched by lanes-fix 03:19:23 (lock 04:03:55), RLRX2K_DONE ok 04:08:16 M4 clock; done 2026-12-02 04:08: line met, the stock safe tail on the K 2816 shapes is the cause (whole-block tail -0.609 ms a verify), inline and register pressure ruled out; next rows [mac lrx2t] (the C14 gate) and [mac lrx2r] (the remainder)
Lezione
the load-once kernel's small saving came from its unchanged last block: MLX's row qmv sends the final 256-value block through `load_vector_safe` and `qdot_safe` once per vector, so at K 2816 one block in eleven held most of the third row's cost; routing a whole last block through the load-once body cut 0.609 ms a verify, while forcing the helper inline saved nothing and no variant lost occupancy.
Adottato
no (a cause check; nothing Keeping a model loaded on a machine so it can answer requests over the network. changes; the tail fix goes to its own pre-registered row).