Skip to main content

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

Beginner

Prefill vs decode phase, autoregressive generation, memory bandwidth vs compute bound regimes, roofline model for LLMs, FLOP counts, and why inference is harder than training.

prefilldecodeautoregressivememory bandwidth
~2hTest this →

Transformer Memory Math

Intermediate

KV 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.

KV cache sizememory budgetfp16 memorycontext length cost
~3hTest this →

Batching Strategies for LLMs

Intermediate

Static 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.

continuous batchingPagedAttentionchunked prefilldynamic batching
~3hTest this →

Quantization: GPTQ, AWQ, GGUF Deep Dive

Intermediate

INT8/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.

GPTQAWQGGUFINT8
~4hTest this →

Speculative Decoding & Lookahead

Advanced

Draft-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.

speculative decodingdraft modelacceptance rateMEDUSA
~3hTest this →

vLLM Internals & Architecture

Advanced

vLLM 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.

vLLMPagedAttentionblock managerprefix cache
~4hTest this →

TensorRT-LLM & NVIDIA Serving

Advanced

TensorRT-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.

TensorRT-LLMin-flight batchingfp8Triton
~4hTest this →

Model Parallelism for Inference

Advanced

Tensor 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.

tensor parallelismpipeline parallelismsequence parallelismMoE
~4hTest this →

KV Cache Optimization

Advanced

KV 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).

KV cache evictionradix treeprefix reuseKV offload
~3hTest this →

GPU Architecture for Inference Engineers

Intermediate

A100 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.

H100A100B100NVLink
~3hTest this →

Serving Frameworks Compared

Intermediate

vLLM 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.

vLLM vs TGISGLangOllamallama.cpp
~3hTest this →

Latency vs Throughput: SLA Engineering

Intermediate

P50/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.

TTFTTPOTP99 latencytokens per second
~3hTest this →

Edge & Mobile Inference

Intermediate

ONNX 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.

ONNXCoreMLTFLiteGGUF CPU
~3hTest this →

Embedding Model Serving at Scale

Intermediate

Embedding 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.

embedding servingbatch embeddingANN indexcross-encoder
~2hTest this →

Inference Observability & Tracing

Intermediate

OpenTelemetry 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.

OpenTelemetrygen_ai conventionsinference tracingtoken latency
~2hTest this →

Multi-GPU Serving & Load Balancing

Advanced

Running 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.

multi-GPU servingtensor parallel servingload balancingautoscaling
~3hTest this →

Inference Cost Optimization

Advanced

Cost 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.

cost per tokenspot GPUmodel routingprompt cache economics
~3hTest this →

Production Inference Operations

Advanced

Blue-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.

blue-green deploymentcanary modelmodel rollbackcapacity planning
~3hTest this →

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 →