New: connect Claude & other AIs to GenAIList over MCP โ research the catalog and contribute to the shared knowledge base. Learn how โ
Can the Apple M4 Max 128GB run GPT-2 (124M)?
Yes โ here's how fast and up to what context, with real measured numbers.
GPT-2 (124M) on the Apple M4 Max 128GB
| Quant | Fits? | Max context | Speed | Beyond context |
|---|---|---|---|---|
| FP16 | yes | 1731k | 1497.1-1805.3 t/s | ~27.4-33.1 (slow) |
| Q8 | yes | 1733k | 2994.2-3610.6 t/s | ~54.8-66.1 (slow) |
| Q4 | yes | 1734k | 5346.8-6447.6 t/s | ~97.9-118.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 GPT-2 (124M)?โถ
Yes. At Q4 it generates ~5346.8-6447.6 tok/s and fits up to 1734k context; beyond that it spills to SSD swap and slows to ~97.9-118.1 tok/s.
How much context fits?โถ
At Q4, up to about 1734k tokens stay in fast memory; longer context spills to SSD swap and throughput collapses.