08.01

Containers and cold starts

skillmaxingInference EngineeringContainers and cold starts
Visual lesson

Containers and cold starts

Included with Pro · 5:09
Lessons · 1,170 words

A web service container starts in seconds because it is small and has almost nothing to load. An inference container is the opposite. It needs a GPU node, an image of 10 GB or more full of CUDA libraries, tens of gigabytes of weights, and an engine that captures and compiles kernels for the GPU it lands on. The time from "we need another replica" to "that replica answers a request" is the cold start. It decides how fast you can scale, how much idle capacity you have to pay for, and what happens to users during a traffic spike.

A cold start has five parts: get a GPU node, pull the image, load the weights, start and compile the engine, and warm up. They have different causes and different fixes, so the first job is to measure them separately.

Pro

Continue reading

Pro unlocks every video lesson, the full notes, worked sizing and cost calculations, and runnable configs across the Inference Engineering course, from GPUs and kernels to quantization, speculative decoding, disaggregation and production autoscaling.

Unlock full access to
Python with AIInference EngineeringAI researchComplete system design
30% off with LAUNCH30first payment
Buy now
View all plans ·Already Pro? Sign in