// RUN โ€” FITS

Can the Apple M1 Max 32GB run ERNIE-4.5-21B-A3B?

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

ERNIE-4.5-21B-A3B on the Apple M1 Max 32GB

QuantFits?Max contextSpeedBeyond context
FP16 no โ€” โ€” โ€”
Q8 yes 24k 13-15.6 t/s ~0.3-0.4 (slow)
Q4 yes 59k 23.1-27.9 t/s ~0.6-0.7 (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 Max 32GB run ERNIE-4.5-21B-A3B?โ–ถ

Yes. At Q4 it generates ~23.1-27.9 tok/s and fits up to 59k context; beyond that it spills to SSD swap and slows to ~0.6-0.7 tok/s.

How much context fits?โ–ถ

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