Pidoku
21Inference Platforms
On this page

Inference Platforms

Module 2113 lessons~14h 50m

Lessons, in order

21.a Platform Overview: Control Plane vs Data PlaneThe one property that matters most: the data plane must keep working when the control plane is unavailable. That is the difference between a platform that degrades and one that falls over. 1h 21.b Model RegistryA model registry is the record the platform consults to answer: "what should I run, and how?" 1h 21.c Kubernetes for GPUsMost inference platforms run on Kubernetes. Kubernetes was built for CPU services, so getting a GPU into a pod, on the right CPUs and memory, alongside the right peer GPUs and network cards, … 1h 30m 21.d Sharing One GPUA flagship GPU is often far bigger than one small workload needs. An embedding model, a reranker or a 1B-parameter classifier may use 10% of an H100. There are three ways to let several … 50 min 21.e GPU Scheduling and Model PlacementThis is bin packing with expensive moves and a moving target. The expensive moves are what make it different from ordinary Kubernetes scheduling, where moving a stateless web pod costs … 1h 30m 21.f Multi-Tenancy and QuotasMulti-tenancy is letting many teams or customers share one fleet. It has to provide four things: 1h 15m 21.g Routing StrategiesLoad balancing between replicas of one model (decision 3, the basics) is in 20.f. Choosing a replica by prefix cache in depth is 21.h. This lesson covers the platform-level decisions around … 1h 15m 21.h Prefix-Aware RoutingPrefix caching (12.m) only helps if the request lands on the replica that holds its prefix. With N replicas and routing that ignores the cache, a conversation's next turn finds its history … 1h 21.i Inference GatewaysAn inference gateway is the single front door for all inference traffic. Everything that every request needs, and that has nothing to do with running the model, lives there: identity, … 1h 15m 21.j Dynamo, llm-d and Distributed Serving FrameworksAn inference engine serves one model on one group of GPUs. A distributed serving framework turns many engine instances into one service. It decides which instance gets each request, can … 1h 21.k Cascades and FallbacksA cascade runs all the time and is judged on cost per acceptable answer. A fallback runs only when something is wrong and is judged on how many requests it saves from an error. Build both; … 1h 21.l Cluster and Capacity ManagementCluster management is the day-to-day operation of a GPU fleet: keeping nodes healthy, keeping capacity allocated sensibly and knowing when to buy more. It runs at four speeds: 1h 21.m Building the Platform: A RoadmapThe previous twelve lessons describe the parts of an inference platform. This one is about the order: what to adopt or build first, what to postpone, and how to decide the next step. 1h 15m

About this module

Many models, many teams, one fleet: control and data planes, the model registry, Kubernetes for GPUs, sharing one GPU, scheduling and placement, multi-tenancy, routing and prefix-aware routing, gateways, distributed serving frameworks such as NVIDIA Dynamo and llm-d, cascades and fallbacks, cluster management and the platform roadmap.

Lessons#

#LessonTime
21.aPlatform Overview: Control Plane vs Data Plane60 min
21.bModel Registry60 min
21.cKubernetes for GPUs90 min
21.dSharing One GPU50 min
21.eGPU Scheduling and Model Placement90 min
21.fMulti-Tenancy and Quotas75 min
21.gRouting Strategies75 min
21.hPrefix-Aware Routing60 min
21.iInference Gateways75 min
21.jDynamo, llm-d and Distributed Serving Frameworks60 min
21.kCascades and Fallbacks60 min
21.lCluster and Capacity Management60 min
21.mBuilding the Platform: A Roadmap75 min

Previous: Serving Systems · Next: Performance Engineering

↑↓ navigate↵ openesc close

100% drag to pan · scroll or pinch to zoom · double-click to zoom in