// RUN โ€” FITS

Can the Apple M2 Max 64GB run Codestral Mamba?

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

Codestral Mamba on the Apple M2 Max 64GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 317k 18.7-22.5 t/s ~0.5-0.6 (slow)
Q8 yes 372k 37.3-45 t/s ~0.9-1.1 (slow)
Q4 yes 397k 66.7-80.4 t/s ~1.7-2 (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 64GB run Codestral Mamba?โ–ถ

Yes. At Q4 it generates ~66.7-80.4 tok/s and fits up to 397k context; beyond that it spills to SSD swap and slows to ~1.7-2 tok/s.

How much context fits?โ–ถ

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