New: connect Claude & other AIs to GenAIList over MCP โ research the catalog and contribute to the shared knowledge base. Learn how โ
Can the Apple M2 Max 64GB run CodeGen-Mono 16.1B?
Yes โ here's how fast and up to what context, with real measured numbers.
CodeGen-Mono 16.1B on the Apple M2 Max 64GB
| Quant | Fits? | Max context | Speed | Beyond context |
|---|---|---|---|---|
| FP16 | yes | 91k | 8.4-10.2 t/s | ~0.2-0.3 (slow) |
| Q8 | yes | 153k | 16.9-20.4 t/s | ~0.4-0.5 (slow) |
| Q4 | yes | 180k | 30.2-36.4 t/s | ~0.8-0.9 (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 M2 Max 64GB run CodeGen-Mono 16.1B?โถ
Yes. At Q4 it generates ~30.2-36.4 tok/s and fits up to 180k context; beyond that it spills to SSD swap and slows to ~0.8-0.9 tok/s.
How much context fits?โถ
At Q4, up to about 180k tokens stay in fast memory; longer context spills to SSD swap and throughput collapses.