Skip to content
mentoor

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

See where you stand

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?

Choose one answer

Check yourself · 2 of 5

Which Modelfile instruction sets the system prompt?

Choose one answer

Check yourself · 3 of 5

In LM Studio, what does the GPU offload setting control?

Choose one answer

Check yourself · 4 of 5

Which llama-server flag sets the context size in tokens?

Choose one answer

Check yourself · 5 of 5

A load log says 'offloaded 0/33 layers to GPU'. What does it mean?

Choose one answer

Topics

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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

Helps to know first

110 questions · last verified 2026-12