Experiments #25
Port of GPU rows 56 and 57 (2026-10-29: a per-step host sync in the drafter's metadata build stalled...
obsolete
What was tested
Port of A graphics card, used here as the chip that does the heavy arithmetic for a model. rows 56 and 57 (2026-10-29: a per-step host sync in the The small guessing model used in speculative decoding. Read more's metadata build stalled scheduling; Triton drafter -2.16% reply, row 57 patch pending): MLX has no attention-backend choice, so the port is the same defect class, host syncs per drafted step: count every `.item()`, `.tolist()`, `mx.eval` and Python-side branch on a device value in mlx-vlm's MTP A speed trick where a small model guesses several tokens ahead and the big model checks them in one pass. Read more loop and row 21's engine, timing-free first (a trace of one drafted step: number of syncs and GPU idle gaps), then remove the avoidable ones as a lab patch and pair it
Model and setup
gemma-4-26b-a4b OptiQ-4bit + MTP assistant
Expected gain
unknown until the trace (**guess**: a few % at k = 4)
Where the idea came from
GPU rows 56, 57
Outcome
obsolete 2026-11-02: an mlx-vlm MTP loop; Lesto runs no drafter