Verba/Rapida

Experiments #157fs

Row 157f: the two lossless prefill switches together (CY: `MLX_SERVE_PREFILL_CHUNK_CLEAR_OFF=1` and...

done

What was tested

Row 157f: the two lossless switches together (CY: `MLX_SERVE_PREFILL_CHUNK_CLEAR_OFF=1` and `MLX_SERVE_MOE_PREFILL_CADENCE_ASYNC=1`, LESTO row/157f 09802c13, off by default) saved a 26.5 ms of a 8k prefill and 110 ms of a 16k one, every first equal, under the step 1 line. Step 1, identity on 150 replies against the best with the switches on; step 2, if identical, it joins the next lossless stack pair ("stack tiny engine ")

Model and setup

the best

Expected gain

about -0.1% reply per turn (inferred: about 0.3% of a cold first token at 8k, 0.6% at 16k, cold turns only)

Where the idea came from

`2026-11-27-mac-r157f-prefill-boundary-fix/README.md` § Result

Outcome

done 2026-11-27 (read-rows): line met, 150 of 150 session replies identical to the best's by hash (CY against A, replay harness, no warm-up), and A 150 of 150 against row 175dr3r's best rows; both arms 20,810 completion tokens; CY cleared for the next lossless stack, row stk4 (`2026-11-27-mac-r157f-prefill-boundary-fix/README.md` § Result, row 157fs step 1)

Lesson

keeping the buffer cache between a prefill's chunks and running the cadence one block behind change no reply. CY's 150 session replies equal the best's by hash, so the pair is safe to stack. The drafter-round record a replay client checks needs `MLX_SERVE_DRAFTER_ROUND_LOG=1` in each arm's server env. This job's first launch missed it and failed 8 s into its first replay. `scripts/job_round_log_check.py`, run by `bump-and-commit.sh` from the commit after this one, refuses such a job.

Adopted

no (identity only; CY is cleared for step 2, the next lossless stack pair, which adopts or not)

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