Intermediate · Learning path
LLM Inference and Serving
Connect model and cache constraints to deployment choices, serving configurations, latency, and capacity planning.
Learning objectives
- Estimate weight and KV-cache memory from explicit assumptions.
- Compare serving configuration choices without treating one workload as universal.
- Separate lab measurements from theoretical capacity estimates.
Local progress
Module checks are stored only in this browser. There is no account, synchronization or transmission to the site.
Path modules
-
1. Local inference and model constraints
Read
- Serving Kimi K2 with vLLM: Hardware, Parallelism, and Safe Defaults
- اجرای محلی LLM؛ از انتخاب مدل تا برآورد حافظه
Practice activity
For a model card, identify parameter count, quantization, runtime, and hardware assumptions before estimating memory.
-
2. Weights and KV cache
Read
- Serving GPT-OSS 120B with vLLM: Capacity, Configuration, and Security
- اجرای محلی LLM؛ از انتخاب مدل تا برآورد حافظه
Practice activity
Calculate weight memory and KV cache separately, then vary context length and KV-head count to observe sensitivity.
-
3. Serving trade-offs
Read
- Serving Kimi K2 with vLLM: Hardware, Parallelism, and Safe Defaults
- Serving GPT-OSS 120B with vLLM: Capacity, Configuration, and Security
- هزینهٔ واقعی Agent چطور محاسبه میشود؟
Practice activity
Define a latency/throughput target and list which serving assumptions would need a real workload benchmark.
Completion criteria
Deliver a transparent capacity estimate and a measurement plan that states what must be verified on the target runtime and hardware.