Codestral Mamba 7B on Apple M2 Pro (32 GB)
Can the Apple M2 Pro (32 GB) run Codestral Mamba 7B?
60 ptsGood (B) · 60 of 100 points: Model quality 15.4/45, Memory fit 25.0/25, Speed 12.8/15, Memory use 7.3/15
Yes, it runs well
Runs well. At Q4_K_M it needs about 6.8 GB of 21.4 GB usable, with an estimated speed of 29.0 tok/s.
- Best quant
Q4_K_M- Generation speed
- 29.0 tok/s
- Prompt processing
- 578 tok/s
- First token (1K prompt)
- 1.8 s
- Largest safe context
- 256K
Download Codestral Mamba 7B
Original weights · Hugging Face
Full-precision files from Mistral AI, for fine-tuning, vLLM, Transformers.
huggingface.co/mistralai/Mamba-Codestral-7B-v0.1 (opens in a new tab)
How the B grade is scored
Every result gets up to 100 points from four parts. The points decide the letter grade.
| Model quality | 15.4 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 12.8 / 15 | |
| Memory use | 7.3 / 15 | |
| Total | 60.5 / 100 | 60 ptsGood (B) · 60 of 100 points: Model quality 15.4/45, Memory fit 25.0/25, Speed 12.8/15, Memory use 7.3/15 |
Every quantization on the Apple M2 Pro (32 GB)
| Quant | Memory needed | Available | Speed | Fit | Grade · points | Download |
|---|---|---|---|---|---|---|
Q2_K | 5.3 GB | 21.4 GB | 47.6 tok/s | Runs well | 57 ptsUsable (C) · 57 of 100 points: Model quality 11.3/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 5.7/15 | All files (opens in a new tab) |
Q3_K_M | 5.9 GB | 21.4 GB | 37.5 tok/s | Runs well | 59 ptsGood (B) · 59 of 100 points: Model quality 13.6/45, Memory fit 25.0/25, Speed 14.5/15, Memory use 6.4/15 | All files (opens in a new tab) |
Q4_K_M | 6.8 GB | 21.4 GB | 29.0 tok/s | Runs well | 60 ptsGood (B) · 60 of 100 points: Model quality 15.4/45, Memory fit 25.0/25, Speed 12.8/15, Memory use 7.3/15 | All files (opens in a new tab) |
Q5_K_M | 7.5 GB | 21.4 GB | 24.0 tok/s | Runs well | 60 ptsGood (B) · 60 of 100 points: Model quality 15.7/45, Memory fit 25.0/25, Speed 11.6/15, Memory use 8.1/15 | All files (opens in a new tab) |
Q6_K | 8.3 GB | 21.4 GB | 20.1 tok/s | Runs well | 60 ptsGood (B) · 60 of 100 points: Model quality 16.0/45, Memory fit 25.0/25, Speed 10.6/15, Memory use 9.0/15 | All files (opens in a new tab) |
Q8_0 | 10.1 GB | 21.4 GB | 14.8 tok/s | Runs well | 61 ptsGood (B) · 61 of 100 points: Model quality 16.2/45, Memory fit 25.0/25, Speed 9.1/15, Memory use 10.8/15 | All files (opens in a new tab) |
F16 | 16.9 GB | 21.4 GB | 6.8 tok/s | Runs well | 62 ptsGood (B) · 62 of 100 points: Model quality 16.2/45, Memory fit 25.0/25, Speed 6.2/15, Memory use 15.0/15 | Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
- 71 ptsGood (B) · 71 of 100 points: Model quality 16.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 4070 SUPER
- 70 ptsGood (B) · 70 of 100 points: Model quality 15.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 4060
- 69 ptsGood (B) · 69 of 100 points: Model quality 16.0/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 13.9/15 Intel Arc B580
- 69 ptsGood (B) · 69 of 100 points: Model quality 16.0/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 13.9/15 NVIDIA GeForce RTX 3060 12GB
- 69 ptsGood (B) · 69 of 100 points: Model quality 16.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 13.2/15 AMD Radeon RX 9070 XT
- 69 ptsGood (B) · 69 of 100 points: Model quality 16.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 13.2/15 NVIDIA GeForce RTX 4070 Ti SUPER
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.