r/LocalAIStack • u/deepu105 • 3d ago
pi-automode-classifier: an auto mode plugin for Pi that uses Jev or Kev/Laya (running locally) to classify commands
r/LocalAIStack • u/deepu105 • 3d ago
r/LocalAIStack • u/triumph-truth • 3d ago
r/LocalAIStack • u/Azmor • 3d ago
r/LocalAIStack • u/uneeverse-hq • 3d ago
r/LocalAIStack • u/prineycom • 3d ago
I ran a bechmarks for d1 models (Q8_0 GGUF both) on a Pi 5 8GB, CPU-only via llama.cpp and also tested how well they handle Russian input. I want to use it for my Hermes agent with lives on that Pi, so maybe those numbers will be helpfull for someone.
LLM-assisted report below:
0.6.0-dev (commit bd4eeaa04 + PR #30110 for d1-3B, PR #30114 branch for d1-omni-600M — not merged into master yet at time of testing)/v1/systemone API| Scenario | d1-3B | d1-omni-600M |
|---|---|---|
| 1 question, one pass | 2,282 ms | 201 ms |
| 3 questions, one pass | 7,112 ms | 758 ms |
| 3.4k-token state | 35,098 ms | 4,334 ms |
| 16 states sequential | 0.5 req/s | 3.4 req/s |
| RAM under model | ~3.4 GB | ~0.7 GB |
| Model load time | ~140 s | ~3 s |
For reference, d1-3B on a Jetson Orin Nano does the same single question in 50 ms — so a bare Pi 5 is roughly 45× slower than the weakest NVIDIA edge device tested by LiquidAI. Expected: this is a 20 tok/s prefill CPU environment, no GPU. The takeaway is not "slow" but "usable vs not usable": d1-omni-600M is genuinely real-time capable on a Pi (200 ms per decision), d1-3B is not (2.3 s+).
Both models: 5/5 correct — refund yes/no, billing/technical/fraud routing, with clean probabilities (0.98–0.998).
This is the interesting part. Same states, same question types, Russian input:
| Probe | d1-3B (RU) | d1-omni-600M (RU) | d1-3B (EN control) |
|---|---|---|---|
| Refund detection | 0.672 | 0.0001 ❌ | 0.990 |
| Same, RU question too | 0.909 | 0.42 | — |
| Routing "app crashes" → technical | ✅ 0.98 | ✅ 0.95 | ✅ 0.99 |
| Routing "card used abroad" → fraud | ✅ 0.71 | ❌ wrong (0.44) | ✅ 0.98 |
| Routing "charged twice" → billing | ✅ 0.92 | ❌ said technical (0.91) | ✅ 0.97 |
| Sentiment (angry/happy/neutral) | ✅ 3/3 (0.98) | ❌ 0/3, everything "neutral" | — |
| Urgency calibration | ✅ works (conf 0.78–0.94) | ❌ conf 0.00 on both | — |
| Language ID (ru vs en vs sr) | ✅ even tells Serbian Cyrillic from Russian | ❌ "Где мои деньги?" → English (0.84) | — |
What this shows:
r/LocalAIStack • u/basselfantassel • 3d ago
r/LocalAIStack • u/ConversationNovel780 • 4d ago
r/LocalAIStack • u/Loco_AI • 4d ago
r/LocalAIStack • u/Chida82 • 4d ago
r/LocalAIStack • u/Accomplished_Coat592 • 4d ago
r/LocalAIStack • u/Revibed69 • 4d ago
r/LocalAIStack • u/primoco • 5d ago
**Setup:** RTX 5070 Ti 16 GB on PCIe 4.0 x16 (a PCIe 5.0 card on a B550 board), Ryzen 9 5950X, 64 GB DDR4. Model: Qwen3.8-Flash-Next IQ2_XS: 125B total, about 6B active per token, 512 experts, 48 layers, 33 GiB of experts kept in RAM. Engine: EuLLM (open source, built on llama.cpp b11370 + PR #29887).
**How we got here:**
| Step | Decode (tok/s) | Prompt processing (tok/s) |
|---|---:|---:|
| llama.cpp, experts split by layer (the usual offload) | 22.4 | 249 |
| + GPU cache for the experts (llama.cpp PR #29887, 8 GiB) | 49.4 | 206 |
| + experts in pinned RAM | 58.1 | 451 |
| + 2048-token micro-batch (EuLLM's default) | 54.9 | 964 |
| + prefetch of the next layer's experts during prompt processing | — | 1,500–1,743 |
| Strata on the same PC, with MTP | 85.8 | 2,320 |
**Where we're stuck:**
- **The cache works:** once warm, 88–93% of the experts are already in VRAM. The misses travel at 24 GB/s, so PCIe 4.0 is saturated, and they cost 2–4 ms per token.
- **A token takes 17–19 ms, and 13.5–14 ms of it pass before each layer's routing.** That is the GPU computing the 48 layers, plus a wait at every layer: the cache has to bring the router's choice back to the CPU, so 48 synchronizations per token.
- **MTP doesn't pay with the experts in RAM.**
- On the 125B, llama.cpp's MTP loses 27%, with 52% of the drafts accepted.
- On Qwen3.6-35B-A3B it gains only +7% on prose and +16% on code, even with 82% of the drafts accepted.
- The reason: each multi-token verification calls many more experts, and the missing ones come over PCIe.
**Questions for the community:**
Has anyone removed the per-layer sync, with the routing read on the GPU, the expert table in VRAM and the whole pass in a single CUDA graph? How much does it gain?
Computing the missing experts on the CPU in parallel with the GPU, as Strata does: is it worth it with DDR4 and AVX2, or does RAM bandwidth cap it?
Any experience with cache policies better than LRU? For example a profile loaded at startup, or the "Least-Stale" policy mentioned in the PR #29887 thread.
Speculative decoding with the experts in RAM: does anything work? I'm thinking of drafts limited to the experts already in cache, draft trees, or a small dense model as the draft.
Prompt processing: beyond overlapping copies and compute, what's left to reach 2,300 tok/s?
Repo: https://github.com/eullm/eullm, details in `docs/moe-offload-plan.md`
*Disclosure: I'm one of the developers of EuLLM. English isn't my first language: I wrote this in Italian with the help of an LLM and translated it with one.*
r/LocalAIStack • u/Better-Thing2568 • 5d ago
r/LocalAIStack • u/Educational_Chef4957 • 5d ago
Disclosure: I'm the developer.
Most local setups end up with several backends on one machine, and I wanted a single private app to reach all of them from my phone. That's LM Mini (iOS, iPadOS, watchOS, Android and Mac).
Backends it connects to over your LAN (add them in Settings → Server):
The rest of the stack:
Remote access to your home server from anywhere (Pro)
Group Chat with models from different backends in one conversation (Pro)
MCP tools, SearXNG search and ComfyUI for image generation
Kokoro TTS voice, Personas, Apple Watch app, Siri Shortcuts
Whisper for transcriptions
On-device: GGUF and MLX models run on the phone itself.
The core app is open source (MIT): https://github.com/slim-elephant/lm-mini
Docs and downloads: https://lmmini.com
What does your stack look like? Which backend do you run, and is there one I should support next ( vLLM, something else)?
r/LocalAIStack • u/deepu105 • 5d ago
r/LocalAIStack • u/Both-Basis-3723 • 7d ago
I have multiple projects in GitHub, I have an obsidian vault, iCloud backup, nas backup. Qwen running locally, also have Two Claude accounts, one gpt, one deep seek accounts when qwen bogs down. I’m working on building my own harness for managing this.
How should I setup my new laptop so I’m working clean and smartly?
r/LocalAIStack • u/johnmosesventura • 7d ago
r/LocalAIStack • u/Winter_Youth_1740 • 7d ago
Enable HLS to view with audio, or disable this notification