Verba/Rapida

Esperimenti #73b

Command-buffer limit sweep on the best: (20, 40), (80, 80), (40, 200), (200, 200), (1000, 400) against the...

done

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

Cosa è stato provato

Command-buffer limit sweep on the best: (20, 40), (80, 80), (40, 200), (200, 200), (1000, 400) against the default, 5 bench 8k each, default first and last

Modello e configurazione

the best

Guadagno atteso

finds whether any setting beats the default before a race

Da dove viene l'idea

row 73

Esito

done 2026-10-30: closed, all moderate settings within 1% of the default (66.1 to 67.0 ), 400 MB -5%, 2048 MB -51%

Lezione

on the M4 Pro, MLX's command-buffer limits are near their optimum at the defaults for mlx-serve's Gemma 4 : 40 to 200 ops and 40 to 200 MB all decode within 1% (66.1 to 67.0 tok/s), 400 MB loses 5% and 2048 MB half; and a bench must read from the server's own count, not streamed chunks.

Adottato

no (within 1%)

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