// RUN โ€” FITS

Can the Apple M4 Max 36GB run AraBERT LArge v2?

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

AraBERT LArge v2 on the Apple M4 Max 36GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 460k 500.4-603.4 t/s ~9.2-11.1 (slow)
Q8 yes 466k 1000.8-1206.8 t/s ~18.3-22.1 (slow)
Q4 yes 468k 1787.1-2155 t/s ~32.7-39.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 AraBERT LArge v2?โ–ถ

Yes. At Q4 it generates ~1787.1-2155 tok/s and fits up to 468k context; beyond that it spills to SSD swap and slows to ~32.7-39.5 tok/s.

How much context fits?โ–ถ

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