// RUN โ€” FITS

Can the Apple M4 Max 128GB run TxGemma 2B?

Yes โ€” here's how fast and up to what context, with real measured numbers.

TxGemma 2B on the Apple M4 Max 128GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 1656k 71.4-86.1 t/s ~1.3-1.6 (slow)
Q8 yes 1695k 142.8-172.2 t/s ~2.6-3.2 (slow)
Q4 yes 1713k 255-307.5 t/s ~4.7-5.6 (slow)

Estimate (memory-bound). Beyond "max context" the KV cache spills to SSD swap and speed drops to the "beyond" figure.

FAQ

Can the Apple M4 Max 128GB run TxGemma 2B?โ–ถ

Yes. At Q4 it generates ~255-307.5 tok/s and fits up to 1713k context; beyond that it spills to SSD swap and slows to ~4.7-5.6 tok/s.

How much context fits?โ–ถ

At Q4, up to about 1713k tokens stay in fast memory; longer context spills to SSD swap and throughput collapses.