How to Build llama.cpp From Source and Run a Model
Clone llama.cpp, build it with CMake, and run a model from the command line with llama-cli.
THE FIELD GUIDE
Run AI on your own computer, check model and hardware requirements, and verify which steps work without a cloud connection.
Clone llama.cpp, build it with CMake, and run a model from the command line with llama-cli.
Build whisper.cpp so inference runs on the Mac GPU through Metal, and confirm it is used instead of the CPU.
Enable web search in an Open WebUI chat so the model can look up current information and cite sources instead of guessing…
Sort Open WebUI conversations into folders and tag them so a chat you need later is findable instead of buried in the…
Point mlx-whisper at the large MLX Whisper model on Hugging Face Hub for the most accurate local transcription on an Apple Silicon…
Set the seed for mlx_lm.generate or for a make_sampler sampler so the same prompt and settings give the same reply again.
Install a vision-capable model in LocalAI and send an image with a question to the chat completions endpoint to get a description…
Point the official OpenAI Python client at your LocalAI server so existing OpenAI code runs against a local model with no other…
Send text to LocalAI's embeddings endpoint to get vectors, then use them to find the most similar document for a question.
Point any OpenAI client at http://localhost:1234/v1 and send a chat completions request to the model loaded in LM Studio.