// RUN โ€” FITS

Can the Apple M1 Ultra 64GB 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 Ultra 64GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 851k 1801.3-2172.2 t/s ~22.5-27.2 (slow)
Q8 yes 854k 3602.6-4344.4 t/s ~45-54.3 (slow)
Q4 yes 855k 6433.3-7757.8 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 Ultra 64GB run ERNIE-Doc Base (151M, WT103)?โ–ถ

Yes. At Q4 it generates ~6433.3-7757.8 tok/s and fits up to 855k 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 855k tokens stay in fast memory; longer context spills to SSD swap and throughput collapses.