Local LLM
-
Ollama CPU Offload and How to Diagnose the Split
See why Ollama splits a model between CPU and GPU. Read ollama ps, check the layer setting, and compare loads after changing context or parallelism.
-
Ollama API Examples: curl, Python, and OpenAI SDK
Working Ollama API examples for chat, streaming, JSON schema output, tool calls, and embeddings in curl and Python, plus the metrics to log per call.
-
Ollama vs LM Studio: Which Local LLM Runner to Pick
Ollama vs LM Studio compared on speed, API, headless serving, Apple Silicon MLX and licensing, with a clear pick for developers and desktop users.
-
How to Run Ollama in Docker: CPU, NVIDIA and AMD GPU Setup
Run Ollama in Docker on CPU, NVIDIA or AMD. Check GPU use, keep downloaded models across upgrades and bind the API to localhost with Docker Compose.
-
Best GPU for Ollama: VRAM and Bandwidth Compared
Compare NVIDIA, AMD and Apple hardware for Ollama. Find a VRAM tier for your model and context, then use memory bandwidth to shortlist cards.
-
Best Ollama Models for 8GB VRAM
Compare Ollama model tags for an 8 GB GPU by download size and input type. See which tags exceed the example budget and how to set context.
-
How Much Unified Memory Does Ollama Need on Apple Silicon?
Estimate whether your Ollama model and context fit in 24 or 32 GB of Apple Silicon unified memory, then use ollama ps to check GPU placement.
-
Ollama Not Using GPU: Fix CPU Offload and 100% CPU
Run ollama ps to see if Ollama is on the GPU. Fix 100% CPU or a CPU/GPU split: check the driver, Docker, iGPU flag, then free VRAM or cut num_ctx.
-
Ollama Tokens per Second: How to Show & What Sets Speed
Show Ollama tokens per second in the terminal, calculate generation speed from the API, and see how memory bandwidth and context affect decoding.
-
Ollama Without a GPU: CPU-Only Speed and RAM
Run Ollama without a GPU. See reported CPU-only speeds and what affects RAM use, then learn how to force and verify CPU mode on Linux and Windows.
-
How Much VRAM Do You Need to Run Local LLMs with Ollama?
VRAM sizing for local LLMs: how quantisation, parameter count, and context length set your GPU memory bill, and which model fits 8, 12, 16, or 24 GB.