KnowEase.AI · 18 modules
AI Inference & Serving Interview Prep
Test & Track Your Readiness
The complete inference engineering track: from transformer memory math to production-grade multi-GPU serving. Covers KV cache internals, continuous batching, PagedAttention, quantization (GPTQ/AWQ/GGUF), speculative decoding, vLLM/TensorRT-LLM/TGI architecture, model and pipeline parallelism, edge inference, embedding serving, inference hardware (H100/B100), observability, and cost optimization. For engineers building or operating LLM serving infrastructure.. Adaptive checks with dimension-level scoring — not just a quiz, but a readiness signal.
All modules
Inference Fundamentals
BeginnerPrefill vs decode phase, autoregressive generation, memory bandwidth vs compute bound regimes, roofline model for LLMs, FLOP counts, and why inference is harder than training.
Transformer Memory Math
IntermediateKV cache sizing formulas, activation memory, parameter memory in fp16/int8/int4, batch size vs sequence length tradeoffs, context length cost curves, and hands-on memory budget worksheets for common models.
Batching Strategies for LLMs
IntermediateStatic batching problems, continuous batching (iteration-level scheduling), dynamic batching, PagedAttention mechanics, chunked prefill, the scheduler as the core of a serving engine, and batching for different SLA profiles.
Quantization: GPTQ, AWQ, GGUF Deep Dive
IntermediateINT8/INT4 quantization theory, post-training quantization vs quantization-aware training, GPTQ algorithm, AWQ activation-aware quantization, GGUF format for CPU/edge, bitsandbytes, calibration datasets, accuracy-compression tradeoffs.
Speculative Decoding & Lookahead
AdvancedDraft-verify mechanism, acceptance rate math, draft model selection, self-speculative decoding (MEDUSA heads), speculative decoding for different GPU regimes, Lookahead decoding, and when speculation hurts.
vLLM Internals & Architecture
AdvancedvLLM PagedAttention implementation, block manager, prefix caching (hash-based), chunked prefill, async engine, sampling parameters, multi-modal support in vLLM, and extending vLLM with custom attention backends.
TensorRT-LLM & NVIDIA Serving
AdvancedTensorRT-LLM plugin system, in-flight batching, fp8 quantization, INT4 AWQ in TRT-LLM, Triton Inference Server integration, engine building pipeline, multi-GPU tensor parallel in TRT-LLM, and Dynamo serving.
Model Parallelism for Inference
AdvancedTensor parallelism (column/row linear splits), pipeline parallelism (micro-batching, bubble overhead), sequence parallelism, data parallelism for inference replicas, expert parallelism for MoE models, and Megatron-LM partitioning strategies.
KV Cache Optimization
AdvancedKV cache eviction policies, prefix caching with radix trees, shared prefix across requests, cross-request prefix reuse, paged eviction, KV cache offloading to CPU/NVMe, and KV cache compression (quantized KV).
GPU Architecture for Inference Engineers
IntermediateA100 vs H100 vs H200 vs B100 specs, NVLink vs PCIe bandwidth, memory hierarchy (HBM3, L2, SM registers), CUDA cores vs Tensor Cores, SXM vs PCIe form factors, and sizing hardware for LLM serving workloads.
Serving Frameworks Compared
IntermediatevLLM vs TGI (Hugging Face) vs TensorRT-LLM vs Triton vs Ollama vs llama.cpp vs SGLang — feature matrix, latency benchmarks, quantization support, hardware requirements, multi-modal support, and when to use each.
Latency vs Throughput: SLA Engineering
IntermediateP50/P90/P99 latency, TTFT vs TPOT, throughput (tokens/sec), the latency-throughput Pareto frontier, SLA design for interactive vs batch workloads, max batch size for a given P99, and load testing methodology.
Edge & Mobile Inference
IntermediateONNX export pipeline, CoreML conversion, TFLite, GGUF for CPU inference, Apple Neural Engine, quantization for mobile (INT4/INT2), model pruning, knowledge distillation for edge, and ARM NEON vs GPU on mobile.
Embedding Model Serving at Scale
IntermediateEmbedding inference is different: batch strategies, dynamic batching for variable-length inputs, ANN index updates, embedding cache, cross-encoder reranker serving, hardware sizing for embedding workloads, and combined retrieval+generation serving.
Inference Observability & Tracing
IntermediateOpenTelemetry gen_ai.* semantic conventions, tracing prefill/decode phases, token-level latency instrumentation, cost attribution per request/user/feature, GPU utilization metrics, and building inference dashboards in Grafana.
Multi-GPU Serving & Load Balancing
AdvancedRunning tensor-parallel models across multiple GPUs, load balancing strategies (round-robin vs least-loaded vs session affinity), replica autoscaling, failover and model health checks, NVLink topology impact on serving.
Inference Cost Optimization
AdvancedCost per token analysis, spot instance inference, preemptible GPU pools, mixed-precision inference, model tiering (large + small model routing), prompt caching economics, and the cost structure of hosted vs self-hosted inference.
Production Inference Operations
AdvancedBlue-green model deployment, canary releases for model updates, rollback strategies, model artifact versioning, serving health checks, capacity planning, incident response for serving outages, and the LLM serving reliability ladder.
Frequently asked questions
- What topics does the AI Inference & Serving roadmap cover?
- The roadmap covers 18 modules including Inference Fundamentals, Transformer Memory Math, Batching Strategies for LLMs, Quantization: GPTQ, AWQ, GGUF Deep Dive, and more. Each module has a scored readiness check with AI feedback.
- Is it free to start?
- Yes. The first 2 modules are free forever — no credit card needed. Premium unlocks all modules and unlimited checks.
- How is this different from reading blog posts or watching videos?
- KnowEase measures your readiness rather than just delivering content. You take a check, get scored by dimension, see where you're weak, and get targeted practice — all in one loop.
- How long does it take to complete the roadmap?
- The AI Inference & Serving roadmap is designed for 55 hours of focused study. Most engineers complete it in 3–4 weeks of consistent practice.
- Do I get a certificate when I finish?
- Yes. Completing all modules generates a shareable Certificate of Completion you can add to LinkedIn or share with recruiters.
Ready to test your knowledge?
Free to start. No credit card required.
Start for free →