How to Shrink a whisper.cpp Model With Q5_0 Quantization
Quantize a whisper.cpp model to q5_0 with the quantize tool so it takes less disk and memory, then run it the same…
THE FIELD GUIDE
Run AI on your own computer, check model and hardware requirements, and verify which steps work without a cloud connection.
Quantize a whisper.cpp model to q5_0 with the quantize tool so it takes less disk and memory, then run it the same…
Open LocalAI's web UI at localhost:8080, find the first model, and download it so the server has something to serve.
Point an Anthropic-compatible client at LocalAI's server, which speaks the Anthropic Messages format as well as OpenAI's.
Use LM Studio's OpenAI-compatible /v1/responses endpoint so Codex runs on your local model instead of a hosted one.
Set ANTHROPIC_BASE_URL to LM Studio's local server so Claude Code runs against your local model through the Messages API.
Send a chat completion to GPT4All's local server with curl and read the reply, the quickest check that the server works.
Convert an Opus recording to 16-bit WAV with ffmpeg, then transcribe it with whisper.cpp, using the FFmpeg-enabled build when needed.
Serve an automatic speech recognition model with vLLM and send an audio file to its /v1/audio/transcriptions endpoint.
Enable --enable-request-id-headers in vLLM and send X-Request-Id so each request can be traced through logs and replies.
Stream a model's reply token by token in Python with mlx_lm.stream_generate, instead of waiting for the whole answer.