Hardware Tuning & Optimization
Tips for maximizing performance, reducing latency, and keeping thermal headroom on workstations and laptops.
1. Memory Optimization on 16GB Machines
If you are running on a 16GB unified memory Apple Silicon Mac or 16GB Linux laptop:
- Use
llama3.2:1borllama3.2:3b: 3B models offer the optimal balance of reasoning depth and fast time-to-first-token (). - Disable Vision when not needed: The Moondream VLM adds of resident memory. Run
./start.sh fullwithout--visionfor audio/text-only sessions. - Configure Docker Memory Ceiling: Set Docker Desktop's memory limit to 8GB in Docker Settings Resources.
2. Low-Latency Audio Pacing (Rust STT)
To minimize speech turn-around time:
- Ensure
whisper.cppis using quantized weights (ggml-tiny.en.binorggml-base.en.bin). - The fast speculative path (
SenseVoice) runs in on CPU using ONNX runtime multi-threading. SetONNX_NUM_THREADS=4in.envfor multi-core CPUs.
3. GPU Acceleration with Colab
If your workstation runs hot during long sessions, offload heavy voice fine-tuning or model benchmarking to a Google Colab GPU runtime using our Colab GPU Acceleration Guide.