Run models on your own hardware
Local LLM Inference
Hardware sizing, quantization, runtimes, performance tuning, serving basics, edge and applications. The complete path from “what is a token” to a tuned local setup.
9 tracks · 41 lessons · about 11 hours · 19 free lessons · 15 animated diagrams
What you will be able to do
- ✓Size a machine for any model with real VRAM and bandwidth math
- ✓Pick and tune a quantization, runtime and context length
- ✓Build local RAG, tool-calling and structured-output apps
- ✓Diagnose slow or crashing setups methodically
Who it is for
Developers and tinkerers who want to run open models themselves.
Prerequisites
Comfort with a terminal. No machine-learning background needed.
Curriculum
Foundations
BeginnerTokens, context windows, prefill vs decode and sampling: the mental model behind every local LLM.
Hardware & Sizing
BeginnerVRAM math, memory bandwidth, Apple Silicon and how to pick a machine that fits the models you want.
Models & Quantization
IntermediateGGUF, K-quants, AWQ, GPTQ, EXL2 and KV-cache quantization, and what each costs in quality.
Runtimes
IntermediateOllama, llama.cpp, vLLM and MLX: what each is for and how to run them properly.
Performance Tuning
AdvancedGPU offload, batching, flash attention, speculative decoding and prompt caching.
Serving & APIs
AdvancedOpenAI-compatible endpoints, Docker, concurrency, load testing and production hardening.
Building Applications
IntermediateLocal RAG, structured output, function calling and agents on top of your own model.
- 1Local RAG from scratch1 diagramFree16 min
- 2Structured output: JSON schemas and grammarsPro12 min
- 3Function calling (tools) with local models1 diagramPro14 min
- 4Building local agents that don't fall apartPro14 min
- 5RAG in depth: chunking, hybrid search, fusion, reranking and permissionsPro20 min
- 6Agents: loops, memory, planning and the Model Context ProtocolPro18 min
- 7Prompting that works on small local modelsPro14 min
Edge & Browser
IntermediateSmall models, WebGPU in the browser, phones and NPUs.
Evaluation & Operations
IntermediateMeasure speed and quality honestly, pick the right model, and handle licenses and privacy.