{"slug": "csva-decoupled-real-time-voice-loop-using-lfm3-omni-and-qwen-2-5-on-a-16gb-gpu", "title": "CSVA – Decoupled real-time voice loop using LFM3-Omni and Qwen 2.5 on a 16GB GPU", "summary": "A developer released CSVA v1.3, a decoupled voice architecture that pairs the 2B-parameter LFM3-Omni-2B-Uncensored talker model with the Qwen2.5-7B-Instruct-Uncensored reasoner (Q4_K_M GGUF) to run a real-time voice loop on a single 16GB NVIDIA GeForce RTX 5060 Ti at roughly 11.9–12.1 GB of steady-state VRAM. The bridge script bridge_native.py (port 8082) shunts LFM3-Omni's 16 kHz transcription to a llama-server.exe instance (port 8083) running Qwen 2.5 7B, streams text deltas back split on sentence boundaries (. ? !), and has LFM3-Omni synthesize 24 kHz acoustic codes so a browser FIFO queue can play sentence 1 while sentences 2 and 3 synthesize. The design targets the gap where 2B omni-modal models speak with natural inflection but lack complex reasoning, while 7B+ text models reason well but stall typical cascaded speech pipelines.", "body_md": "Decoupled Cognitive Shunt Voice Architecture (CSVA) — v1.3\n\nModel Links: Talker: OpenIntelligenceNet/LFM3-Omni-2B-Uncensored (FP16 via Transformers/PyTorch on CUDA) Thinker: Qwen2.5-7B-Instruct-Uncensored (Q4_K_M GGUF)\n\nThe Problem: 2B omni-modal audio models talk fast with natural inflection but lack complex reasoning; 7B+ text models think well but typical cascaded pipelines (STT \n\nThe Solution: A decoupled bridge that shunts transcription from LFM3-Omni directly into an external llama-server running Qwen 2.5 7B, then streams text deltas back via regex sentence boundaries to LFM3 for real-time acoustic code generation.\n\nASCII Flowchart:\n\n[User Mic (24 kHz)] │ (Web VAD: RMS > 0.020, 900ms pause) │ [bridge_native.py] (Port 8082) │ ┌─────┴────────────────────────────────────────────────┐ │ LFM3-Omni: Transcribe audio buffer (16 kHz) │ └─────┬────────────────────────────────────────────────┘ │ Transcript Text ▼ ┌──────────────────────────────────────────────────────┐ │ COGNITIVE SHUNT: llama-server.exe (Port 8083) │ │ Qwen 2.5 7B Q4_K_M (SSE streaming tokens) │ └─────┬────────────────────────────────────────────────┘ │ Text deltas streamed back ▼ ┌──────────────────────────────────────────────────────┐ │ Sentence Regex Demarcation (. ? !) │ └─────┬────────────────────────────────────────────────┘ │ Sentence 1, 2, ... ▼ ┌──────────────────────────────────────────────────────┐ │ LFM3-Omni: Synthesize 24 kHz acoustic codes │ └─────┬────────────────────────────────────────────────┘ │ Base64 PCM16 chunks ▼ [Web Audio FIFO Queue (Thorium Browser)] (Immediate playback of Sentence 1 while 2 & 3 synthesize)\n\nHardware & Benchmarks:\n\nGPU: NVIDIA GeForce RTX 5060 Ti (16 GB VRAM) VRAM Footprint: ~11.9 GB – 12.1 GB steady state across both models Audio: 24 kHz capture and playback; 16 kHz resampled ASR; sentence-level FIFO buffering hiding synthesis latency.\n\nPrerequisites & Quickstart:\n\n1. Run run_qwn_reasoner.bat to start llama-server.exe on port 8083.\n2. Run run_console.bat to launch bridge_native.py on port 8082.\n3. Open [http://localhost:8082](http://localhost:8082) in Thorium, Chrome, or any Chromium browser.", "url": "https://wpnews.pro/news/csva-decoupled-real-time-voice-loop-using-lfm3-omni-and-qwen-2-5-on-a-16gb-gpu", "canonical_source": "https://github.com/Recaperare/lfm3-cognitive-shunt", "published_at": "2026-12-03 12:37:53+00:00", "updated_at": "2026-12-03 12:47:04.342556+00:00", "lang": "en", "topics": ["large-language-models", "ai-agents", "ai-infrastructure", "ai-tools", "natural-language-processing"], "entities": ["CSVA", "LFM3-Omni-2B-Uncensored", "Qwen2.5-7B-Instruct-Uncensored", "NVIDIA GeForce RTX 5060 Ti", "llama-server.exe", "bridge_native.py", "OpenIntelligenceNet", "Thorium Browser"], "also_reported_by": [], "takeaway": "Shunt transcription from a 2B omni audio model into a separate 7B GGUF reasoner and stream sentence-delimited text deltas back for synthesis, which keeps both models within about 12 GB of VRAM on a 16GB RTX 5060 Ti and lets playback start on sentence 1 while later sentences synthesize.", "recommendation": {"advice": "Split the talker and reasoner across two processes and buffer synthesis at sentence boundaries so first-audio latency hides behind playback; the source fit both models in ~12 GB of a 16 GB GPU.", "playbook": "inference-serving", "playbook_url": "https://wpnews.pro/playbooks/inference-serving"}, "alternates": {"html": "https://wpnews.pro/news/csva-decoupled-real-time-voice-loop-using-lfm3-omni-and-qwen-2-5-on-a-16gb-gpu", "markdown": "https://wpnews.pro/news/csva-decoupled-real-time-voice-loop-using-lfm3-omni-and-qwen-2-5-on-a-16gb-gpu.md", "text": "https://wpnews.pro/news/csva-decoupled-real-time-voice-loop-using-lfm3-omni-and-qwen-2-5-on-a-16gb-gpu.txt", "jsonld": "https://wpnews.pro/news/csva-decoupled-real-time-voice-loop-using-lfm3-omni-and-qwen-2-5-on-a-16gb-gpu.jsonld"}}