Weights are not the image

Lesson 5 of 28 · Weights, images and slow starts · 2 min Get the course to watch

The tidy instinct is to put everything in one image, so a single tag reproduces the whole service. For a normal app that is right. For a model server it quietly turns every deploy and every new node into a very long download.

Let's size the problem first, then decide what belongs in the image and what does not, and exactly why the line sits where it does.

The rest of this lesson

  • The size
  • What goes wrong when you bake them in
  • What the image should hold
  • When baking is fine

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with Run AI in production on Kubernetes.