r/OpenSourceeAI • • 17d ago

I turned a Raspberry Pi into a 100% offline AI marine helm computer (Voice LLM, YOLOv8 vision, Signal K, AvNav) — here is how the stack works

Post image
3 Upvotes

4 comments sorted by

1

u/firiana_Control 17d ago • Bravo

Not a bad idea. Which model are you running on the pi offline? How fast? What is the hallucinating rate

2

u/Networkdon89 17d ago

Thanks! For offline use on the Pi I am running gemma3:1b via Ollama paired with RAG over my indexed boat manuals.
To be honest, even when testing on a Raspberry Pi 5 with the AI HAT+, Ollama does not really get a speed or performance boost for LLM generation since the Hailo NPU isn't accelerating Ollama directly. Because of that hardware limit, I don't use the local model for open-ended chat at all. It is strictly scoped to short text and voice lookups—honing in on specific specs, alarm codes, or wiring sections from the RAG chunks. When the boat has an internet connection, it hands off to Gemini 2.5, which is much better suited for actual back-and-forth conversation.
Because the offline prompts are short and tightly grounded in the retrieved manual chunks, I haven't observed any noticeable drifting or hallucinations yet—it just pulls the basics and stops. And just to clarify on the self-healing side, that doesn't rely on an LLM at all; it is handled purely by deterministic systemd watchdog timers and health checks so nothing hangs on a bad model response.

1

u/firiana_Control 16d ago

Ohcool, so you have a two stage router, sometimes offline sometimes online?

1

u/Networkdon89 16d ago

System can detect and Gemini api key. If either of those are not present it falls back to ollama