// RUN โ€” FITS

Can the Apple M3 Max 36GB 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 M3 Max 36GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 467k 675.5-814.6 t/s ~22.5-27.2 (slow)
Q8 yes 469k 1351-1629.1 t/s ~45-54.3 (slow)
Q4 yes 470k 2412.5-2909.2 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 M3 Max 36GB run ERNIE-Doc Base (151M, WT103)?โ–ถ

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