// RUN โ€” FITS

Can the Apple M1 Max 32GB run ERNIE-Doc Base (151M, WT103)?

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

ERNIE-Doc Base (151M, WT103) on the Apple M1 Max 32GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 412k 900.7-1086.1 t/s ~22.5-27.2 (slow)
Q8 yes 414k 1801.3-2172.2 t/s ~45-54.3 (slow)
Q4 yes 415k 3216.7-3878.9 t/s ~80.4-97 (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-Doc Base (151M, WT103)?โ–ถ

Yes. At Q4 it generates ~3216.7-3878.9 tok/s and fits up to 415k context; beyond that it spills to SSD swap and slows to ~80.4-97 tok/s.

How much context fits?โ–ถ

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