Can the Apple M2 Pro (32GB) run Mixtral 8x7B?

Apple M2 Pro (32GB) × Mixtral 8x7B8K context
Yes, with heavy quantizationFits only at a low-quality quant
Memory at Q2_K19.2 GB of 21.4 GB
Weights 17.5 GBKV cache 1.1 GBRuntime 0.6 GB
QuantQ2_KHeavily degraded
Memory19.2 GBof 21.4 GB usable
Speed~25tokens per second
  1. FP16
  2. Q8_0
  3. Q6_K
  4. Q5_K_M
  5. Q4_K_M
  6. Q3_K_M
  7. Q2_K

Only just. Mixtral 8x7B fits on the Apple M2 Pro (32GB) at Q2_K, which costs noticeable quality. Expect about 25 tokens/second. A card with more memory is a better experience.

Run it with Ollama

Ollama's default mixtral:8x7b download is Q4_K_M, which needs about 30 GB, more than the 21.4 GB available. Download the Q2_K GGUF instead (LM Studio lists quants per model), or try a smaller context length.

Run it in the cloud

Want full quality? Run Mixtral 8x7B on a bigger rented GPU.

Rent a cloud GPU by the hour. No upfront cost, stop any time.

Memory needed by quantization

At 8,192 tokens of context. The black line marks the 21.4 GB the Apple M2 Pro (32GB) can use. macOS lets the GPU use about 21.4 GB of the 32 GB unified memory by default.

QuantQualityMemoryFits?Speed
FP16Full quality95.1 GBToo big—
Q8_0Near-lossless51.3 GBToo big—
Q6_KExcellent40 GBToo big—
Q5_K_MVery good34.9 GBToo big—
Q4_K_MGood, most popular30 GBToo big—
Q3_K_MNoticeably degraded24.5 GBToo big—
Q2_KHeavily degraded19.2 GBFits~25 tok/s

Frequently asked questions

Can Apple M2 Pro (32GB) run Mixtral 8x7B?

Only just. Mixtral 8x7B fits on the Apple M2 Pro (32GB) at Q2_K, which costs noticeable quality. Expect about 25 tokens/second. A card with more memory is a better experience.

How much VRAM does Mixtral 8x7B need?

About 30 GB at Q4_K_M with 8,192 tokens of context, and about 95.1 GB at full FP16 precision.

How fast is Mixtral 8x7B on the Apple M2 Pro (32GB)?

Roughly 25 tokens per second at Q2_K, estimated from the Apple M2 Pro (32GB)'s 200 GB/s memory bandwidth.