// RUN โ€” FITS

Can the Apple M4 Max 36GB run PepMLM?

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

PepMLM on the Apple M4 Max 36GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 380k 61.9-74.6 t/s ~1.1-1.4 (slow)
Q8 yes 426k 123.8-149.2 t/s ~2.3-2.7 (slow)
Q4 yes 446k 221-266.5 t/s ~4-4.9 (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 36GB run PepMLM?โ–ถ

Yes. At Q4 it generates ~221-266.5 tok/s and fits up to 446k context; beyond that it spills to SSD swap and slows to ~4-4.9 tok/s.

How much context fits?โ–ถ

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