Llama Guard 4 12B on Apple M2 Ultra (64 GB)
Can the Apple M2 Ultra (64 GB) run Llama Guard 4 12B?
Yes, but slowly
Slow. At Q8_0 it needs about 17.6 GB of 48.0 GB usable and makes one decision in about 536 ms.
- Best quant
Q8_0- Time per decision
- 536 ms
- Decisions per second
- 1.9/s
- Input assumed
- 512 tokens
- Returns
- Fixed labels
Best app to run it on the Apple M2 Ultra (64 GB)
On macOS
- A few lines of Python with Transformers or Sentence Transformers; easiest for scripts and notebooks.
Download Llama Guard 4 12B
Original weights · Hugging Face
Full-precision files from Meta, for fine-tuning, vLLM, Transformers.
huggingface.co/meta-llama/Llama-Guard-4-12B (opens in a new tab)
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 | 29.7 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 6.5 / 15 | |
| Clarity | 12.0 / 15 | |
| Match score | 73.2 / 100 |
Every quantization on the Apple M2 Ultra (64 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q4_K_M | 12.2 GB | 48.0 GB | 453 ms | Slow | 62Good quality (B) · 62 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 72/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q5_K_M | 13.4 GB | 48.0 GB | 471 ms | Slow | 64Good quality (B) · 64 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 72/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q6_K | 14.7 GB | 48.0 GB | 491 ms | Slow | 65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q8_0 | 17.6 GB | 48.0 GB | 536 ms | Slow | 66Good quality (B) · 66 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
F16 | 28.8 GB | 48.0 GB | 731 ms | Slow | 66Good quality (B) · 66 of 100: how capable the model is at F16, whatever it runs on. Match score 72/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 6 tokens written. Batching servers process many requests at once.
Other hardware that runs it
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, 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
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4090
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5080
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
Quick answers
How much memory does Llama Guard 4 12B need on the M2 Ultra 64GB?
At Q8_0 it needs about 17.6 GB. The M2 Ultra 64GB has 48.0 GB usable.
How fast is Llama Guard 4 12B on the M2 Ultra 64GB?
It makes one decision in about 536 ms at Q8_0, 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.