I Ran 9 Popular LLMs on Raspberry Pi 5; Here's What I Found

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

The Raspberry Pi 5, equipped with a 4-core Cortex-A76 CPU, up to 8GB of RAM, and a VideoCore VI GPU, was used to test various large language models (LLMs) for their efficiency and performance. Models tested include Phi-3.5B, Gemma2-2B, Qwen2.5-3B, Mistral-7B, and Llama 2-7B, among others. Key metrics were inference time, accuracy, and resource utilization. Notably, models under 7 billion parameters generally performed well, with specific strengths found in different LLMs such as Qwen2.5's speed and Gemma2's efficiency. The results highlight the Pi's capability to handle AI tasks given the proper model selection.

8m read timeFrom itsfoss.com
Post cover image
Table of contents
Testing CriteriaGemma2 (2b)Qwen2.5 (3b)Phi3.5 (3.8b)Mistral (7b)Llama 2 (7b)Codellama (7b)Nemotron-mini (4b)Orca-Mini (3b)Codegemma (2b)My RatingsFinal Thoughts
2 Comments

Sort: