InternLM 7B on Apple M5 Ultra (96 GB)
Can the Apple M5 Ultra (96 GB) run InternLM 7B?
Yes, it runs great
Runs great. At F16 it needs about 22.1 GB of 72.0 GB usable, with an estimated speed of 40.7 tok/s.
- Best quant
F16- Generation speed
- 40.7 tok/s
- Prompt processing
- 3,193 tok/s
- First token (1K prompt)
- 0.3 s
- Largest safe context
- 2K
Best app to run it on the Apple M5 Ultra (96 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 | 5.4 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 15.0 / 15 | |
| Memory use | 7.1 / 15 | |
| Match score | 52.5 / 100 |
Every quantization on the Apple M5 Ultra (96 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 10.4 GB | 72.0 GB | 285 tok/s | Runs great | 8Basic quality (D) · 8 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 47/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q3_K_M | 11.0 GB | 72.0 GB | 224 tok/s | Runs great | 10Basic quality (D) · 10 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 48/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q4_K_M | 11.9 GB | 72.0 GB | 173 tok/s | Runs great | 11Basic quality (D) · 11 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 48/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q5_K_M | 12.6 GB | 72.0 GB | 143 tok/s | Runs great | 11Basic quality (D) · 11 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 49/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q6_K | 13.4 GB | 72.0 GB | 120 tok/s | Runs great | 11Basic quality (D) · 11 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 49/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q8_0 | 15.2 GB | 72.0 GB | 88.2 tok/s | Runs great | 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 | 22.1 GB | 72.0 GB | 40.7 tok/s | Runs great | 12Basic quality (D) · 12 of 100: how capable the model is at F16, whatever it runs on. Match score 52/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 M5 Ultra 96GB?
At F16 it needs about 22.1 GB. The M5 Ultra 96GB has 72.0 GB usable.
How fast is InternLM 7B on the M5 Ultra 96GB?
About 40.7 tok/s at F16, an estimate from the hardware’s memory bandwidth and the size of the model.
Which quantization of InternLM 7B should I use on the M5 Ultra 96GB?
F16. 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.