AI infrastructure and systemsPart 6: Datacenter scale and your career
Chapter 24Capstone and your career path
Hiring managers for AI infrastructure roles see many resumes listing "PyTorch, Kubernetes, CUDA" and very few candidates who can show a service they built, measured, broke and fixed. This chapter maps the roles this track prepares you for, then specifies one capstone project that proves you can do the job, and a 12-month plan to get there.
After this chapter you can
- Distinguish the main AI infrastructure roles by what each does day to day
- Map each part of this track to the roles it prepares you for
- Build a capstone inference platform in staged milestones with clear acceptance criteria
- Present the capstone as a portfolio that a hiring manager can evaluate in ten minutes
- Prepare for role-specific interview topics and system-design prompts
- Follow a 12-month study plan and keep learning from the right communities and papers
The role map
Job titles in this field are inconsistent: one company's "ML platform engineer" is another's "AI infrastructure engineer". Read the job description for the daily work, not the title. The table describes the core of each role and the parts of this track that feed it most directly.
| Role | What the day looks like | Track parts that feed it most |
|---|---|---|
| ML platform engineer | Builds the internal platform researchers and product teams use: job submission, GPU scheduling, model registry, pipelines, self-service serving | Part 3 Training and data systems, Part 5 Production operations |
| Inference engineer | Makes models faster and cheaper to serve: engine tuning, batching, quantization, speculative decoding, profiling GPU kernels | Part 1 Foundations, Part 2 Inference serving |
| AI SRE or production engineer | Owns reliability of model APIs: SLOs, on-call, incident response, capacity planning, observability | Part 5 Production operations, Part 2 Inference serving |
| GPU cluster or HPC engineer | Runs large training clusters: Slurm or Kubernetes, fabric health, NCCL performance, node burn-in and remediation | Part 3 Training and data systems, Part 6 Datacenter scale |
| Datacenter and hardware engineer | Brings racks online, manages power, cooling and hardware failures, works with vendors on firmware and RMAs | Part 6 Datacenter scale, Part 1 Foundations |
| Solutions or forward-deployed engineer | Deploys the stack in customer environments, builds proofs of concept, translates customer constraints into architecture | Part 4 AI application systems, Part 2 Inference serving |
What hiring managers look for
Across all six roles, the signal that separates candidates is the same: evidence that you measured something real. A dashboard showing p95 time to first token before and after a change says more than a list of tools.
- Numbers with units: tokens per second, p95 latency, GPU utilization, dollars per million tokens, and how you measured each.
- Failure stories: something broke, here is how you found it and what you changed so it would not happen again.
- Trade-off reasoning: why you chose this engine, this quantization, this autoscaling signal, and what you gave up.
- Production habits: infrastructure as code, CI, rollback, alerts that fire on symptoms rather than causes.
- Communication: a design document and a one-page summary someone outside your team can follow.
Do not chase every new tool. Interviewers care far more that you understand the KV cache, batching, collective communication and SLOs than whether you used last month's framework.
The capstone: a self-hosted, observable, autoscaled, evaluated inference platform
The capstone ties every part of the track into one system that resembles what a small AI platform team runs in production. It runs on a laptop with a small model on CPU, on a single cloud GPU, or on a free notebook GPU for the benchmarking steps.
The system has five properties you must be able to demonstrate live.
- Self-hosted: an open-weights model served by an engine you configured (vLLM on a GPU, or llama.cpp's server on CPU), exposing an OpenAI-compatible API.
- Observable: time to first token, time per output token, queue depth, tokens per second and error rate on a dashboard, with traces through the gateway.
- Autoscaled: replicas scale on a load signal that tracks user experience, with measured cold-start time.
- Evaluated: a regression suite gates every model or configuration change.
- Costed: a written report of cost per million tokens at measured throughput, compared with calling a hosted API.
The full milestone list with acceptance criteria is the lab at the end of this chapter.
Presenting it as a portfolio
A reviewer will give your repository about ten minutes. Design for that.
README first screen
One paragraph on what the platform does, one architecture diagram, and a table of headline numbers: model, hardware, p95 TTFT, throughput, cost per million tokens.
Reproducible in one command
A Makefile or script that brings the whole stack up locally, plus a short video or GIF of the dashboard during a load test, for reviewers who will not run it.
Design document
Two to four pages: goals, non-goals, architecture, the alternatives you rejected and why, and how you would scale it to 100 times the traffic.
Incident write-ups
At least two short blameless postmortems from things that went wrong while you built it, with timeline, root cause and the fix.
A public write-up
A blog post about the most surprising thing you measured. This is what gets shared, and what interviewers ask you about.
Interview topics by role
Every loop includes coding and behavioural interviews. The role-specific parts differ, and system-design prompts are where most offers are won or lost. In a design interview, state requirements and numbers first, sketch the architecture, then go deep where the interviewer pushes.
| Role | Topics to be fluent in | Sample system-design prompt |
|---|---|---|
| ML platform | Kubernetes and Slurm scheduling, quotas and fair share, model registries, pipelines, multi-tenancy | Design a self-service fine-tuning platform for 50 internal teams sharing 512 GPUs. |
| Inference | KV cache memory math, continuous batching, quantization trade-offs, prefill and decode, speculative decoding | Serve a 70B model at 200 requests per second with a p95 time to first token of 1 second; size the GPUs and justify the engine settings. |
| AI SRE | SLOs for latency and quality, alerting, capacity planning, graceful degradation, incident command | Your model API's p99 latency doubled after a release while error rates stayed flat; walk through the investigation and design the alerting that would have caught it earlier. |
| GPU cluster or HPC | Collectives, InfiniBand and RoCE, NCCL debugging, checkpointing, node health and burn-in | A 1,024-GPU training job runs 30 percent slower after a maintenance window; find the cause, then design automated detection for next time. |
| Datacenter and hardware | Power path, rack density, liquid cooling, failure analysis, vendor management | Plan the power and cooling for adding 20 MW of liquid-cooled GPU racks to an existing air-cooled hall. |
| Solutions or forward-deployed | Deploying into customer clouds, private networking, security reviews, RAG and agent architectures | A bank wants your model inside its own VPC with no data leaving and an audit trail for every prompt; propose the deployment and the security story. |
A 12-month study plan
The plan assumes about 8 to 10 hours a week alongside a full-time job. Each block ends with a lab output you keep, and the capstone grows from month 4 onward rather than appearing at the end.
| Months | Track part | Focus | Keep as evidence |
|---|---|---|---|
| 1 to 2 | Part 1 Foundations | Transformers for operators, GPU architecture, the software stack, cost math | A spec-sheet comparison and a back-of-envelope sizing notebook |
| 3 to 4 | Part 2 Inference serving | KV cache, serving engines, quantization, scaling | Capstone milestones 1 and 2: a served model with a benchmark |
| 5 to 6 | Part 3 Training and data systems | Distributed training, fine-tuning, data loading, scheduling | A multi-GPU or multi-process training run with checkpoint and restart; a LoRA fine-tune |
| 7 to 8 | Part 4 AI application systems | Retrieval, agents, gateways, evaluation | Capstone milestones 3 and 5: gateway and eval suite |
| 9 to 10 | Part 5 Production operations | Observability, reliability, cost, deployment pipelines | Capstone milestones 4, 6 and 7: dashboards, autoscaling, canary and rollback |
| 11 | Part 6 Datacenter scale | Networking, power and cooling, platform security | Fabric lab, sizing model, tenant isolation test; capstone milestone 8 |
| 12 | Capstone and job search | Polish, write-ups, mock interviews | Final cost report, design doc, blog post, applications |
Communities, conferences and papers worth following
You do not need to follow everything. Pick one conference talk stream, one community and a short reading list, and go deeper rather than wider.
- Conferences: MLSys (systems for machine learning research), Hot Chips (accelerator and interconnect architecture, free talk videos), SC, the Supercomputing conference (HPC and fabrics), OCP Global Summit (datacenter hardware, power and cooling), KubeCon + CloudNativeCon (Kubernetes, including AI serving and batch scheduling), and USENIX OSDI and NSDI plus ACM SIGCOMM (systems and networking papers).
- Communities: the vLLM and PyTorch open-source projects (issues and design discussions teach more than tutorials), the Kubernetes working groups for serving and batch workloads, and the Open Compute Project.
- Papers: Megatron-LM (tensor parallelism), ZeRO (sharded data parallelism), PagedAttention (the vLLM paper on KV cache memory), The Llama 3 Herd of Models (read the infrastructure and reliability sections), and Meta's RDMA over Ethernet paper from SIGCOMM 2024.
Key terms
- ML platform engineer
- Builds the shared infrastructure that lets others train, evaluate and serve models without managing hardware.
- Inference engineer
- Optimizes the latency, throughput and cost of serving models.
- AI SRE
- Owns the reliability of AI services through SLOs, observability, capacity planning and incident response.
- Forward-deployed engineer
- An engineer embedded with customers to deploy and adapt the product in their environment.
- Capstone
- A single end-to-end project that demonstrates the skills of a whole curriculum.
- Acceptance criteria
- Observable conditions that must hold for a milestone to count as done.
- Blameless postmortem
- An incident write-up focused on causes and fixes in the system rather than on individual fault.
Capstone: a production-grade inference platform
Goal: build, measure and document a self-hosted inference platform that is observable, autoscaled, evaluated and costed, in a public repository.
You need: Docker, kind or k3d, kubectl and Helm; a small open-weights model (for example a 0.5B to 3B instruct model in GGUF format for CPU, or a small model in vLLM if you have a GPU); Prometheus, Grafana and an OpenTelemetry collector (all via Helm charts); a load generator such as k6 or Locust. A single rented cloud GPU for a few hours is enough for the GPU benchmark in milestone 1; everything else runs on a laptop.
-
Milestone 0, repository and design. Create the repo with a README skeleton, a Makefile, and a one-page design doc stating goals, non-goals, target SLOs (for example p95 time to first token and error rate) and a cost target. Acceptance: the design doc has numeric SLOs and a diagram;
make helplists the targets you plan to build. -
Milestone 1, serve and benchmark. Run the model with vLLM (GPU) or llama.cpp's server (CPU) behind an OpenAI-compatible endpoint in a container. Write a benchmark that sweeps concurrency (1, 4, 16, 64) and records TTFT, time per output token and total tokens per second. Acceptance:
make benchproduces a CSV and a chart; you can explain where throughput stops rising and why, using the KV cache and batching concepts from Part 2. -
Milestone 2, Kubernetes and gateway. Deploy the server to a local cluster with resource requests, readiness probes and a Service. Put a gateway in front (an open-source LLM gateway or your own small proxy) with API keys, per-key rate limits and routing between two model variants. Acceptance: requests without a key get 401, requests over the limit get 429, and a header or route selects model A or B.
-
Milestone 3, observability. Scrape the engine's Prometheus metrics, add OpenTelemetry tracing in the gateway, and build a Grafana dashboard with TTFT and latency histograms, queue depth, tokens per second, error rate and replica count. Add one SLO-based alert. Acceptance: during a load test the dashboard shows queue depth and TTFT rising together, and the alert fires when you overload the system and clears when load drops.
-
Milestone 4, autoscaling. Scale the model deployment on queue depth or in-flight requests (KEDA or the Horizontal Pod Autoscaler with custom metrics), not CPU. Measure cold-start time from scale-up decision to first served token. Acceptance: a step-load test shows replicas increasing, TTFT recovering to within the SLO, and a documented cold-start time with a plan to reduce it.
-
Milestone 5, evaluation. Build a regression suite of 50 to 200 prompts with automatic graders (exact match, schema checks, and an LLM judge where needed), run it in CI on every change to model, prompt template or engine settings. Acceptance: CI fails when you swap in a deliberately degraded configuration, and the report shows per-category scores compared with the baseline.
-
Milestone 6, safe rollout. Roll out a quantized model as a canary taking 10 percent of traffic, with automatic rollback if the error rate, TTFT or eval score crosses a threshold. Acceptance: a recorded run where a bad canary is rolled back automatically, and a good one is promoted, with both visible on the dashboard.
-
Milestone 7, tenancy and security. Add two tenants with separate API keys, quotas, namespaces and network policies, reusing the test script from the multi-tenancy lab. Make sure prompts are not logged in plain text by default. Acceptance: the isolation test script passes in CI, and log samples show redacted prompt fields.
-
Milestone 8, cost report. Using measured throughput, compute cost per million input and output tokens for your hardware (rented price per hour, or amortized purchase price plus energy from the power-sizing model), compare with at least one hosted API's published price, and add a sensitivity table for utilization. Acceptance: a one-page report with assumptions stated, a break-even utilization figure, and a recommendation.
Check your work: a stranger can clone the repo, run one command to bring it up locally, and find in the README the architecture, the headline numbers, the dashboards, two postmortems and the cost report.
Stretch: add speculative decoding or prefix caching, measure the gain on your benchmark and your eval suite, and write up whether it is worth enabling, including the cache-isolation risk from the multi-tenancy chapter.
Check yourself
Which piece of evidence most strengthens an application for an inference engineer role?
In the capstone, why scale the model servers on queue depth or in-flight requests instead of CPU utilization?
An interviewer asks you to design serving for a 70B model at 200 requests per second. What should you do first?
A candidate's capstone has excellent code but no numbers in the README. What is the most valuable fix?
Recap
- AI infrastructure roles differ more by daily work than by title, so read job descriptions for what you would actually do.
- Every part of this track feeds specific roles, and a computer engineering background is a real advantage for inference, HPC and hardware work.
- The capstone proves you can build, measure, scale, evaluate, secure and cost an inference platform end to end.
- Present it so a reviewer can judge it in ten minutes: numbers, diagram, one-command setup, design doc and postmortems.
- Prepare system-design answers that start with requirements and sizing math.
- Follow a 12-month plan where the capstone grows from month 4, and go deep in a few communities and papers.
Go deeper
- MLSys conference: the main venue for research on systems for machine learning, with open proceedings.
- Hot Chips: accelerator, interconnect and NIC architecture talks straight from the chip designers.
- Open Compute Project: open datacenter hardware, rack, power and cooling specifications and summit talks.
- Efficient Memory Management for Large Language Model Serving with PagedAttention: the vLLM paper, essential reading for inference roles.
- ZeRO: Memory Optimizations Toward Training Trillion Parameter Models: the sharded data-parallel paper behind DeepSpeed and FSDP-style training.
- Megatron-LM: the paper that introduced practical tensor parallelism for large transformers.