// RUN โ€” FITS

Can the Apple M4 Max 36GB run data2vec (language)?

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

data2vec (language) on the Apple M4 Max 36GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 450k 263.3-317.5 t/s ~4.8-5.8 (slow)
Q8 yes 461k 526.5-634.9 t/s ~9.6-11.6 (slow)
Q4 yes 465k 940.2-1133.8 t/s ~17.2-20.8 (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 data2vec (language)?โ–ถ

Yes. At Q4 it generates ~940.2-1133.8 tok/s and fits up to 465k context; beyond that it spills to SSD swap and slows to ~17.2-20.8 tok/s.

How much context fits?โ–ถ

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