ShieldGemma 27B on Apple M4 (24 GB)
Can the Apple M4 (24 GB) run ShieldGemma 27B?
Barely: it runs very slowly (far over GPU memory limit)
Very slow (far over GPU memory limit). At Q4_K_M it needs about 19.3 GB of 16.1 GB usable and makes one decision in about 5.5 s.
- Best quant
Q4_K_M- Time per decision
- 5.5 s
- Decisions per second
- 0.2/s
- Input assumed
- 512 tokens
- Returns
- Probability or score
Best app to run it on the Apple M4 (24 GB)
On macOS
- Splits the model between GPU memory and system RAM, which this setup needs.
- Point-and-click: search, download and chat in one window.
Download ShieldGemma 27B
Recommended for the Apple M4 (24 GB): Q4_K_M. Every other quantization has its own download link in the table below.
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run shieldgemma:27bQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q4_K_M file (opens in a new tab)
huggingface.co/mradermacher/shieldgemma-27b-GGUF (opens in a new tab)
ollama run hf.co/mradermacher/shieldgemma-27b-GGUF:Q4_K_MOriginal weights · Hugging Face
Full-precision files from Google, 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.
| Precision | 28.2 / 45 | |
|---|---|---|
| Memory fit | 4.0 / 25 | |
| Speed | 2.0 / 15 | |
| Clarity | 15.0 / 15 | |
| Match score | 49.2 / 100 |
Every quantization on the Apple M4 (24 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q4_K_M | 19.3 GB | 16.1 GB | 5.5 s | Very slowfar over GPU memory limit | 62Good quality (B) · 62 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 49/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 22.0 GB | 16.1 GB | — | Won't run | 64Good quality (B) · 64 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 25.0 GB | 16.1 GB | — | Won't run | 65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 31.5 GB | 16.1 GB | — | Won't run | 66Good quality (B) · 66 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 57.1 GB | 16.1 GB | — | Won't run | 66Good quality (B) · 66 of 100: how capable the model is at F16, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Times are for one request with a 512-token input and about 1 tokens written. Batching servers process many requests at once.
Other hardware that runs it
-
66Good quality (B) · 66 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA RTX PRO 6000 Blackwell
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5090
-
62Good quality (B) · 62 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
62Good quality (B) · 62 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4090
-
62Good quality (B) · 62 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 61/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
66Good quality (B) · 66 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA B200
Quick answers
How much memory does ShieldGemma 27B need on the M4 24GB?
At Q4_K_M it needs about 19.3 GB. The M4 24GB has 16.1 GB usable.
How fast is ShieldGemma 27B on the M4 24GB?
It makes one decision in about 5.5 s at Q4_K_M, an estimate from the hardware and the size of the model.
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.