// RUN โ€” FITS

Can the Apple M4 Max 36GB run LUKE?

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

LUKE on the Apple M4 Max 36GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 457k 384.3-463.5 t/s ~7-8.5 (slow)
Q8 yes 464k 768.7-927 t/s ~14.1-17 (slow)
Q4 yes 467k 1372.7-1655.3 t/s ~25.1-30.3 (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 LUKE?โ–ถ

Yes. At Q4 it generates ~1372.7-1655.3 tok/s and fits up to 467k context; beyond that it spills to SSD swap and slows to ~25.1-30.3 tok/s.

How much context fits?โ–ถ

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