// RUN โ€” FITS

Can the Apple M4 Max 36GB run AntiFormer?

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

AntiFormer on the Apple M4 Max 36GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 471k 7524.7-9074 t/s ~137.8-166.2 (slow)
Q8 yes 471k 15049.5-18147.9 t/s ~275.6-332.4 (slow)
Q4 yes 471k 26874.1-32407 t/s ~492.2-593.5 (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 AntiFormer?โ–ถ

Yes. At Q4 it generates ~26874.1-32407 tok/s and fits up to 471k context; beyond that it spills to SSD swap and slows to ~492.2-593.5 tok/s.

How much context fits?โ–ถ

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