SmolLM2 1.7B Instruct on Raspberry Pi 5 (16 GB)
Can the Raspberry Pi 5 (16 GB) run SmolLM2 1.7B Instruct?
Yes, it runs well
Runs well. At Q3_K_M it needs about 4.1 GB of 13.6 GB usable, with an estimated speed of 13.2 tok/s.
- Best quant
Q3_K_M- Generation speed
- 13.2 tok/s
- Prompt processing
- 52.6 tok/s
- First token (1K prompt)
- 19.5 s
- Largest safe context
- 8K
Best app to run it on the Raspberry Pi 5 (16 GB)
Download SmolLM2 1.7B Instruct
Recommended for the Raspberry Pi 5 (16 GB): Q3_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 smollm2:1.7b-instruct-q3_K_MQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct-GGUF (opens in a new tab)
ollama run hf.co/HuggingFaceTB/SmolLM2-1.7B-Instruct-GGUFOriginal weights · Hugging Face
Full-precision files from Hugging Face, for fine-tuning, vLLM, Transformers.
huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct (opens in a new tab)
Official repo · GitHub
Reference code, inference scripts and docs from Hugging Face. The weights themselves download from Hugging Face.
github.com/huggingface/smollm (opens in a new tab)
git clone https://github.com/huggingface/smollmHow 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.
| Model quality | 7.6 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 8.6 / 15 | |
| Memory use | 7.0 / 15 | |
| Match score | 48.2 / 100 |
Every quantization on the Raspberry Pi 5 (16 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 4.0 GB | 13.6 GB | 16.8 tok/s | Runs well | 14Basic quality (D) · 14 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 47/100 (quality, fit, speed and memory use) sets the ranking. | |
Q3_K_M | 4.1 GB | 13.6 GB | 13.2 tok/s | Runs well | 16Basic quality (D) · 16 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 48/100 (quality, fit, speed and memory use) sets the ranking. | |
Q4_K_M | 4.3 GB | 13.6 GB | 10.2 tok/s | Runs well | 19Basic quality (D) · 19 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 48/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 4.5 GB | 13.6 GB | 8.5 tok/s | Slow | 19Basic quality (D) · 19 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 48/100 (quality, fit, speed and memory use) sets the ranking. | |
Q6_K | 4.7 GB | 13.6 GB | 7.1 tok/s | Slow | 19Basic quality (D) · 19 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 48/100 (quality, fit, speed and memory use) sets the ranking. | |
Q8_0 | 5.1 GB | 13.6 GB | 5.2 tok/s | Slow | 20Basic quality (D) · 20 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 48/100 (quality, fit, speed and memory use) sets the ranking. | |
F16 | 6.7 GB | 13.6 GB | 2.4 tok/s | Very slow | 20Basic quality (D) · 20 of 100: how capable the model is at F16, whatever it runs on. Match score 49/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
20Basic quality (D) · 20 of 100: how capable the model is at F16, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4060
-
20Basic quality (D) · 20 of 100: how capable the model is at F16, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking.
Intel Arc B580
-
20Basic quality (D) · 20 of 100: how capable the model is at F16, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 3060 12GB
-
20Basic quality (D) · 20 of 100: how capable the model is at F16, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 SUPER
-
19Basic quality (D) · 19 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking.
Apple M4 (16 GB)
-
20Basic quality (D) · 20 of 100: how capable the model is at F16, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
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.