Topic
Inference engineering
Serve open models on your own machines: llama.cpp, model formats, quantization, batching, embeddings, structured output, Kubernetes and routing to Claude.
- 8 hands-on labs
- Beginner to advanced
- AI plan
Opens with the AI plan, which includes the DevOps tracks, or with a Teams seat.
Labs
8 labs in order. Beginner to advanced.
Each lab is a real machine built only for you, with a guide and checks that read what you actually did.
- Beginner
Serve an open model with llama.cpp
Your first inference server: llama.cpp with a small open model under systemd, the same API shape as the hosted models, a streamed answer, and the two numbers every inference engineer watches, time to first token and tokens per second.
- Beginner
Model formats and quantization: GGUF, ONNX and safetensors
Models arrive as GGUF, ONNX or safetensors. Read a GGUF header with your own code, make a 4 bit model from an 8 bit one and measure what changed, inspect an ONNX graph's contract, and write a safetensors file byte by byte.
- Intermediate
What quantization costs: perplexity, accuracy and a choice
Smaller models are cheaper and faster, until they are worse. Make 4 and 3 bit versions of a model, measure perplexity and accuracy for each, and choose with a rule you set in advance.
- Intermediate
Serve many users at once: the KV cache and batching
One user is a benchmark, many users are a service. Size the KV cache a conversation needs, give the server four slots with continuous batching, and load test one slot against four with the same users.
- Intermediate
Run an embedding model yourself: batching, padding and int8
The RAG labs called one helper to embed text. Here you run the model with ONNX Runtime from your own code, measure what padding costs a batch and what sorting by length saves, then make an int8 copy and let a rule set in advance decide whether to use it.
- Advanced
Trustworthy JSON and speculative decoding
A small model can fill in a form for your code if the server forces the shape of its answer. Then try speculative decoding, where a smaller model drafts and the main model checks, measure it, and explain the result from what each step costs on this CPU.
- Advanced
Serve a model on Kubernetes: cold starts, a model swap and queues
A model on a laptop answers one person. A model in production restarts, changes and fills up. Package llama-server as an image, serve it on KIND with the weights on a read only volume, swap the model while users keep asking, and measure how long requests wait for a slot.
- Advanced
Capstone: route between a local model and Claude, then size it
Bring the track together. A router service answers with a small local model and sends hard requests to Claude. Measure it against each model alone on a golden set, then turn the numbers into a monthly plan and let a rule agreed in advance choose.
Learning paths