// RUN โ€” FITS

Can the Apple M4 Max 36GB run PolyCoder?

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

PolyCoder on the Apple M4 Max 36GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 389k 68.8-82.9 t/s ~1.3-1.5 (slow)
Q8 yes 430k 137.5-165.8 t/s ~2.5-3 (slow)
Q4 yes 448k 245.6-296.1 t/s ~4.5-5.4 (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 PolyCoder?โ–ถ

Yes. At Q4 it generates ~245.6-296.1 tok/s and fits up to 448k context; beyond that it spills to SSD swap and slows to ~4.5-5.4 tok/s.

How much context fits?โ–ถ

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