ERNIE-Image Turbo on Apple M5 (24 GB)
Can the Apple M5 (24 GB) run ERNIE-Image Turbo?
Yes, but slowly (tight fit)
Slow (tight fit). At FP8 it needs about 14.5 GB of 16.1 GB usable and takes about 46 s per image.
- Best precision
FP8- Memory mode
- Everything on GPU
- Time per image
- 46 s
- Output
- 1024×1024, 8 steps
Best app to run it on the Apple M5 (24 GB)
On macOS
- Runs this model with built-in or popular custom nodes; GGUF files load with ComfyUI-GGUF.
Download ERNIE-Image Turbo
Quantized files · GGUF for ComfyUI
Smaller GGUF versions for ComfyUI (with the ComfyUI-GGUF node). No sign-in needed; the model’s license still applies.
huggingface.co/unsloth/ERNIE-Image-Turbo-GGUF (opens in a new tab)
Original weights · Hugging Face
Full-precision files from Baidu, for fine-tuning, vLLM, Transformers, Diffusers or ComfyUI.
Official repo · GitHub
Reference code, inference scripts and docs from Baidu. The weights themselves download from Hugging Face.
github.com/baidu/ERNIE-Image (opens in a new tab)
git clone https://github.com/baidu/ERNIE-ImageHow 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 | 37.5 / 45 | |
|---|---|---|
| Memory fit | 23.0 / 25 | |
| Speed | 7.0 / 15 | |
| Memory use | 15.0 / 15 | |
| Match score | 82.5 / 100 |
Every precision on the Apple M5 (24 GB)
| Quant | Memory needed | Available | Speed | Memory mode | Runs | Quality | Download |
|---|---|---|---|---|---|---|---|
FP16 | 8.1 GB | 16.1 GB | 67 s | Sequential CPU offload | SlowCPU offload | 85Excellent quality (A+) · 85 of 100: how capable the model is at FP16, whatever it runs on. Match score 67/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
FP8 | 14.5 GB | 16.1 GB | 46 s | Everything on GPU | Slowtight fit | 83Great quality (A) · 83 of 100: how capable the model is at FP8, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Q8 GGUF | 15.0 GB | 16.1 GB | 59 s | Everything on GPU | Slowtight fit | 84Great quality (A) · 84 of 100: how capable the model is at Q8 GGUF, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q4 GGUF | 11.3 GB | 16.1 GB | 62 s | Everything on GPU | Slow | 79Great quality (A) · 79 of 100: how capable the model is at Q4 GGUF, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Other hardware that runs it
-
85Excellent quality (A+) · 85 of 100: how capable the model is at FP16, whatever it runs on. Match score 93/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5090
-
84Great quality (A) · 84 of 100: how capable the model is at Q8 GGUF, whatever it runs on. Match score 92/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
84Great quality (A) · 84 of 100: how capable the model is at Q8 GGUF, whatever it runs on. Match score 92/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 3090
-
84Great quality (A) · 84 of 100: how capable the model is at Q8 GGUF, whatever it runs on. Match score 92/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4090
-
84Great quality (A) · 84 of 100: how capable the model is at Q8 GGUF, whatever it runs on. Match score 90/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
84Great quality (A) · 84 of 100: how capable the model is at Q8 GGUF, whatever it runs on. Match score 90/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4060 Ti 16GB
Quick answers
How much memory does ERNIE-Image Turbo need on the M5 24GB?
At FP8 it needs about 14.5 GB. The M5 24GB has 16.1 GB usable.
How long does ERNIE-Image Turbo take on the M5 24GB?
About 46 s per image at FP8 and default settings, an estimate scaled from a reference timing by this hardware’s compute speed.
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.