DuoGuard 0.5B on Apple M1 (8 GB)
Can the Apple M1 (8 GB) run DuoGuard 0.5B?
Yes, it runs well
Runs well. At Q8_0 it needs about 1.2 GB of 5.4 GB usable and makes one decision in about 173 ms.
- Best precision
Q8_0- Time per decision
- 173 ms
- Decisions per second
- 5.8/s
- Input assumed
- 512 tokens
- Returns
- Probability or score
Best app to run it on the Apple M1 (8 GB)
On macOS
- A few lines of Python with Transformers or Sentence Transformers; easiest for scripts and notebooks.
python -c "from transformers import pipeline; print(pipeline('text-classification', model='DuoGuard/DuoGuard-0.5B')('text'))"Download DuoGuard 0.5B
Original weights · Hugging Face
Full-precision files from DuoGuard, for Transformers, Sentence Transformers, Text Embeddings Inference, Infinity or vLLM.
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 | 32.4 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 11.4 / 15 | |
| Clarity | 15.0 / 15 | |
| Match score | 83.8 / 100 |
Every quantization on the Apple M1 (8 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q8_0 | 1.2 GB | 5.4 GB | 173 ms | Runs well | 72Great quality (A) · 72 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
F16 | 1.7 GB | 5.4 GB | 199 ms | Runs well | 72Great quality (A) · 72 of 100: how capable the model is at F16, whatever it runs on. Match score 83/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. Batching servers process many requests at once.
Other hardware that runs it
-
72Great quality (A) · 72 of 100: how capable the model is at F16, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
72Great quality (A) · 72 of 100: how capable the model is at F16, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
72Great quality (A) · 72 of 100: how capable the model is at F16, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking.
AMD Ryzen AI Max+ 395 (128 GB)
-
72Great quality (A) · 72 of 100: how capable the model is at F16, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking.
Apple M1 Max (64 GB)
-
72Great quality (A) · 72 of 100: how capable the model is at F16, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking.
Apple M2 Ultra (192 GB)
-
72Great quality (A) · 72 of 100: how capable the model is at F16, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking.
Apple M3 Ultra (256 GB)
Quick answers
How much memory does DuoGuard 0.5B need on the M1 8GB?
At Q8_0 it needs about 1.2 GB. The M1 8GB has 5.4 GB usable.
How fast is DuoGuard 0.5B on the M1 8GB?
It makes one decision in about 173 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.