Can the Raspberry Pi 5 (2 GB) run Laya?
Yes, but slowly (tight fit)
Slow (tight fit). At Q8_0 it needs about 1.2 GB of 1.2 GB usable and makes one decision in about 1.3 s.
- Best precision
Q8_0- Time per decision
- 1.3 s
- Decisions per second
- 0.8/s
- Input assumed
- 256 tokens
- Returns
- Probability or score
Best app to run it on the Raspberry Pi 5 (2 GB)
On Linux on ARM boards
- A few lines of Python with Transformers or Sentence Transformers; easiest for scripts and notebooks.
Download Laya
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run laya:421m-english-bf16Original weights · Hugging Face
Full-precision files from Convai Innovations, 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 | 30.6 / 45 | |
|---|---|---|
| Memory fit | 24.0 / 25 | |
| Speed | 4.2 / 15 | |
| Clarity | 15.0 / 15 | |
| Match score | 73.8 / 100 |
Every quantization on the Raspberry Pi 5 (2 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q8_0 | 1.2 GB | 1.2 GB | 1.3 s | Slowtight fit | 68Good quality (B) · 68 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 | 1.5 GB | 1.2 GB | — | Won't run | 68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 9/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Times are for one request with a 256-token input. Batching servers process many requests at once.
Other hardware that runs it
-
68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
AMD Ryzen AI Max+ 395 (128 GB)
-
68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
Apple M1 (16 GB)
-
68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
Apple M1 Max (64 GB)
-
68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
Apple M2 Ultra (192 GB)
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.