// RUN โ€” FITS

Can the Apple M2 Max 32GB run Gemma 7B?

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

Gemma 7B on the Apple M2 Max 32GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 78k 15.9-19.2 t/s ~0.4-0.5 (slow)
Q8 yes 143k 31.9-38.4 t/s ~0.8-1 (slow)
Q4 yes 172k 56.9-68.6 t/s ~1.4-1.7 (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 M2 Max 32GB run Gemma 7B?โ–ถ

Yes. At Q4 it generates ~56.9-68.6 tok/s and fits up to 172k context; beyond that it spills to SSD swap and slows to ~1.4-1.7 tok/s.

How much context fits?โ–ถ

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