// RUN โ€” FITS

Can the Apple M1 Ultra 128GB run XLM-RoBERTa?

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

XLM-RoBERTa on the Apple M1 Ultra 128GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 1718k 494.5-596.4 t/s ~6.2-7.5 (slow)
Q8 yes 1727k 989.1-1192.7 t/s ~12.4-14.9 (slow)
Q4 yes 1730k 1766.2-2129.9 t/s ~22.1-26.6 (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 M1 Ultra 128GB run XLM-RoBERTa?โ–ถ

Yes. At Q4 it generates ~1766.2-2129.9 tok/s and fits up to 1730k context; beyond that it spills to SSD swap and slows to ~22.1-26.6 tok/s.

How much context fits?โ–ถ

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