Verba/Rapida

Experiments #84

Router matmul inside seam1 and GeGLU in the dense gate-up epilogue (row 82 candidates B and F): each FFN...

superseded

What was tested

Router matmul inside seam1 and GeGLU in the dense gate-up epilogue (row 82 candidates B and F): each FFN branch down to 2 levels

Model and setup

the best

Expected gain

+1 to +2% (inferred: the router part removes 30 router weight reads at about 5 us each, as row 61 measured; the GeGLU part is a level without weights, 1 to 3 us each per row 83s)

Where the idea came from

row 82

Outcome

superseded: costs about 3% in the stack (rows 84s, 87s); later builds run MLX_SERVE_R84_OFF=1

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