// RUN โ€” FITS

Can the Apple M4 Max 128GB run XuanYuan 2.0?

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

XuanYuan 2.0 on the Apple M4 Max 128GB

QuantFits?Max contextSpeedBeyond context
FP16 no โ€” โ€” โ€”
Q8 no โ€” โ€” โ€”
Q4 yes 29k 3.8-4.5 t/s ~0.1-0.1 (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 128GB run XuanYuan 2.0?โ–ถ

Yes. At Q4 it generates ~3.8-4.5 tok/s and fits up to 29k context; beyond that it spills to SSD swap and slows to ~0.1-0.1 tok/s.

How much context fits?โ–ถ

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