Getting real work out of a 4B local model: the distill-on-idle pipeline behind an on-device "memory" assistant
Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.
| Posting the engineering, because "local AI assistant" usually means "wrapper around an API" and this crowd will (rightly) call that out. The problem: turn raw screen capture + meeting transcripts into something queryable, using only models that run comfortably on a laptop, without melting the battery or stealing the GPU from whatever you're actually doing. What ended up working: - OCR is not the LLM's job. Apple's Vision framework does on-device OCR; the LLM never burns tokens reading pixels. Huge win on both speed and accuracy. Honest limitations: macOS + Apple Silicon today (leans hard on ScreenCaptureKit + the Neural Engine). Intel works but OCR + inference are noticeably slower. Diarization quality on overlapping speech is still meh. Whole thing is AGPL - interested in how others here are handling on-idle scheduling and the FTS+vector fusion weighting. Link in comments to keep it clean. Code: https://github.com/off-grid-ai/desktop. Build from source. Happy to get into the scheduler internals or the retrieval fusion if anyone wants to compare notes. [link] [comments] |
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.