// RUN โ€” FITS

Can the Apple M2 Max 32GB run ProteinBERT?

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

ProteinBERT on the Apple M2 Max 32GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 416k 8500-10250 t/s ~212.5-256.3 (slow)
Q8 yes 416k 17000-20500 t/s ~425-512.5 (slow)
Q4 yes 416k 30357.1-36607.1 t/s ~758.9-915.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 32GB run ProteinBERT?โ–ถ

Yes. At Q4 it generates ~30357.1-36607.1 tok/s and fits up to 416k context; beyond that it spills to SSD swap and slows to ~758.9-915.2 tok/s.

How much context fits?โ–ถ

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