Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 10 min read How-to mediumAdept

Reachy Mini goes fully local

Reachy Mini's conversation app can now run entirely on local hardware using the speech-to-speech library, a cascaded VAD → STT → LLM → TTS pipeline that exposes a Realtime API-compatible /v1/realtime WebSocket. The recommended stack is Silero VAD, Parakeet-TDT 0.6B v3 for STT, Qwen3-TTS, and Gemma 4 served by llama.cpp. The LLM can also run in-process via MLX or Transformers, or behind any Responses API server such as vLLM (≥0.21.0 for tool-call streaming), HF Inference Endpoints or OpenAI. LLM inference is the main latency bottleneck, so the guide recommends disabling thinking tokens and enabling multi-token prediction where the model supports it.

Related posts

  • One-second voice-to-voice latency with Modal, Pipecat, and open models

    Modal mediumAdept

    A conversational voice bot on Modal reaches roughly one-second voice-to-voice latency. It uses Pipecat to orchestrate an STT → RAG → LLM → TTS pipeline with Parakeet-tdt-v3, Qwen3-4B-Instruct on vLLM, Kokoro TTS, and ChromaDB with all-MiniLM-L6-v2 retrieval. The main latency levers are running the stateful Pipecat bot on CPU while GPU services autoscale independently, using Pipecat's local VAD and SmartTurn to segment audio instead of streaming STT, and tuning vLLM for time-to-first-token. On the network side, the bot talks to services over WebSockets through Modal Tunnels that bypass the input plane, with a spawned FunctionCall session restoring autoscaling, and services are pinned to clustered regions near the user. Latency was measured by recording real conversations and diarizing them with Pyannote across region and tunnel configurations.

  • FastRTC: The Real-Time Communication Library for Python

    Hugging Face mediumAdept

    FastRTC is a Python library for building real-time audio and video AI applications over WebRTC or WebSockets without needing WebRTC expertise. A `Stream` wrapped around a `ReplyOnPause` handler provides built-in voice activity detection and turn taking, auto-generates a Gradio test UI, and can be mounted onto any FastAPI app for production. Bundled speech-to-text (Moonshine) and text-to-speech (Kokoro) models, optimized for CPU inference, let a few lines of code chain STT, an LLM and TTS into a voice chat. `fastphone()` exposes the stream through a free phone number with a Hugging Face token.

  • Deploying Speech-to-Speech on Hugging Face

    Hugging Face mediumAdept

    Hugging Face's Speech-to-Speech pipeline (VAD, speech-to-text, LLM, text-to-speech) can be deployed to Inference Endpoints by forking the huggingface-inference-toolkit into a custom Docker image. Code and data ship as git submodules and requirements are installed at build time, which cuts endpoint startup time. The endpoint runs on an AWS L4 GPU at about $0.80/hour and is configured through either the GUI or the huggingface_hub API, with container port 80 and an HF_TOKEN secret for gated models. A small Starlette WebSocket webservice keeps latency low, and a Python client records audio, streams it to the server and plays back the queued responses.

  • Mr. Bones: A Pirate-Voiced Halloween Chatbot Powered by Docker Model Runner

    Docker mediumAdept

    A Home Depot animatronic skeleton becomes a pirate-voiced Halloween chatbot. A Raspberry Pi 5 captures speech and transcribes it with Vosk, then sends it to LLaMA 3.1 8B (Q4) served by Docker Model Runner on a gaming PC with an RTX 5070. ElevenLabs Flash speaks the reply, and Bluetooth audio drives the skeleton's jaw. The local model cut response time from about 4.5s with the ChatGPT API to 1.5s, and chunking the LLM output to the TTS service reduced perceived lag. A detailed system prompt keeps answers in character, kid-safe and short, and the post notes the remaining weak spots: dependence on the network and the multi-tier setup.

  • Blazingly fast whisper transcriptions with Inference Endpoints

    Hugging Face easyNovice

    Hugging Face Inference Endpoints now offers a Whisper deployment built on vLLM that delivers up to roughly 8x higher real-time factor (RTFx) than the Transformers implementation, with comparable word error rate. It targets NVIDIA Ada Lovelace GPUs (L4, L40s) and gets its speedup from torch.compile JIT kernels, CUDA graphs that batch GPU kernel launches, and a float8 KV cache that halves cache memory versus bfloat16. Whisper Large V3, V3-Turbo and Distil-Whisper V3.5 were benchmarked for WER on 8 Open ASR Leaderboard datasets and for RTFx on 45+ minute rev16 audio using a single L4. Deployment is one click, and the endpoint is called through an OpenAI-style /audio/transcriptions HTTP API; a FastRTC demo shows real-time transcription.

The quest for software engineering knowledge.

Look:
Layout: