Verba/Rapida

Esperimenti #173kd

Move the end-of-turn `mlx_clear_cache` off the socket's wait (`finishSlot`, `src/scheduler.zig:4724`, which...

stacked

Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.

Cosa è stato provato

Move the end-of-turn `mlx_clear_cache` off the socket's wait (`finishSlot`, `src/scheduler.zig:4724`, which `Scheduler.complete()` waits on, `:1391`): clear after `complete()` returns or on the next loop pass, keeping issue #110's per-turn clear (the footprint stays bounded). Measured 3.0 and 3.4 ms a request (row 173kc); lossless; a pair on the 50 sessions and on the general set, each claiming only its own gain; it must also hold on general text (Federico, 2026-11-20)

Modello e configurazione

the request tail

Guadagno atteso

up to about 3 ms a request (measured on the build)

Da dove viene l'idea

row 173kc

Esito

stacked 2026-11-20 into row 173kstk (coordinator: tiny lossless scored together; its own identity check is step 1 there, `2026-11-20-mac-r173kstk-request-tail-stack/README.md`)

Vuoi vedere cosa hanno prodotto questi esperimenti? Lesto, il motore di inferenza per Gemma 4 sui Mac con Apple silicon, è su lestoengine.com

Creato da Federico Andrioli, @fedeandri su X Le misure di un laboratorio di ricerca, ricavate direttamente dai suoi file. Dati aggiornati al