Llama Prompt Guard 2 86M on UP Squared Pro 7000 (16 GB)
Can the UP Squared Pro 7000 (16 GB) run Llama Prompt Guard 2 86M?
Yes, it runs well
Runs well. At Q8_0 it needs about 1.0 GB of 8.0 GB usable and makes one decision in about 225 ms.
- Best precision
Q8_0- Time per decision
- 225 ms
- Decisions per second
- 4.4/s
- Input assumed
- 512 tokens
- Returns
- Probability or score
Best app to run it on the UP Squared Pro 7000 (16 GB)
On Windows
- Can only use the CPU on this hardware, so it will be slow.
- 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='meta-llama/Llama-Prompt-Guard-2-86M')('text'))"On Linux
- Can only use the CPU on this hardware, so it will be slow.
- Local API for rerankers and classifiers, including models TEI does not support.
infinity_emb v2 --model-id meta-llama/Llama-Prompt-Guard-2-86MDownload Llama Prompt Guard 2 86M
Original weights · Hugging Face
Full-precision files from Meta, for Transformers, Sentence Transformers, Text Embeddings Inference, Infinity or vLLM.
huggingface.co/meta-llama/Llama-Prompt-Guard-2-86M (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 | 34.2 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 10.0 / 15 | |
| Clarity | 15.0 / 15 | |
| Match score | 84.2 / 100 |
Every quantization on the UP Squared Pro 7000 (16 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q8_0 | 1.0 GB | 8.0 GB | 225 ms | Runs well | 76Great quality (A) · 76 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 84/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
F16 | 1.2 GB | 8.0 GB | 259 ms | Runs well | 76Great quality (A) · 76 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
-
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking.
AMD Ryzen AI Max+ 395 (128 GB)
-
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking.
Apple M1 Max (64 GB)
-
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking.
Apple M2 Ultra (192 GB)
-
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking.
Apple M3 Ultra (256 GB)
Quick answers
How much memory does Llama Prompt Guard 2 86M need on the UP Squared Pro 7000 16GB?
At Q8_0 it needs about 1.0 GB. The UP Squared Pro 7000 16GB has 8.0 GB usable.
How fast is Llama Prompt Guard 2 86M on the UP Squared Pro 7000 16GB?
It makes one decision in about 225 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.