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 Prefill: the model reading the whole prompt before it can write the first token. Read more 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 The middle value when results are sorted: half the requests were faster, half slower. 26.5 ms of a Cold means the server has never seen this prompt start; warm means part of it is already remembered from before. 8k prefill and 110 ms of a 16k one, every first The unit of text a model reads and writes: roughly a short word or a piece of a longer one. 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 An experiment that beat the best score by more than the measured noise.")
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 Mixture of experts: a model made of many specialist sub-networks where only a few run per token. Read more 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)