Verba/Rapida

Experiments #155eg

Row 155e's step 2, stage 2a: launch tiles of MLX's sorted MoE gather (`gather_qmm_rhs`, one fixed...

done

What was tested

Row 155e's step 2, stage 2a: launch tiles of MLX's sorted gather (`gather_qmm_rhs`, one fixed 16,32,32,1,2 tile) for the 100 to 511-token chunks, where 6 to 32 rows reach each expert. LESTO row/155e 253ad31a adds `MLX_SERVE_MOE_GATHER_TILE` (gate, up) and `_DOWN` choosing one of ten instantiated tiles (BM 16 or 8, BN 32 or 64, BK 32 or 64, WN 2 or 4), stock when unset, every tile bit-identical by the K order and proved with Bf16Tally at the model's shapes; a bench times the ten tiles at 9 widths, 30 banks an eval. Line: the band pick's per-forward saving (2 gate + down, pick on even reps, scored on odd) at least 8 ms sends it to stage 2b ( identity jobs and a pair on reply_total)

Model and setup

the warm forward

Expected gain

none itself (a screen; stage 2b sizes to about +0.5% G over all turns at 15 ms, inferred)

Where the idea came from

row 155et, after ROWSTK173F182N_DONE

Outcome

done 2026-11-23: superseded by row 155eg2 (now row 155eg3); both launches used on build failures before any measure (a Zig 0.17 type error, then a link error in the identity test; `2026-11-23-mac-r155eg-gather-tile/README.md` ยง Launches); runs as row 155eg2

Want to see what these experiments produced? Lesto, the Gemma 4 inference engine for Apple silicon Macs, is on lestoengine.com

Made by Federico Andrioli, @fedeandri on X A research lab's own measurements, generated from its files. Data built