Azure

Where should LLM weights live on AKS? Three options for GPU cold starts, measured

Azure Developer Community Blog kumarsagar
Azure

A controlled AKS experiment compares three ways to get LLM weights onto a GPU node: downloading from Hugging Face, streaming from Azure Blob with the Run:ai Model Streamer, and baking them into the image. Streaming won on a fresh node at 13:35 per cold start.

Key points

  • Roughly 36 GB of weights streamed from Blob in 80 s (~450 MB/s), against 171 s for the download-to-disk path.
  • Baking weights into the image was slowest on a new node: a 564 s pull of a 39.6 GB image and 20:12 total.
  • About 65% of the streamed cold start (527 of 815 s) went to node provisioning and engine initialisation.
  • The Run:ai Model Streamer ships in vLLM behind `--load-format runai_streamer`; Azure Blob works from vLLM v0.18.0 and runai-model-streamer v0.15.6.
  • Only two of the eight cold-start phases, image pull and weight transfer, depend on where the weights live.
  • A baked image wins warm restarts at 271 s, but only on a node that still holds its image cache.

Why it matters

Most .NET teams do not run vLLM themselves, but many own the AKS platform that does, and these numbers reframe a familiar trade-off: a GPU node costs about 21 times a CPU node per hour, so nobody keeps one idle and the cold start lands on the request path. Treat the single-run timings as a direction and rerun them for your storage tier.

Two things to check before adopting: the streamer reads safetensors only, so .bin and GGUF checkpoints need conversion, and the test used a storage account key where production wants Workload ID. Compare the concurrency setting with the blob tier you actually use.

Real-world use

  • A GPU node pool that scales to zero for a large or frequently updated model, where every scale-out lands on a fresh node.
  • A runtime that cannot stream from object storage, such as Hugging Face TEI, which needs files staged on local disk by an init container.
  • A small model on an always-on GPU node with frequent pod restarts, where a cached image gives the quickest restart.

This summary was generated by the agent from the original post on Azure Developer Community Blog. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message