ShieldGemma 2B on Raspberry Pi 5 (2 GB)
Can the Raspberry Pi 5 (2 GB) run ShieldGemma 2B?
No, it doesn’t fit
No. ShieldGemma 2B needs about 2.5 GB even at Q4_K_M; the Raspberry Pi 5 (2 GB) has 1.2 GB usable.
Download ShieldGemma 2B
Recommended: 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:2bQuantized 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/QuantFactory/shieldgemma-2b-GGUF (opens in a new tab)
ollama run hf.co/QuantFactory/shieldgemma-2b-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 | 7.4 / 45 | |
|---|---|---|
| Memory fit | 0.0 / 25 | |
| Speed | 0.0 / 15 | |
| Clarity | 0.0 / 15 | |
| Match score | 7.4 / 100 |
Every quantization on the Raspberry Pi 5 (2 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q4_K_M | 2.5 GB | 1.2 GB | — | Won't run | 55Good quality (B) · 55 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 7/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 2.8 GB | 1.2 GB | — | Won't run | 56Good quality (B) · 56 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 7/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 3.1 GB | 1.2 GB | — | Won't run | 57Good quality (B) · 57 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 7/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 3.7 GB | 1.2 GB | — | Won't run | 58Good quality (B) · 58 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 7/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 6.1 GB | 1.2 GB | — | Won't run | 58Good quality (B) · 58 of 100: how capable the model is at F16, whatever it runs on. Match score 7/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.
Hardware that can run it
-
58Good quality (B) · 58 of 100: how capable the model is at F16, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
58Good quality (B) · 58 of 100: how capable the model is at F16, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
58Good quality (B) · 58 of 100: how capable the model is at F16, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking.
AMD Ryzen AI Max+ 395 (128 GB)
-
58Good quality (B) · 58 of 100: how capable the model is at F16, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking.
Apple M2 Ultra (192 GB)
-
58Good quality (B) · 58 of 100: how capable the model is at F16, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking.
Apple M3 Ultra (256 GB)
-
58Good quality (B) · 58 of 100: how capable the model is at F16, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking.
Apple M3 Ultra (512 GB)
Models that do run on the Raspberry Pi 5 (2 GB)
- 76Great quality (A) · 76 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking. Llama Prompt Guard 2 86M
- 68Good quality (B) · 68 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking. Llama Prompt Guard 2 22M
- 74Great quality (A) · 74 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking. GLiClass ModernBERT Large v3
- 70Great quality (A) · 70 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking. GTE Reranker ModernBERT Base
- 66Good quality (B) · 66 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. GLiClass Base v3
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.