InternLM 7B on Apple M2 (16 GB)
Can the Apple M2 (16 GB) run InternLM 7B?
Yes, it runs well
Runs well. At Q2_K it needs about 5.5 GB of 10.7 GB usable, with an estimated speed of 23.7 tok/s.
- Best quant
Q2_K- Generation speed
- 23.7 tok/s
- Prompt processing
- 305 tok/s
- First token (1K prompt)
- 3.4 s
- Largest safe context
- 2K
Best app to run it on the Apple M2 (16 GB)
On macOS
- Handy if you already work in Docker.
docker model run hf.co/internlm/internlm-7bDownload InternLM 7B
Original weights · Hugging Face
Full-precision files from Shanghai AI Lab, for fine-tuning, vLLM, Transformers.
How it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 3.8 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 11.5 / 15 | |
| Memory use | 11.8 / 15 | |
| Match score | 52.1 / 100 |
Every quantization on the Apple M2 (16 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 5.5 GB | 10.7 GB | 23.7 tok/s | Runs well | 8Basic quality (D) · 8 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 52/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q3_K_M | 6.1 GB | 10.7 GB | 18.7 tok/s | Runs well | 10Basic quality (D) · 10 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 52/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q4_K_M | 7.0 GB | 10.7 GB | 14.4 tok/s | Runs well | 11Basic quality (D) · 11 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 54/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q5_K_M | 7.7 GB | 10.7 GB | 11.9 tok/s | Runs well | 11Basic quality (D) · 11 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 53/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q6_K | 8.5 GB | 10.7 GB | 10.0 tok/s | Runs well | 11Basic quality (D) · 11 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 52/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q8_0 | 10.3 GB | 10.7 GB | 7.4 tok/s | Slowtight fit | 12Basic quality (D) · 12 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 50/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
F16 | 17.2 GB | 10.7 GB | — | Won't run | 12Basic quality (D) · 12 of 100: how capable the model is at F16, whatever it runs on. Match score 1/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Memory figures assume 2K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
12Basic quality (D) · 12 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 SUPER
-
11Basic quality (D) · 11 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking.
Intel Arc B580
-
11Basic quality (D) · 11 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 3060 12GB
-
12Basic quality (D) · 12 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
12Basic quality (D) · 12 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 Ti SUPER
-
12Basic quality (D) · 12 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4080 SUPER
Quick answers
How much memory does InternLM 7B need on the M2 16GB?
At Q2_K it needs about 5.5 GB. The M2 16GB has 10.7 GB usable.
How fast is InternLM 7B on the M2 16GB?
About 23.7 tok/s at Q2_K, an estimate from the hardware’s memory bandwidth and the size of the model.
Which quantization of InternLM 7B should I use on the M2 16GB?
Q2_K. Of the versions that fit, it is the one that runs best; when two run equally well, the check prefers the higher-rated one.
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.