Running models locally
For engineers
Running open models on your own machine with Ollama, LM Studio, llama.cpp and MLX, checking the setup works, and adding vision and speech models
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Which runner runs models in the MLX format?
Check yourself · 2 of 5
Which Modelfile instruction sets the system prompt?
Check yourself · 3 of 5
In LM Studio, what does the GPU offload setting control?
Check yourself · 4 of 5
Which llama-server flag sets the context size in tokens?
Check yourself · 5 of 5
A load log says 'offloaded 0/33 layers to GPU'. What does it mean?
Topics
- Choosing a local runner for your setup5 min read · Ollama, LM Studio, llama.cpp, MLX-LM, Jan and vLLM compared by platform, ease of use, model formats and API support
- Pulling and running models with Ollama6 min read · Installing Ollama, pulling a model tag, setting context length and parameters in a Modelfile and calling its local API
- Exploring models in LM Studio5 min read · Searching and downloading models in a desktop app, the GPU offload setting, MLX models on Macs and the built-in local server
- Running GGUF files with llama.cpp6 min read · llama-cli and llama-server, the flags for GPU layers, context size and threads, and building for CUDA, Metal or Vulkan
- Checking a first local chat session6 min read · Reading the load log to confirm GPU use, speed and context, and spotting a wrong chat template or silent context truncation
- Running vision and speech models locally6 min read · Local vision-language models for images and screenshots, whisper.cpp for transcription, and the memory each adds
Start here
- Ollama documentation (opens in a new tab)DocsFree
Install steps, the Modelfile format, context length and the local API in one place.
- LM Studio docs (opens in a new tab)DocsFree
How the desktop app downloads models, sets GPU offload and serves a local API.
- llama.cpp (opens in a new tab)ToolFree
The reference runtime for GGUF files: build options, llama-cli and llama-server flags.
Scenarios
Helps to know first
110 questions · last verified 2026-12